[WASM-References] Fix data section parsing and add more tests from ref-types
Created attachment 416931 [details] Patch
Comment on attachment 416931 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=416931&action=review r=me with comment. > Source/JavaScriptCore/wasm/WasmSectionParser.cpp:747 > + const char* errorMessage = Options::useWebAssemblyReferences() ? "th Data segment's flag" : "th Data segment's index"; I think we should just throw an error with `"th Data segment's flag"`.
Created attachment 416971 [details] Patch
Committed r271141: <https://trac.webkit.org/changeset/271141> All reviewed patches have been landed. Closing bug and clearing flags on attachment 416971 [details].
<rdar://problem/72802112>