Update web-platform-tests to revision eb12303bec1d47bbe91ebf011d17d81ec6fce68d

This commit is contained in:
WPT Sync Bot 2020-03-25 08:18:42 +00:00
parent 6ca767d7f9
commit 916ba6ef4d
467 changed files with 6716 additions and 1478 deletions

View file

@ -28,13 +28,15 @@ const badChunks = [
// Use a getter to postpone construction so that all tests don't fail where
// SharedArrayBuffer is not yet implemented.
get value() {
return new SharedArrayBuffer();
// See https://github.com/whatwg/html/issues/5380 for why not `new SharedArrayBuffer()`
return new WebAssembly.Memory({ shared:true, initial:1, maximum:1 }).buffer;
}
},
{
name: 'shared Uint8Array',
get value() {
return new Uint8Array(new SharedArrayBuffer())
// See https://github.com/whatwg/html/issues/5380 for why not `new SharedArrayBuffer()`
return new Uint8Array(new WebAssembly.Memory({ shared:true, initial:1, maximum:1 }).buffer)
}
},
];