mirror of
https://github.com/servo/servo.git
synced 2025-07-01 20:43:39 +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();
|