Closed Bug 1808009 Opened 2 years ago Closed 2 years ago

Clean up writable file streams in every web platform test

Categories

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

task

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: jjalkanen, Assigned: jjalkanen)

References

Details

Attachments

(1 file)

OPFS web platform tests FileSystemBaseHandle-remove.js, FileSystemBaseHandle-remove.js and FileSystemBaseHandle-getUniqueId.js contain calls

const writable = await handle.createWritable();

which may cause incorrect outcomes in other tests because the writable does not always get cleaned up. As is already done in the other tests, we should replace them with

const writable = await cleanup_writable(t, await handle.createWritable());
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3e69320f3e5c Clean up writable file streams after every test. r=dom-storage-reviewers,jesup
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7c9d114d774 Clean up writable file streams after every test. r=dom-storage-reviewers,jesup
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Flags: needinfo?(jjalkanen)
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37936 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: