Closed
Bug 1816681
Opened 2 years ago
Closed 2 years ago
Clean up all sync access handles in WPT fs tests
Categories
(Core :: DOM: File, defect, P3)
Core
DOM: File
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: jjalkanen, Assigned: jjalkanen)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
We need t.add_cleanup(() => { syncHandle.close(); });
after every awaited createSyncAccessHandle call, whose result is syncHandle and t is the test handle, otherwise the sync access handles may not be closed if the test is exited due to a failure, and the subsequent tests reusing the same file names will report incorrect errors.
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by jjalkanen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c296ef1f0356
Clean up all sync access handles in writable lock WPT test. r=dom-storage-reviewers,jesup
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Comment 4•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38903 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•