mirror of
https://github.com/servo/servo
synced 2026-05-13 18:37:30 +02:00
11 lines
301 B
JavaScript
11 lines
301 B
JavaScript
// META: global=window,dedicatedworker,sharedworker,serviceworker
|
|
test(() => {
|
|
assert_true(self.isSecureContext);
|
|
}, "Use of .https file name flag implies secure context");
|
|
|
|
test(() => {
|
|
assert_equals(location.protocol, "https:");
|
|
}, "Use of .https file name flag implies HTTPS scheme");
|
|
|
|
done();
|