Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /infrastructure/assumptions/non-secure-context.any.html - WPT Dashboard Interop Dashboard
- /infrastructure/assumptions/non-secure-context.any.worker.html - WPT Dashboard Interop Dashboard
test(() => {
assert_false(self.isSecureContext);
}, "Lack of .https file name flag implies non-secure context");
test(() => {
assert_equals(location.protocol, "http:");
}, "Lack of .https file name flag implies HTTP scheme");
done();