mirror of
https://github.com/servo/servo.git
synced 2025-10-04 10:39:16 +01:00
9 lines
235 B
JavaScript
9 lines
235 B
JavaScript
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();
|