Closed
Bug 1816685
Opened 3 years ago
Closed 3 years ago
Let cleanup_writable await to propagate errors in WPT fs tests
Categories
(Core :: DOM: File, defect, P3)
Core
DOM: File
Tracking
()
RESOLVED
FIXED
112 Branch
| Tracking | Status | |
|---|---|---|
| firefox112 | --- | fixed |
People
(Reporter: jari, Assigned: jari)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
In test
testing/web-platform/tests/fs/FileSystemFileHandle-sync-access-handle-writable-lock.https.tentative.worker.js
the check
await promise_rejects_dom(
- t, 'NoModificationAllowedError', cleanup_writable(t, await fileHandle.createWritable()));
fails because the otherwise correct error does not get caught by promise_rejects_dom.
If await before fileHandle.createWritable() is removed, the exception is caught as expected.
| Assignee | ||
Updated•3 years ago
|
Summary: Clean up all sync access handles in WPT fs tests → Let cleanup_writable await to propagate errors in WPT fs tests
| Assignee | ||
Comment 1•3 years ago
|
||
Depends on D169833
| Assignee | ||
Updated•3 years ago
|
Severity: -- → S4
Priority: -- → P3
Pushed by jjalkanen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6ab7a8b9026
Let cleanup_writable await to propagate errors in WPT fs tests. 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•3 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38907 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.
Description
•