Closed Bug 1910446 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 47334 - webnn: Destroy WebNNGraphBuilder connection from the WebNN service

Categories

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

task

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Austin Sullivan <asully@chromium.org> wrote:

webnn: Destroy WebNNGraphBuilder connection from the WebNN service

Ensures that a bad message is reported if any message is received
on the WebNNGraphBuilder interface after CreateGraph()

Bug: 354724062
Change-Id: Iebbe72be8983437ee469aaa291fb6deb3b8cf43d
Reviewed-on: https://chromium-review.googlesource.com/5741053
WPT-Export-Revision: fb3b65dfffd32c4b0570a2f87ff6707ab4616620

CI Results

Ran 0 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: 4
FAIL: 12

Safari

OK : 2
FAIL: 16

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webnn/validation_tests/build-more-than-once.https.any.html [wpt.fyi]
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • Throw if attempting to build a second graph with an MLGraphBuilder: FAIL (Chrome: FAIL, Safari: FAIL)
    • Throw if attempting to build a second graph without awaiting the first: FAIL (Chrome: FAIL, Safari: FAIL)
    • Throw if an operand-yielding method is called on a built MLGraphBuilder: FAIL (Chrome: FAIL, Safari: FAIL)
    • Throw if adding an input operand to a built MLGraphBuilder: FAIL (Chrome: FAIL, Safari: FAIL)
    • Throw if adding a constant operand to a built MLGraphBuilder: FAIL (Chrome: FAIL, Safari: FAIL)
    • An MLGraphBuilder remains unbuilt if build() is called with invalid paramaters: FAIL (Chrome: FAIL, Safari: FAIL)
    • Build two graphs with separate MLGraphBuilders: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/build-more-than-once.https.any.worker.html [wpt.fyi]
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • Throw if attempting to build a second graph with an MLGraphBuilder: FAIL (Chrome: FAIL, Safari: FAIL)
    • Throw if attempting to build a second graph without awaiting the first: FAIL (Chrome: FAIL, Safari: FAIL)
    • Throw if an operand-yielding method is called on a built MLGraphBuilder: FAIL (Chrome: FAIL, Safari: FAIL)
    • Throw if adding an input operand to a built MLGraphBuilder: FAIL (Chrome: FAIL, Safari: FAIL)
    • Throw if adding a constant operand to a built MLGraphBuilder: FAIL (Chrome: FAIL, Safari: FAIL)
    • An MLGraphBuilder remains unbuilt if build() is called with invalid paramaters: FAIL (Chrome: FAIL, Safari: FAIL)
    • Build two graphs with separate MLGraphBuilders: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/70b06354f96c [wpt PR 47334] - webnn: Destroy WebNNGraphBuilder connection from the WebNN service, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.