Sign in
chromium
/
external
/
github.com
/
web-platform-tests
/
wpt
/
refs/heads/pyannotate-runtime-old
/
.
/
infrastructure
/
server
/
secure-context.https.any.js
blob: 99f6c4c0894c4c78c5e104c1dea6f49a94d5543c [
file
] [
log
] [
blame
] [
edit
]
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
();