Closed Bug 1854723 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 42086 - FSA: Reset mojo pipe on encountering any WritableFileStream error

Categories

(Core :: DOM: File, task, P4)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Austin Sullivan <asully@chromium.org> wrote:

FSA: Reset mojo pipe on encountering any WritableFileStream error

The lock should be released when the stream enters an ERRORED or
CLOSED state, otherwise errored streams may hold locks until the
stream is garbage-collected.

Bug: 1380650
Change-Id: I33ca22ffcb58cbc04c87e410bb356c8697c57900
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4492276
Reviewed-by: Daseul Lee \<dslee@chromium.org>
Commit-Queue: Austin Sullivan \<asully@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1199652}

Component: web-platform-tests → DOM: File
Product: Testing → Core

CI Results

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

Total 2 tests and 30 subtests

Status Summary

Firefox

OK : 2
PASS: 60

Chrome

OK : 2
PASS: 58
FAIL: 2

Safari

OK : 2
FAIL: 60

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/3af2403d8219 [wpt PR 42086] - FSA: Reset mojo pipe on encountering any WritableFileStream error, a=testonly https://hg.mozilla.org/mozilla-central/rev/2e31ef00ca9e [wpt PR 42086] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.