non-secure-context.any.js (240B)
1 test(() => { 2 assert_false(self.isSecureContext); 3 }, "Lack of .https file name flag implies non-secure context"); 4 5 test(() => { 6 assert_equals(location.protocol, "http:"); 7 }, "Lack of .https file name flag implies HTTP scheme"); 8 9 done();