mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc
This commit is contained in:
parent
305312e93b
commit
4499a0fbb6
151 changed files with 4858 additions and 2407 deletions
|
@ -1,28 +0,0 @@
|
|||
[
|
||||
{
|
||||
"id": "definitions-0",
|
||||
"original_id": "definitions-0"
|
||||
},
|
||||
{
|
||||
"id": "calling-scripts",
|
||||
"original_id": "calling-scripts"
|
||||
},
|
||||
{
|
||||
"id": "creating-scripts",
|
||||
"original_id": "creating-scripts"
|
||||
},
|
||||
{
|
||||
"id": "killing-scripts",
|
||||
"original_id": "killing-scripts"
|
||||
},
|
||||
{
|
||||
"id": "runtime-script-errors",
|
||||
"original_id": "runtime-script-errors",
|
||||
"children": [
|
||||
{
|
||||
"id": "runtime-script-errors-in-documents",
|
||||
"original_id": "runtime-script-errors-in-documents"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
|
@ -1,13 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>[[CanBlock]] in a dedicated worker agent</title>
|
||||
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dedicated-worker-agent">
|
||||
<link rel="help" href="https://tc39.github.io/ecma262/#sec-agentcansuspend">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
fetch_tests_from_worker(new Worker("worker-that-requires-success.js"));
|
||||
</script>
|
|
@ -1,14 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>[[CanBlock]] in a service worker agent</title>
|
||||
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#service-worker-agent">
|
||||
<link rel="help" href="https://tc39.github.io/ecma262/#sec-agentcansuspend">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
service_worker_test("worker-that-requires-failure.js", "Service worker test setup");
|
||||
</script>
|
|
@ -1,13 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>[[CanBlock]] in a shared worker agent</title>
|
||||
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#shared-worker-agent">
|
||||
<link rel="help" href="https://tc39.github.io/ecma262/#sec-agentcansuspend">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
fetch_tests_from_worker(new SharedWorker("worker-that-requires-success.js"));
|
||||
</script>
|
|
@ -1,21 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>[[CanBlock]] in a similar-origin window agent</title>
|
||||
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#similar-origin-window-agent">
|
||||
<link rel="help" href="https://tc39.github.io/ecma262/#sec-agentcansuspend">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
|
||||
const sab = new SharedArrayBuffer(16);
|
||||
const ta = new Int32Array(sab);
|
||||
|
||||
assert_throws(new TypeError(), () => {
|
||||
Atomics.wait(ta, 0, 0, 10);
|
||||
}, "Atomics.wait must throw in a window context");
|
||||
|
||||
done();
|
||||
</script>
|
|
@ -1,5 +1,4 @@
|
|||
"use strict";
|
||||
importScripts("/resources/testharness.js");
|
||||
// META: global=!default,window,serviceworker
|
||||
|
||||
test(() => {
|
||||
const sab = new SharedArrayBuffer(16);
|
||||
|
@ -9,5 +8,3 @@ test(() => {
|
|||
Atomics.wait(ta, 0, 0, 10);
|
||||
});
|
||||
}, `[[CanBlock]] in a ${self.constructor.name}`);
|
||||
|
||||
done();
|
|
@ -1,5 +1,4 @@
|
|||
"use strict";
|
||||
importScripts("/resources/testharness.js");
|
||||
// META: global=!default,dedicatedworker,sharedworker
|
||||
|
||||
test(() => {
|
||||
const sab = new SharedArrayBuffer(16);
|
||||
|
@ -7,5 +6,3 @@ test(() => {
|
|||
|
||||
assert_equals(Atomics.wait(ta, 0, 0, 10), "timed-out");
|
||||
}, `[[CanBlock]] in a ${self.constructor.name}`);
|
||||
|
||||
done();
|
Loading…
Add table
Add a link
Reference in a new issue