Update web-platform-tests to revision b382ac7192087da0a7439902e20be76ab7587ee8

This commit is contained in:
WPT Sync Bot 2018-08-10 21:31:07 -04:00
parent 3e96a322ae
commit defee2aae0
45 changed files with 645 additions and 189 deletions

View file

@ -0,0 +1,13 @@
// META: global=window,dedicatedworker,sharedworker,serviceworker
test(t => {
// Test for object that's only exposed in serviceworker
if (self.clients) {
assert_true(self.isSecureContext);
assert_equals(location.protocol, "https:");
} else {
assert_false(self.isSecureContext);
assert_equals(location.protocol, "http:");
}
});
done();