[wpt-sync] Sync PR 41478 - Update and add locking scheme WPTs
Categories
(Core :: DOM: File, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox119 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41478 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41478
Details from upstream follow.
Nathan Memmott <memmott@chromium.org> wrote:
Update and add locking scheme WPTs
Updates and adds locking scheme WPTs to have more test coverage of
locking behavior.Bug: 1382215
Change-Id: Ie2719f31dfba5c9847249b1f165d90bec39e2c09
Reviewed-on: https://chromium-review.googlesource.com/4754201
WPT-Export-Revision: 1ef2cde5abd9e2862a0c8e59f3016f9afe4007e7
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 41 tests and 8 subtests
Status Summary
Firefox
OK : 41
PASS : 357
FAIL : 87
Chrome
OK : 40
PASS : 408
FAIL : 36
ERROR: 1
Safari
OK : 41
FAIL : 444
Links
Details
New Tests That Don't Pass
- /fs/FileSystemBaseHandle-buckets.https.any.worker.html [wpt.fyi]
- isSameEntry works as expected with buckets:
FAIL(Chrome:PASS, Safari:FAIL) - getDirectory promise rejects if bucket has been deleted:
FAIL(Chrome:PASS, Safari:FAIL) - Bucket quota restricts the size of a file that can be created:
FAIL(Chrome:PASS, Safari:FAIL)
- isSameEntry works as expected with buckets:
- /fs/FileSystemBaseHandle-buckets.https.any.html [wpt.fyi]
- isSameEntry works as expected with buckets:
FAIL(Chrome:PASS, Safari:FAIL) - getDirectory promise rejects if bucket has been deleted:
FAIL(Chrome:PASS, Safari:FAIL) - Bucket quota restricts the size of a file that can be created:
FAIL(Chrome:PASS, Safari:FAIL)
- isSameEntry works as expected with buckets:
- /fs/FileSystemBaseHandle-getUniqueId.https.any.worker.html [wpt.fyi]
- identical directory handles return the same ID:
FAIL(Chrome:PASS, Safari:FAIL) - different directories return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - different handles for the same directory return the same ID:
FAIL(Chrome:PASS, Safari:FAIL) - identical file handles return the same unique ID:
FAIL(Chrome:PASS, Safari:FAIL) - different files return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - different handles for the same file return the same ID:
FAIL(Chrome:PASS, Safari:FAIL) - two files of the same name in different directories return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - a file and a directory return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - a file and a directory of the same path return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - unique ID of a file handle does not change after writes:
FAIL(Chrome:PASS, Safari:FAIL) - unique ID is in GUID version 4 format:
FAIL(Chrome:PASS, Safari:FAIL)
- identical directory handles return the same ID:
- /fs/FileSystemBaseHandle-getUniqueId.https.any.html [wpt.fyi]
- identical directory handles return the same ID:
FAIL(Chrome:PASS, Safari:FAIL) - different directories return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - different handles for the same directory return the same ID:
FAIL(Chrome:PASS, Safari:FAIL) - identical file handles return the same unique ID:
FAIL(Chrome:PASS, Safari:FAIL) - different files return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - different handles for the same file return the same ID:
FAIL(Chrome:PASS, Safari:FAIL) - two files of the same name in different directories return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - a file and a directory return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - a file and a directory of the same path return different IDs:
FAIL(Chrome:PASS, Safari:FAIL) - unique ID of a file handle does not change after writes:
FAIL(Chrome:PASS, Safari:FAIL) - unique ID is in GUID version 4 format:
FAIL(Chrome:PASS, Safari:FAIL)
- identical directory handles return the same ID:
- /fs/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:PASS, Safari:FAIL)
- remove() to remove a file:
- /fs/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:PASS, Safari:FAIL)
- remove() to remove a file:
- /fs/FileSystemFileHandle-cross-primitive-locking.https.tentative.worker.html [wpt.fyi]
- After a file has finished moving, that file can have an open access handle in readwrite mode:
FAIL(Chrome:FAIL, Safari:FAIL) - A file with an ongoing remove operation does not interfere with the creation of an open access handle in readwrite mode on another file:
FAIL(Chrome:PASS, Safari:FAIL) - After a file has finished being removed, that file can have an open access handle in readwrite mode:
FAIL(Chrome:PASS, Safari:FAIL) - A directory cannot be removed if it contains a file that has an open access handle in readwrite mode.:
FAIL(Chrome:PASS, Safari:FAIL) - A file with an open access handle in readwrite mode cannot be removed:
FAIL(Chrome:PASS, Safari:FAIL) - A file with an open access handle in readwrite mode does not interfere with removing another file:
FAIL(Chrome:PASS, Safari:FAIL) - After an open access handle in readwrite mode on a file has been closed, that file can be removed:
FAIL(Chrome:PASS, Safari:FAIL) - After a file has finished moving, that file can have an open access handle in read-only mode:
FAIL(Chrome:FAIL, Safari:FAIL) - A file with an ongoing remove operation does not interfere with the creation of an open access handle in read-only mode on another file:
FAIL(Chrome:PASS, Safari:FAIL) - After a file has finished being removed, that file can have an open access handle in read-only mode:
FAIL(Chrome:PASS, Safari:FAIL) - A directory cannot be removed if it contains a file that has an open access handle in read-only mode.:
FAIL(Chrome:PASS, Safari:FAIL) - A file with an open access handle in read-only mode cannot be removed:
FAIL(Chrome:PASS, Safari:FAIL) - A file with an open access handle in read-only mode does not interfere with removing another file:
FAIL(Chrome:PASS, Safari:FAIL) - After an open access handle in read-only mode on a file has been closed, that file can be removed:
FAIL(Chrome:PASS, Safari:FAIL) - After a file has finished moving, that file can have an open access handle in readwrite-unsafe mode:
FAIL(Chrome:FAIL, Safari:FAIL) - A file with an ongoing remove operation does not interfere with the creation of an open access handle in readwrite-unsafe mode on another file:
FAIL(Chrome:PASS, Safari:FAIL) - After a file has finished being removed, that file can have an open access handle in readwrite-unsafe mode:
FAIL(Chrome:PASS, Safari:FAIL) - A directory cannot be removed if it contains a file that has an open access handle in readwrite-unsafe mode.:
FAIL(Chrome:PASS, Safari:FAIL) - A file with an open access handle in readwrite-unsafe mode cannot be removed:
FAIL(Chrome:PASS, Safari:FAIL) - A file with an open access handle in readwrite-unsafe mode does not interfere with removing another file:
FAIL(Chrome:PASS, Safari:FAIL) - After an open access handle in readwrite-unsafe mode on a file has been closed, that file can be removed:
FAIL(Chrome:PASS, Safari:FAIL) - After a file has finished moving, that file can have an open writable stream:
FAIL(Chrome:FAIL, Safari:FAIL) - A file with an ongoing remove operation does not interfere with the creation of an open writable stream on another file:
FAIL(Chrome:PASS, Safari:FAIL) - After a file has finished being removed, that file can have an open writable stream:
FAIL(Chrome:PASS, Safari:FAIL) - A directory cannot be removed if it contains a file that has an open writable stream.:
FAIL(Chrome:PASS, Safari:FAIL) - When there's an open writable stream on a file, cannot have a an ongoing remove operation on that same file:
FAIL(Chrome:PASS, Safari:FAIL) - A writable stream from one file does not interfere with a an ongoing remove operation on another file:
FAIL(Chrome:PASS, Safari:FAIL) - After all writable streams have been closed for a file, that file can have an ongoing remove operation:
FAIL(Chrome:PASS, Safari:FAIL)
- After a file has finished moving, that file can have an open access handle in readwrite mode:
- /fs/FileSystemFileHandle-move.https.any.html [wpt.fyi]
- move(name) with a name with a trailing period should fail:
FAIL(Chrome:PASS, Safari:FAIL)
- move(name) with a name with a trailing period should fail:
- /fs/FileSystemFileHandle-move.https.any.worker.html [wpt.fyi]
- move(name) with a name with a trailing period should fail:
FAIL(Chrome:PASS, Safari:FAIL)
- move(name) with a name with a trailing period should fail:
- /fs/FileSystemFileHandle-sync-access-handle-lock-modes.https.tentative.worker.html [wpt.fyi]
- A sync access handle opens in readwrite mode by default:
FAIL(Chrome:PASS, Safari:FAIL) - An access handle in readwrite mode has a mode property equal to readwrite:
FAIL(Chrome:PASS, Safari:FAIL) - An access handle in read-only mode has a mode property equal to read-only:
FAIL(Chrome:PASS, Safari:FAIL) - An access handle in read-only mode takes a lock that is shared:
FAIL(Chrome:PASS, Safari:FAIL) - An access handle in read-only mode is not writable:
FAIL(Chrome:PASS, Safari:FAIL) - After all access handles in read-only mode on a file has been closed, can open another access handle in readwrite on the same file:
FAIL(Chrome:PASS, Safari:FAIL) - After all access handles in read-only mode on a file has been closed, can open another access handle in readwrite-unsafe on the same file:
FAIL(Chrome:PASS, Safari:FAIL) - An access handle in readwrite-unsafe mode has a mode property equal to readwrite-unsafe:
FAIL(Chrome:PASS, Safari:FAIL) - An access handle in readwrite-unsafe mode takes a lock that is shared:
FAIL(Chrome:PASS, Safari:FAIL) - After all access handles in readwrite-unsafe mode on a file has been closed, can open another access handle in readwrite on the same file:
FAIL(Chrome:PASS, Safari:FAIL) - After all access handles in readwrite-unsafe mode on a file has been closed, can open another access handle in read-only on the same file:
FAIL(Chrome:PASS, Safari:FAIL)
- A sync access handle opens in readwrite mode by default:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e6c88eff68b1
https://hg.mozilla.org/mozilla-central/rev/72713edfa438
Description
•