Changeset 272074 in webkit
- Timestamp:
- Jan 29, 2021 12:59:35 PM (18 months ago)
- Location:
- trunk
- Files:
-
- 11 edited
-
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/constructor-reftypes.tentative.any-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/constructor.any-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/constructor.any.worker-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/get-set.any-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/get-set.any.worker-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/grow-reftypes.tentative.any-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/set-reftypes.tentative.any-expected.txt (modified) (1 diff)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/runtime/OptionsList.h (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/Scripts/run-jsc-stress-tests (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/constructor-reftypes.tentative.any-expected.txt
r271774 r272074 1 1 2 FAIL initialize externref table with default value assert_equals: expected object "[object Object]" but got null 2 PASS initialize externref table with default value 3 3 PASS initialize table with a wrong element value 4 FAIL initialize anyfunc table with default value assert_equals: expected (function) function "function 0() { 5 [native code] 6 }" but got (object) null 7 FAIL initialize anyfunc table with a bad default value assert_throws_js: function "() => new WebAssembly.Table(argument, {})" did not throw 4 PASS initialize anyfunc table with default value 5 PASS initialize anyfunc table with a bad default value 8 6 -
trunk/LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/constructor.any-expected.txt
r267649 r272074 23 23 PASS Basic (zero) 24 24 PASS Basic (non-zero) 25 PASS Stray argument 25 FAIL Stray argument WebAssembly.Table.prototype.constructor expects the second argument to be null or an instance of WebAssembly.Function 26 26 PASS Proxy descriptor 27 27 PASS Type conversion for descriptor.element -
trunk/LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/constructor.any.worker-expected.txt
r267649 r272074 23 23 PASS Basic (zero) 24 24 PASS Basic (non-zero) 25 PASS Stray argument 25 FAIL Stray argument WebAssembly.Table.prototype.constructor expects the second argument to be null or an instance of WebAssembly.Function 26 26 PASS Proxy descriptor 27 27 PASS Type conversion for descriptor.element -
trunk/LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/get-set.any-expected.txt
r267649 r272074 2 2 PASS Missing arguments: get 3 3 PASS Branding: get 4 PASS Missing arguments: set 4 FAIL Missing arguments: set assert_throws_js: function "() => table.set(0)" did not throw 5 5 PASS Branding: set 6 6 PASS Basic -
trunk/LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/get-set.any.worker-expected.txt
r267649 r272074 2 2 PASS Missing arguments: get 3 3 PASS Branding: get 4 PASS Missing arguments: set 4 FAIL Missing arguments: set assert_throws_js: function "() => table.set(0)" did not throw 5 5 PASS Branding: set 6 6 PASS Basic -
trunk/LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/grow-reftypes.tentative.any-expected.txt
r271112 r272074 1 1 2 FAIL Grow with exported-function argument assert_equals: expected (function) function "function 0() { 3 [native code] 4 }" but got (object) null 5 FAIL Grow with non-function argument assert_throws_js: function "() => table.grow(2, {})" did not throw 6 FAIL Grow with JS-function argument assert_throws_js: function "() => table.grow(2, () => true)" did not throw 2 PASS Grow with exported-function argument 3 PASS Grow with non-function argument 4 PASS Grow with JS-function argument 7 5 -
trunk/LayoutTests/imported/w3c/web-platform-tests/wasm/jsapi/table/set-reftypes.tentative.any-expected.txt
r271774 r272074 1 1 2 FAIL Arguments for anyfunc table set assert_equals: expected (function) function "function 0() { 3 [native code] 4 }" but got (object) null 5 FAIL Arguments for externref table set assert_equals: expected object "[object Object]" but got null 2 PASS Arguments for anyfunc table set 3 PASS Arguments for externref table set 6 4 -
trunk/Source/JavaScriptCore/ChangeLog
r272071 r272074 1 2021-01-29 Dmitry Bezhetskov <dbezhetskov@igalia.com> 2 3 [WASM-References] Enable reference types by default 4 https://bugs.webkit.org/show_bug.cgi?id=220890 5 6 Reviewed by Yusuke Suzuki. 7 8 Enable wasm reference types by default. 9 10 * runtime/OptionsList.h: 11 1 12 2021-01-29 Dmitry Bezhetskov <dbezhetskov@igalia.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/OptionsList.h
r271993 r272074 484 484 v(Bool, useWebAssemblyStreaming, true, Normal, "Allow to run WebAssembly's Streaming API") \ 485 485 v(Bool, useEagerWebAssemblyModuleHashing, false, Normal, "Unnamed WebAssembly modules are identified in backtraces through their hash, if available.") \ 486 v(Bool, useWebAssemblyReferences, false, Normal, "Allow types from the wasm references spec.") \486 v(Bool, useWebAssemblyReferences, true, Normal, "Allow types from the wasm references spec.") \ 487 487 v(Bool, useWebAssemblyMultiValues, true, Normal, "Allow types from the wasm mulit-values spec.") \ 488 488 v(Bool, useWebAssemblyThreading, true, Normal, "Allow instructions from the wasm threading spec.") \ -
trunk/Tools/ChangeLog
r272067 r272074 1 2021-01-29 Dmitry Bezhetskov <dbezhetskov@igalia.com> 2 3 [WASM-References] Enable reference types by default 4 https://bugs.webkit.org/show_bug.cgi?id=220890 5 6 Reviewed by Yusuke Suzuki. 7 8 Enable wasm reference types by default. 9 10 * Scripts/run-jsc-stress-tests: 11 1 12 2021-01-29 Andres Gonzalez <andresg_22@apple.com> 2 13 -
trunk/Tools/Scripts/run-jsc-stress-tests
r272056 r272074 1298 1298 1299 1299 def runWebAssemblySpecTest(mode) 1300 runWebAssemblySpecTestBase(mode, "spec-harness" )1300 runWebAssemblySpecTestBase(mode, "spec-harness", "--useWebAssemblyReferences=false") 1301 1301 end 1302 1302
Note: See TracChangeset
for help on using the changeset viewer.