Closed Bug 1526694 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15276 - [wasm] update js-api test runner

Categories

(Core :: JavaScript: WebAssembly, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15276 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15276
Details from upstream follow.

Sven Sauleau <ssauleau@igalia.com> wrote:

[wasm] update js-api test runner

wasm-module-builder:

  • consistently adds the end opcode in function
    bodies (using addBody).
  • add missing setTableLength method

table/get-set:

  • Avoid unrelated errors like: Cannot destructure
    property fn of 'undefined' or 'null'.

Bug: 926311
Change-Id: Ia7db1ee5c3a9b1c1d6092cdce8885ddee4dd9b0e

Reviewed-on: https://chromium-review.googlesource.com/1458099
WPT-Export-Revision: 5cf32f05dd88058d2d338c437e929d3fc4f2359f

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Javascript: Web Assembly
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 58 tests and 1030 subtests
OK     : 44
PASS   : 1028
FAIL   : 2

Tests that are disabled for instability:
/wasm/jsapi/constructor/compile.any.js
/wasm/jsapi/constructor/instantiate-bad-imports.any.js
/wasm/jsapi/constructor/instantiate.any.js
/wasm/jsapi/constructor/validate.any.js
/wasm/jsapi/instance/constructor-bad-imports.any.js
/wasm/jsapi/instance/constructor.any.js
/wasm/jsapi/instance/exports.any.js
/wasm/jsapi/instance/toString.any.js
/wasm/jsapi/module/constructor.any.js
/wasm/jsapi/module/customSections.any.js
/wasm/jsapi/module/exports.any.js
/wasm/jsapi/module/imports.any.js
/wasm/jsapi/module/toString.any.js
/wasm/jsapi/table/get-set.any.js
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/64cc60d52a04
[wpt PR 15276] - [wasm] update js-api test runner and expectations, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/0ce1a5521d6f
[wpt PR 15276] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4459ceba3a05
[wpt PR 15276] - [wasm] update js-api test runner and expectations, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/13b19dc8a8f2
[wpt PR 15276] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.