mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision 9a4d479ed1347eb9184abc70d628a6da2297657a
This commit is contained in:
parent
b6cc0f60a9
commit
effeb278b6
120 changed files with 3731 additions and 298 deletions
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>KV Storage: should not work in non-secure contexts when included via a script element</title>
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
test(() => {
|
||||
assert_false(self.isSecureContext, "This test must run in a non-secure context");
|
||||
}, "Prerequisite check");
|
||||
|
||||
window.t = async_test("Check the events");
|
||||
</script>
|
||||
|
||||
<script type="module"
|
||||
src="std:kv-storage"
|
||||
onload="t.step(() => { assert_unreached('load event fired'); })"
|
||||
onerror="t.done()">
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue