Closed Bug 1780141 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34891 - FSA: Add WPT for isSameEntry on a file and dir of the same path

Categories

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

task

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Austin Sullivan <asully@chromium.org> wrote:

FSA: Add WPT for isSameEntry on a file and dir of the same path

It's impossible for a file and directory of the same path to exist on
disk simultaneously, but it IS possible for a FileSystemFileHandle and
FileSystemDirectoryHandle of the same path to exist simultaneously,
since handles are still valid even if their backing store is removed.

Change-Id: If0deb9e6ea64e228b3c54e14711c58a9e378142c
Reviewed-on: https://chromium-review.googlesource.com/3771038
WPT-Export-Revision: beac8d0f011b1ae85d2de736f3c628f8d800c220

CI Results

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

Total 2 tests and 11 subtests

Status Summary

Firefox

OK : 2
FAIL: 22

Chrome

OK : 2
PASS: 22

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /fs/FileSystemBaseHandle-isSameEntry.https.any.html [wpt.fyi]
    • isSameEntry for identical directory handles returns true: FAIL (Chrome: PASS)
    • isSameEntry for different directories returns false: FAIL (Chrome: PASS)
    • isSameEntry for different handles for the same directory: FAIL (Chrome: PASS)
    • isSameEntry for identical file handles returns true: FAIL (Chrome: PASS)
    • isSameEntry for different files returns false: FAIL (Chrome: PASS)
    • isSameEntry for different handles for the same file: FAIL (Chrome: PASS)
    • isSameEntry comparing a file to a file in a different directory returns false: FAIL (Chrome: PASS)
    • isSameEntry comparing a file to a directory returns false: FAIL (Chrome: PASS)
    • isSameEntry comparing two files pointing to the same path returns true: FAIL (Chrome: PASS)
    • isSameEntry comparing two directories pointing to the same path returns true: FAIL (Chrome: PASS)
    • isSameEntry comparing a file to a directory of the same path returns false: FAIL (Chrome: PASS)
  • /fs/FileSystemBaseHandle-isSameEntry.https.any.worker.html [wpt.fyi]
    • isSameEntry for identical directory handles returns true: FAIL (Chrome: PASS)
    • isSameEntry for different directories returns false: FAIL (Chrome: PASS)
    • isSameEntry for different handles for the same directory: FAIL (Chrome: PASS)
    • isSameEntry for identical file handles returns true: FAIL (Chrome: PASS)
    • isSameEntry for different files returns false: FAIL (Chrome: PASS)
    • isSameEntry for different handles for the same file: FAIL (Chrome: PASS)
    • isSameEntry comparing a file to a file in a different directory returns false: FAIL (Chrome: PASS)
    • isSameEntry comparing a file to a directory returns false: FAIL (Chrome: PASS)
    • isSameEntry comparing two files pointing to the same path returns true: FAIL (Chrome: PASS)
    • isSameEntry comparing two directories pointing to the same path returns true: FAIL (Chrome: PASS)
    • isSameEntry comparing a file to a directory of the same path returns false: FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0ac779555809
[wpt PR 34891] - FSA: Add WPTs for isSameEntry on handles pointing to the same path, a=testonly
https://hg.mozilla.org/integration/autoland/rev/4d8f15dfe307
[wpt PR 34891] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.