[wpt-sync] Sync PR 46883 - webnn: Immediately copy constant data
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox129 fixed)
| Tracking | Status | |
|---|---|---|
| firefox129 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46883 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46883
Details from upstream follow.
Austin Sullivan <asully@chromium.org> wrote:
webnn: Immediately copy constant data
Currently, the data of ArrayBufferViews passed to the constant() method
is copied during the build() method. This does not match the spec:
https://www.w3.org/TR/webnn/#dom-mlgraphbuilder-constantCq-Include-Trybots: luci.chromium.try:win11-blink-rel
Bug: 348598508
Change-Id: Ief7a686324375fb2027df8a30d2c97943149bbe6
Reviewed-on: https://chromium-review.googlesource.com/5649032
WPT-Export-Revision: 055643f3853a1c9de114cbee0b9698710e47ee27
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
| Assignee | ||
Comment 3•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 4 subtests
Status Summary
Firefox
OK : 2
PASS: 2
FAIL: 6
Chrome
OK : 2
PASS: 4
FAIL: 4
Safari
OK : 2
PASS: 2
FAIL: 6
Links
Details
New Tests That Don't Pass
- /webnn/validation_tests/constant-changed-buffer.https.any.worker.html [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - Constant data is unaffected by detaching the buffer:
FAIL(Chrome:FAIL, Safari:FAIL) - Constant data is unaffected by changes to the buffer contents:
FAIL(Chrome:FAIL, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/constant-changed-buffer.https.any.html [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - Constant data is unaffected by detaching the buffer:
FAIL(Chrome:FAIL, Safari:FAIL) - Constant data is unaffected by changes to the buffer contents:
FAIL(Chrome:FAIL, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
Comment 5•1 year ago
|
||
| bugherder | ||
Description
•