Enable wasm tests.

This commit is contained in:
Josh Matthews 2018-09-10 12:46:24 -04:00
parent f37124563b
commit 4482ccc52d
32 changed files with 1795 additions and 0 deletions

View file

@ -0,0 +1,45 @@
[compile.any.worker.html]
[Invalid arguments]
expected: FAIL
[Invalid code]
expected: FAIL
[Branding]
expected: FAIL
[Missing argument]
expected: FAIL
[Result type]
expected: FAIL
[Promise type]
expected: FAIL
[Changing the buffer]
expected: FAIL
[compile.any.html]
[Invalid arguments]
expected: FAIL
[Invalid code]
expected: FAIL
[Branding]
expected: FAIL
[Missing argument]
expected: FAIL
[Result type]
expected: FAIL
[Promise type]
expected: FAIL
[Changing the buffer]
expected: FAIL

View file

@ -0,0 +1,179 @@
[instantiate-bad-imports.any.html]
expected: ERROR
[WebAssembly.instantiate(module): Non-object module: NaN]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: null]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: null]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: 0.1]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: undefined]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: 1]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: symbol "Symbol()"]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: ""]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: ""]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: true]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: symbol "Symbol()"]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: 1]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: symbol "Symbol()"]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: object "[object Object\]"]
expected: FAIL
[WebAssembly.instantiate(module): Importing an i64 global]
expected: FAIL
[WebAssembly.instantiate(module): Imports argument with missing property: empty object]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: true]
expected: FAIL
[WebAssembly.instantiate(module): Imports argument with missing property: wrong property]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: 1]
expected: FAIL
[WebAssembly.instantiate(module): Imports argument with missing property: undefined]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: NaN]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: null]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: true]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: 0.1]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: NaN]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: undefined]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: ""]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: 0.1]
expected: FAIL
[WebAssembly.instantiate(module): Missing imports argument]
expected: FAIL
[instantiate-bad-imports.any.worker.html]
expected: ERROR
[WebAssembly.instantiate(module): Non-object module: NaN]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: null]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: null]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: 0.1]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: undefined]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: 1]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: symbol "Symbol()"]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: ""]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: ""]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: true]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: symbol "Symbol()"]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: 1]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: symbol "Symbol()"]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: object "[object Object\]"]
expected: FAIL
[WebAssembly.instantiate(module): Importing an i64 global]
expected: FAIL
[WebAssembly.instantiate(module): Imports argument with missing property: empty object]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: true]
expected: FAIL
[WebAssembly.instantiate(module): Imports argument with missing property: wrong property]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: 1]
expected: FAIL
[WebAssembly.instantiate(module): Imports argument with missing property: undefined]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: NaN]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: null]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: true]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: 0.1]
expected: FAIL
[WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: NaN]
expected: FAIL
[WebAssembly.instantiate(module): Non-object module: undefined]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: ""]
expected: FAIL
[WebAssembly.instantiate(module): Non-object imports argument: 0.1]
expected: FAIL
[WebAssembly.instantiate(module): Missing imports argument]
expected: FAIL

View file

@ -0,0 +1,63 @@
[instantiate.any.html]
[Invalid arguments]
expected: FAIL
[exports and imports: buffer argument]
expected: FAIL
[Invalid code]
expected: FAIL
[BufferSource argument]
expected: FAIL
[Branding]
expected: FAIL
[Missing arguments]
expected: FAIL
[exports and imports: Module argument]
expected: FAIL
[Module argument]
expected: FAIL
[Changing the buffer]
expected: FAIL
[Promise type]
expected: FAIL
[instantiate.any.worker.html]
[Invalid arguments]
expected: FAIL
[exports and imports: buffer argument]
expected: FAIL
[Invalid code]
expected: FAIL
[BufferSource argument]
expected: FAIL
[Branding]
expected: FAIL
[Missing arguments]
expected: FAIL
[exports and imports: Module argument]
expected: FAIL
[Module argument]
expected: FAIL
[Changing the buffer]
expected: FAIL
[Promise type]
expected: FAIL