Closed
Bug 1777359
Opened 2 years ago
Closed 2 years ago
Check OPFS removeEntry for invalid entry names
Categories
(Core :: DOM: File, defect, P3)
Core
DOM: File
Tracking
()
RESOLVED
FIXED
107 Branch
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
Names like ., .., /, etc aren't allowed and should return errors per the spec:
"A valid file name is a string that is not an empty string, is not equal to "." or "..", and does not contain '/' or any other character used as path separator on the underlying platform."
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P3
Updated•2 years ago
|
Attachment #9283526 -
Attachment description: Bug 1777359: Fix issues with OPFS remove() (which errors are returned, invalid requests) r=jari,#dom-storage-reviewers → Bug 1777359: Fix issues with OPFS removeEntry() (which errors are returned, invalid requests) r=jari,#dom-storage-reviewers
Updated•2 years ago
|
Attachment #9283526 -
Attachment description: Bug 1777359: Fix issues with OPFS removeEntry() (which errors are returned, invalid requests) r=jari,#dom-storage-reviewers → Bug 1777359: Fix issues with OPFS removeEntry and resolve (which errors are returned, invalid requests) r=jari,#dom-storage-reviewers
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D150310
Updated•2 years ago
|
Attachment #9292993 -
Attachment is obsolete: true
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/27e5e6441cd5 Fix issues with OPFS removeEntry and resolve (which errors are returned, invalid requests) r=jari,dom-storage-reviewers
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Comment 5•2 years ago
|
||
Backed out for causing xpcshell and gtest failures
Flags: needinfo?(rjesup)
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/4af19da55ce9 Fix issues with OPFS removeEntry and resolve (which errors are returned, invalid requests) r=jari,dom-storage-reviewers
Comment 7•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox107:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36036 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(rjesup)
You need to log in
before you can comment on or make changes to this bug.
Description
•