CI builds fail on all platforms with "ReferenceError: Can't find variable: WebAssembly"

# Eike Rathke (5 days ago)

our CI builds keep failing on all platforms with the following messages:

Running stress/web-assembly-constructors-should-not-override-global-object-property.js.default Running stress/web-assembly-constructors-should-not-override-global-object-property.js.mini-mode stress/web-assembly-constructors-should-not-override-global-object-property.js.mini-mode: Exception: ReferenceError: Can't find variable: WebAssembly stress/web-assembly-constructors-should-not-override-global-object-property.js.mini-mode: global code at web-assembly-constructors-should-not-override-global-object-property.js:2:12 stress/web-assembly-constructors-should-not-override-global-object-property.js.default: Exception: ReferenceError: Can't find variable: WebAssembly stress/web-assembly-constructors-should-not-override-global-object-property.js.default: global code at web-assembly-constructors-should-not-override-global-object-property.js:2:12 stress/web-assembly-constructors-should-not-override-global-object-property.js.default: ERROR: Unexpected exit code: 3 FAIL: stress/web-assembly-constructors-should-not-override-global-object-property.js.default stress/web-assembly-constructors-should-not-override-global-object-property.js.mini-mode: ERROR: Unexpected exit code: 3 FAIL: stress/web-assembly-constructors-should-not-override-global-object-property.js.mini-mode

The exceptions look quite similar to the output given at bugs.webkit.org/show_bug.cgi?id=192020

Eike

Contact us to advertise here
# Saam Barati (5 days ago)

Those tests should be checking if WebAssembly is enabled at all before running the test. Something like: if (this.WebAssembly) { ... put test here ... }

Feel free to post a patch and I can review it.

# Mark Lam (5 days ago)

I’m about to move it into JSTests/wasm/stress. See bugs.webkit.org/show_bug.cgi?id=201551, bugs.webkit.org/show_bug.cgi?id=201551.

Want more features?

Request early access to our private beta of readable email premium.