mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f
This commit is contained in:
parent
0964d055cd
commit
7295abcc2a
245 changed files with 5966 additions and 1901 deletions
|
@ -68,6 +68,10 @@ promise_test(() => {
|
|||
return WebAssembly.compile(emptyModuleBinary).then(assert_Module);
|
||||
}, "Result type");
|
||||
|
||||
promise_test(() => {
|
||||
return WebAssembly.compile(emptyModuleBinary, {}).then(assert_Module);
|
||||
}, "Stray argument");
|
||||
|
||||
promise_test(() => {
|
||||
const buffer = new WasmModuleBuilder().toBuffer();
|
||||
assert_equals(buffer[0], 0);
|
||||
|
|
|
@ -94,3 +94,7 @@ for (const [module, expected] of modules) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
test(() => {
|
||||
assert_true(WebAssembly.validate(emptyModuleBinary, {}));
|
||||
}, "Stray argument");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue