summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/assumptions/non-secure-context.any.js
blob: c05689fe76012e93e607baa9a05e7ca0efe45103 (plain)
1
2
3
4
5
6
7
8
9
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();