Closed Bug 1910695 Opened 11 months ago Closed 11 months ago

[wpt-sync] Sync PR 47363 - WebNN: reject buffer reads after destroy

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 47363 into mozilla-central (this bug is closed when the sync is complete).

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

Bryan Bernhart <bryan.bernhart@intel.com> wrote:

WebNN: reject buffer reads after destroy

Addresses an issue where readBuffer() may never fulfill its returned promise because the buffer was destroyed. The change avoids this by keeping track of pending resolvers which are always rejected upon disconnection.

Bug: 354055292
Change-Id: I0017d36743673f6d4840f5037f4382f274d9fc45

Reviewed-on: https://chromium-review.googlesource.com/5746505
WPT-Export-Revision: 5c52b7a0c66fcaf482981f27b67eb9d690e8eff2

CI Results

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

Total 6 tests and 32 subtests

Status Summary

Firefox

FAIL : 6
ERROR : 6

Chrome

PASS : 42
FAIL : 12
TIMEOUT: 12
NOTRUN : 132

Safari

FAIL : 6
ERROR : 6

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d942af270a05 [wpt PR 47363] - WebNN: reject buffer reads after destroy, a=testonly
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.