This is a testharness.js-based test.
PASS General setup 
PASS Set location.protocol = location.protocol 
PASS Set location.protocol to http:gunk 
Harness: the test ran to completion.

