Closed Bug 1896749 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 46263 - webnn: fix gather indices types

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox128 fixed)

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Phillis Tang <phillis@chromium.org> wrote:

webnn: fix gather indices types

Bug: 338640913
Change-Id: Id26827e8a199b2ca1574ec92aead8466f89a3cb0
Reviewed-on: https://chromium-review.googlesource.com/5538980
WPT-Export-Revision: a0e14e76195eea55ebe5376a8b296eadbbf70678

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 8 subtests

Status Summary

Firefox

OK : 2
FAIL: 16

Chrome

OK : 2
PASS: 16

Safari

OK : 2
FAIL: 16

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webnn/validation_tests/gather.https.any.worker.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] Test gather with default options and 0-D indices: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] Test gather with axis = 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] TypeError is expected if the input is a scalar: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] TypeError is expected if the axis is greater than the rank of input: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] TypeError is expected if the data type of indices is invalid: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] throw if indices is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/gather.https.any.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] Test gather with default options and 0-D indices: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] Test gather with axis = 2: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] TypeError is expected if the input is a scalar: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] TypeError is expected if the axis is greater than the rank of input: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] TypeError is expected if the data type of indices is invalid: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [gather] throw if indices is from another builder: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /webnn/validation_tests/gather.https.any.worker.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
  • /webnn/validation_tests/gather.https.any.html [wpt.fyi]: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d2ac1cf9d27 [wpt PR 46263] - webnn: fix gather indices types, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.