Closed Bug 1789932 Opened 2 years ago Closed 2 years ago

TestFileSystemDatabaseVersion001 tries to delete the root directory; this isn't possible

Categories

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

defect

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: jesup, Assigned: jesup)

References

Details

Attachments

(1 file)

You can't even attempt to delete the root directory through the OPFS API; you can only do directory.removeEntry(name [ options ] ).

Severity: -- → S3
Priority: -- → P3
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/ed0bcf685676 Don't try to test removing the root directory in OPFS r=dom-storage-reviewers,jari
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/4a66ea817e1f Don't try to test removing the root directory in OPFS r=dom-storage-reviewers,jari

Backed out for causing wpt failures . CLOSED TREE
Backout link
Push with failures
Link to failure log 1
Link to failure log 2
Failure line 1 : TEST-UNEXPECTED-FAIL | /fs/FileSystemDirectoryHandle-removeEntry.https.any.worker.html | removeEntry() while the file has an open writable fails - promise_test: Unhandled rejection with value: object "TypeError: navigator.storage.getDirectory is not a function"
Failure line 2 : TEST-UNEXPECTED-FAIL | /fs/FileSystemDirectoryHandle-removeEntry.https.any.html | removeEntry() while the file has an open writable fails - promise_test: Unhandled rejection with value: object "TypeError: navigator.storage.getDirectory is not a function"

Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/a2df6e3df72a Don't try to test removing the root directory in OPFS r=dom-storage-reviewers,jari

Backed out for causing FileSystem related wpt failures

Backout link

Push with failures

Failure log

Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/383a8f25e4a5 Don't try to test removing the root directory in OPFS r=dom-storage-reviewers,jari
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Flags: needinfo?(rjesup)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: