mirror of
https://github.com/servo/servo.git
synced 2025-10-14 23:40:26 +01:00
Update web-platform-tests to revision eb12303bec1d47bbe91ebf011d17d81ec6fce68d
This commit is contained in:
parent
6ca767d7f9
commit
916ba6ef4d
467 changed files with 6716 additions and 1478 deletions
|
@ -1,7 +1,8 @@
|
|||
// META: global=!default,window,serviceworker
|
||||
|
||||
test(() => {
|
||||
const sab = new SharedArrayBuffer(16);
|
||||
// See https://github.com/whatwg/html/issues/5380 for why not `new SharedArrayBuffer()`
|
||||
const sab = new WebAssembly.Memory({ shared:true, initial:1, maximum:1 }).buffer;
|
||||
const ta = new Int32Array(sab);
|
||||
|
||||
assert_throws_js(TypeError, () => {
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
// META: global=!default,dedicatedworker,sharedworker
|
||||
|
||||
test(() => {
|
||||
const sab = new SharedArrayBuffer(16);
|
||||
// See https://github.com/whatwg/html/issues/5380 for why not `new SharedArrayBuffer()`
|
||||
const sab = new WebAssembly.Memory({ shared:true, initial:1, maximum:1 }).buffer;
|
||||
const ta = new Int32Array(sab);
|
||||
|
||||
assert_equals(Atomics.wait(ta, 0, 0, 10), "timed-out");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue