Closed Bug 1791409 Opened 2 years ago Closed 2 years ago

Use cleanup_writable() for all createWritable() calls in WPT fs tests

Categories

(Core :: DOM: File, defect, P2)

defect

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: jesup, Assigned: jesup)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

cleanup_writable() ensures that on failure (or exit) the writable will be close()ed, which drops the read lock on the file.

Note that if we're checking for createWritable() to throw, we have to be careful to not await on it.

Severity: -- → S3
Priority: -- → P2
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/a9b56bde89d2 Use cleanup_writable for all web-platform tests that call createWritable() r=dom-storage-reviewers,jari
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36620 for changes under testing/web-platform/tests
Blocks: 1808009
See Also: → 1816681
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: