Closed Bug 1770634 Opened 2 years ago Closed 2 years ago

Perma SM wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]

Categories

(Core :: JavaScript: WebAssembly, defect, P5)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- unaffected
firefox102 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: rhunt)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=378895538&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/blLrBfv-QUyFqHMJN0hAFw/runs/0/artifacts/public/logs/live_backing.log


[task 2022-05-22T09:21:45.678Z] ## wasm/jsapi/global/constructor.any.js: rc = 0, run time = 0.224109
[task 2022-05-22T09:21:45.678Z] 
[task 2022-05-22T09:21:45.678Z] Harness status: OK (Reported by harness: None)
[task 2022-05-22T09:21:45.678Z] Subtest "name": as expected: PASS
[task 2022-05-22T09:21:45.678Z] Subtest "length": as expected: PASS
[task 2022-05-22T09:21:45.678Z] Subtest "No arguments": as expected: PASS
[task 2022-05-22T09:21:45.678Z] Subtest "Calling": as expected: PASS
[task 2022-05-22T09:21:45.678Z] Subtest "Order of evaluation": as expected: PASS
[task 2022-05-22T09:21:45.678Z] Subtest "Invalid descriptor argument": as expected: PASS
[task 2022-05-22T09:21:45.678Z] Subtest "Invalid type argument": as expected: PASS
[task 2022-05-22T09:21:45.678Z] Subtest "Construct v128 global": expected FAIL, found PASS
[task 2022-05-22T09:21:45.679Z] Subtest "i64 with default": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Default value for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value undefined for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value null for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value true for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value false for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value 2 for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value "3" for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value object with toString returning string for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value object with valueOf returning string for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value object with toString returning number for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value object with valueOf returning number for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "BigInt value for type i32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Default value for type f32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value undefined for type f32": as expected: PASS
[task 2022-05-22T09:21:45.679Z] Subtest "Explicit value null for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value true for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value false for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value 2 for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value "3" for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value object with toString returning string for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value object with valueOf returning string for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value object with toString returning number for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value object with valueOf returning number for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "BigInt value for type f32": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Default value for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value undefined for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value null for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value true for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value false for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value 2 for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value "3" for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value object with toString returning string for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value object with valueOf returning string for type f64": as expected: PASS
[task 2022-05-22T09:21:45.680Z] Subtest "Explicit value object with toString returning number for type f64": as expected: PASS
[task 2022-05-22T09:21:45.681Z] Subtest "Explicit value object with valueOf returning number for type f64": as expected: PASS
[task 2022-05-22T09:21:45.681Z] Subtest "BigInt value for type f64": as expected: PASS
[task 2022-05-22T09:21:45.681Z] Subtest "Explicit value undefined for type i64": as expected: PASS
[task 2022-05-22T09:21:45.681Z] Subtest "Explicit value true for type i64": as expected: PASS
[task 2022-05-22T09:21:45.681Z] Subtest "Explicit value false for type i64": as expected: PASS
[task 2022-05-22T09:21:45.681Z] Subtest "Explicit value "3" for type i64": as expected: PASS
[task 2022-05-22T09:21:45.682Z] Subtest "Explicit value bigint "123" for type i64": as expected: PASS
[task 2022-05-22T09:21:45.682Z] Subtest "Explicit value object with toString returning string for type i64": as expected: PASS
[task 2022-05-22T09:21:45.683Z] Subtest "Explicit value object with valueOf returning string for type i64": as expected: PASS
[task 2022-05-22T09:21:45.683Z] Subtest "Explicit value object with toString returning bigint for type i64": as expected: PASS
[task 2022-05-22T09:21:45.684Z] Subtest "Explicit value object with valueOf returning bigint for type i64": as expected: PASS
[task 2022-05-22T09:21:45.685Z] Subtest "Pass non-bigint as i64 Global value: null": as expected: PASS
[task 2022-05-22T09:21:45.686Z] Subtest "Pass non-bigint as i64 Global value: 666": as expected: PASS
[task 2022-05-22T09:21:45.687Z] Subtest "Pass non-bigint as i64 Global value: object "5"": as expected: PASS
[task 2022-05-22T09:21:45.688Z] Subtest "Pass non-bigint as i64 Global value: object "[object Object]"": as expected: PASS
[task 2022-05-22T09:21:45.688Z] Subtest "Pass non-bigint as i64 Global value: symbol "Symbol()"": as expected: PASS
[task 2022-05-22T09:21:45.688Z] Subtest "Stray argument": as expected: PASS
[task 2022-05-22T09:21:45.688Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.688Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.688Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.689Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.689Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.689Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.689Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.689Z] TEST-UNEXPECTED-FAIL | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.689Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.689Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]
[task 2022-05-22T09:21:45.689Z] TEST-PASS | wasm/jsapi/global/constructor.any.js | (args: "") [0.2 s]

Flags: needinfo?(rhunt)

If this is implemented everywhere the patch is something like

iff --git a/testing/web-platform/meta/wasm/jsapi/global/constructor.any.js.ini b/testing/web-platform/meta/wasm/jsapi/global/constructor.any.js.ini
index 07322f7322859..c115137aa990b 100644
--- a/testing/web-platform/meta/wasm/jsapi/global/constructor.any.js.ini
+++ b/testing/web-platform/meta/wasm/jsapi/global/constructor.any.js.ini
@@ -6,8 +6,3 @@
 [constructor.any.html]
   [Construct v128 global]
     expected: FAIL
-
-
-[constructor.any.js]
-  [Construct v128 global]
-    expected: FAIL

If it's platform-specific then the expected value needs to be conditional in some way.

Set release status flags based on info from the regressing bug 1769536

Has Regression Range: --- → yes

This is probably because we don't support SIMD on arm32? Would be good to fix this perma-failure soon...

Assignee: nobody → rhunt
Flags: needinfo?(rhunt)

The WPT test here is correct wrt to the spec, so we should be passing it. We only pass it on ARM32 with SIMD disabled, but with the test expectations that leads to an unexpected failure.

The JS-API for global constructor [1] has a step for throwing
a TypeError when type is v128. We previously would just throw
a TypeError if a default value was provided and type was v128.

Two unused error messages are removed, and a comment for clarity
on the error handling of ToValType is added.

[1] https://webassembly.github.io/spec/js-api/index.html#globals

Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/6c44428c0eca
wasm: Report TypeError when constructing global with v128. r=jseward
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: