Closed Bug 1804987 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37440 - FSA: Allow removing the root of an OPFS

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox110 fixed)

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 37440 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/37440
Details from upstream follow.

Austin Sullivan <asully@chromium.org> wrote:

FSA: Allow removing the root of an OPFS

Removes the extra check added in https://crrev.com/c/3123735. See
recent discussion on the spec here:
https://github.com/whatwg/fs/pull/9#discussion_r1042179453

Bug: 1114923, 1399660
Change-Id: I0afd561238ae44dfa055e6fff234e801ee8de616
Reviewed-on: https://chromium-review.googlesource.com/4090632
WPT-Export-Revision: 7fca8214cd8388bd35fe3aca2c9e1890f2876d90

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 9 subtests

Status Summary

Firefox

OK : 2
FAIL: 18

Chrome

OK : 2
PASS: 16
FAIL: 2

Safari

OK : 2
FAIL: 18

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /file-system-access/sandboxed_FileSystemBaseHandle-remove.https.any.html [wpt.fyi]
    • remove() to remove a file: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on an already removed file should fail: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() to remove an empty directory: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on an already removed directory should fail: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on a non-empty directory should fail: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on a directory recursively should delete all sub-items: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on a file should ignore the recursive option: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() while the file has an open writable fails: FAIL (Chrome: PASS, Safari: FAIL)
    • can remove the root of a sandbox file system: FAIL (Chrome: FAIL, Safari: FAIL)
  • /file-system-access/sandboxed_FileSystemBaseHandle-remove.https.any.worker.html [wpt.fyi]
    • remove() to remove a file: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on an already removed file should fail: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() to remove an empty directory: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on an already removed directory should fail: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on a non-empty directory should fail: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on a directory recursively should delete all sub-items: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() on a file should ignore the recursive option: FAIL (Chrome: PASS, Safari: FAIL)
    • remove() while the file has an open writable fails: FAIL (Chrome: PASS, Safari: FAIL)
    • can remove the root of a sandbox file system: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5ddd58d2dc1 [wpt PR 37440] - FSA: Allow removing the root of an OPFS, a=testonly https://hg.mozilla.org/integration/autoland/rev/c32f3dde67dc [wpt PR 37440] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.