mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision 3efff9b2d66aed3d8e2061205069883fd54df2be
This commit is contained in:
parent
9832feddf3
commit
f80ff24202
51 changed files with 1026 additions and 868 deletions
|
@ -1,5 +1,4 @@
|
|||
// META: global=jsshell
|
||||
// META: script=/wasm/jsapi/wasm-constants.js
|
||||
// META: script=/wasm/jsapi/wasm-module-builder.js
|
||||
// META: script=/wasm/jsapi/assertions.js
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// META: global=jsshell
|
||||
// META: script=/wasm/jsapi/wasm-constants.js
|
||||
// META: script=/wasm/jsapi/wasm-module-builder.js
|
||||
|
||||
function assert_ArrayBuffer(buffer, expected) {
|
||||
|
@ -97,7 +96,7 @@ test(() => {
|
|||
});
|
||||
|
||||
const builder = new WasmModuleBuilder();
|
||||
builder.addExplicitSection(binary);
|
||||
builder.addExplicitSection(binary.trunc_buffer());
|
||||
const buffer = builder.toBuffer()
|
||||
const module = new WebAssembly.Module(buffer);
|
||||
|
||||
|
@ -127,7 +126,7 @@ test(() => {
|
|||
});
|
||||
|
||||
const builder = new WasmModuleBuilder();
|
||||
builder.addExplicitSection(binary);
|
||||
builder.addExplicitSection(binary.trunc_buffer());
|
||||
const buffer = builder.toBuffer();
|
||||
const module = new WebAssembly.Module(buffer);
|
||||
|
||||
|
@ -148,7 +147,7 @@ test(() => {
|
|||
});
|
||||
|
||||
const builder = new WasmModuleBuilder();
|
||||
builder.addExplicitSection(binary);
|
||||
builder.addExplicitSection(binary.trunc_buffer());
|
||||
const buffer = builder.toBuffer();
|
||||
const module = new WebAssembly.Module(buffer);
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// META: global=jsshell
|
||||
// META: script=/wasm/jsapi/wasm-constants.js
|
||||
// META: script=/wasm/jsapi/wasm-module-builder.js
|
||||
|
||||
let emptyModuleBinary;
|
||||
|
@ -99,7 +98,7 @@ test(() => {
|
|||
.addBody([])
|
||||
.exportFunc();
|
||||
|
||||
builder.setTableLength(1);
|
||||
builder.setTableBounds(1);
|
||||
builder.addExportOfKind("table", kExternalTable, 0);
|
||||
|
||||
builder.addGlobal(kWasmI32, true)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// META: global=jsshell
|
||||
// META: script=/wasm/jsapi/wasm-constants.js
|
||||
// META: script=/wasm/jsapi/wasm-module-builder.js
|
||||
|
||||
function assert_ModuleImportDescriptor(import_, expected) {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// META: global=jsshell
|
||||
// META: script=/wasm/jsapi/wasm-constants.js
|
||||
// META: script=/wasm/jsapi/wasm-module-builder.js
|
||||
|
||||
test(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue