mirror of
https://github.com/servo/servo
synced 2026-05-14 10:56:44 +02:00
10 lines
235 B
JavaScript
10 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();
|