| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ Last update: | |||
| 27 | 27 | - streams: https://github.com/web-platform-tests/wpt/tree/8f60d94439/streams | |
| 28 | 28 | - url: https://github.com/web-platform-tests/wpt/tree/0e5b126cd0/url | |
| 29 | 29 | - user-timing: https://github.com/web-platform-tests/wpt/tree/df24fb604e/user-timing | |
| 30 | - - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/1dd414c796/wasm/jsapi | ||
| 30 | + - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/d8dbe6990b/wasm/jsapi | ||
| 31 | 31 | - wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi | |
| 32 | 32 | - WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/cdd0f03df4/WebCryptoAPI | |
| 33 | 33 | - webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/a370aad338/webidl/ecmascript-binding/es-exceptions | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -68,7 +68,7 @@ | |||
| 68 | 68 | "path": "user-timing" | |
| 69 | 69 | }, | |
| 70 | 70 | "wasm/jsapi": { | |
| 71 | - "commit": "1dd414c79616489ea021c800eb0375a709e8114e", | ||
| 71 | + "commit": "d8dbe6990bed03ec03beee25069a9347d4c3d6d5", | ||
| 72 | 72 | "path": "wasm/jsapi" | |
| 73 | 73 | }, | |
| 74 | 74 | "wasm/webapi": { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -87,6 +87,11 @@ test(() => { | |||
| 87 | 87 | } | |
| 88 | 88 | }, "Invalid type argument"); | |
| 89 | 89 | ||
| 90 | + test(() => { | ||
| 91 | + const argument = { "value": "v128" }; | ||
| 92 | + assert_throws_js(TypeError, () => new WebAssembly.Global(argument)); | ||
| 93 | + }, "Construct v128 global"); | ||
| 94 | + | ||
| 90 | 95 | test(() => { | |
| 91 | 96 | const argument = { "value": "i64" }; | |
| 92 | 97 | const global = new WebAssembly.Global(argument); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,12 +50,12 @@ test(() => { | |||
| 50 | 50 | }, "externref, immutable") | |
| 51 | 51 | ||
| 52 | 52 | test(() => { | |
| 53 | - assert_type({"value": "anyfunc", "mutable": true}) | ||
| 54 | - }, "anyfunc, mutable") | ||
| 53 | + assert_type({"value": "funcref", "mutable": true}) | ||
| 54 | + }, "funcref, mutable") | ||
| 55 | 55 | ||
| 56 | 56 | test(() => { | |
| 57 | - assert_type({"value": "anyfunc", "mutable": false}) | ||
| 58 | - }, "anyfunc, immutable") | ||
| 57 | + assert_type({"value": "funcref", "mutable": false}) | ||
| 58 | + }, "funcref, immutable") | ||
| 59 | 59 | ||
| 60 | 60 | test(() => { | |
| 61 | 61 | const myglobal = new WebAssembly.Global({"value": "i32", "mutable": true}); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,17 +10,17 @@ function assert_type(argument) { | |||
| 10 | 10 | } | |
| 11 | 11 | ||
| 12 | 12 | test(() => { | |
| 13 | - assert_type({ "minimum": 0, "element": "anyfunc"}); | ||
| 13 | + assert_type({ "minimum": 0, "element": "funcref"}); | ||
| 14 | 14 | }, "Zero initial, no maximum"); | |
| 15 | 15 | ||
| 16 | 16 | test(() => { | |
| 17 | - assert_type({ "minimum": 5, "element": "anyfunc" }); | ||
| 17 | + assert_type({ "minimum": 5, "element": "funcref" }); | ||
| 18 | 18 | }, "Non-zero initial, no maximum"); | |
| 19 | 19 | ||
| 20 | 20 | test(() => { | |
| 21 | - assert_type({ "minimum": 0, "maximum": 0, "element": "anyfunc" }); | ||
| 21 | + assert_type({ "minimum": 0, "maximum": 0, "element": "funcref" }); | ||
| 22 | 22 | }, "Zero maximum"); | |
| 23 | 23 | ||
| 24 | 24 | test(() => { | |
| 25 | - assert_type({ "minimum": 0, "maximum": 5, "element": "anyfunc" }); | ||
| 25 | + assert_type({ "minimum": 0, "maximum": 5, "element": "funcref" }); | ||
| 26 | 26 | }, "Non-zero maximum"); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments