Closed
Bug 1826886
Opened 1 year ago
Closed 1 year ago
The "name" of an OPFS root should be the empty string
Categories
(Core :: DOM: File, defect)
Tracking
()
RESOLVED
FIXED
114 Branch
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: asully, Assigned: jjalkanen)
Details
Attachments
(2 files)
Steps to reproduce:
let opfsRoot = await navigator.storage.getDirectory();
console.log(opfsRoot.name);
Actual results:
logs "root"
Expected results:
logs the empty string
See step 3.2 of https://fs.spec.whatwg.org/#dom-storagemanager-getdirectory
Tested on Firefox 111 - haven't tested more recent builds
Confirmed that stable Chrome and Safari both use the empty string
Comment 1•1 year ago
|
||
Confirmed. Jari, could you take a look?
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jjalkanen)
Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → jjalkanen
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•1 year ago
|
||
The test checks that name is empty also after deserialization.
Depends on D175221
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85cb12cef6b7 Use empty OPFS root name. r=dom-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/4bd6beb5ccc4 Check that OPFS root name is empty. r=dom-storage-reviewers,janv
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/39491 for changes under testing/web-platform/tests
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/85cb12cef6b7
https://hg.mozilla.org/mozilla-central/rev/4bd6beb5ccc4
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox114:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Upstream PR merged by moz-wptsync-bot
Updated•1 year ago
|
QA Whiteboard: [qa-114b-p2]
Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(jjalkanen)
You need to log in
before you can comment on or make changes to this bug.
Description
•