[wpt-sync] Sync PR 47388 - Change Observer: Add WPTs for FileSystemHandle creation and deletion
Categories
(Core :: DOM: File, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47388 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47388
Details from upstream follow.
Nathan Memmott <memmott@chromium.org> wrote:
Change Observer: Add WPTs for FileSystemHandle creation and deletion
Adds expectations to the WPTs for creation and deletion. Tests that
they emit the correct event and only emit an event while in scope.Bug: 341136316
Change-Id: I295662e6c631a31c2914e0117e7aaca8d208d3b1
Reviewed-on: https://chromium-review.googlesource.com/5744535
WPT-Export-Revision: 6749f255a7ac6b05157cba821bafae753b1cec2b
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Comment 1•11 months ago
|
||
Assignee | ||
Comment 2•11 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 7 tests and 10 subtests
Status Summary
Firefox
OK
: 4
FAIL
: 34
ERROR
: 3
NOTRUN
: 6
Chrome
OK
: 5
PASS
: 27
FAIL
: 8
TIMEOUT
: 4
NOTRUN
: 3
Safari
OK
: 7
FAIL
: 40
Links
Details
Firefox-only Failures
- /fs/FileSystemObserver.https.tentative.any.html [wpt.fyi]:
ERROR
- /fs/FileSystemObserver.https.tentative.any.worker.html [wpt.fyi]:
ERROR
New Tests That Don't Pass
- /fs/FileSystemObserver-sync-access-handle.https.tentative.worker.html [wpt.fyi]
- FileSystemSyncAccessHandle.write produces a "modified" event:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Multiple FileSystemSyncAccessHandle.writes produces the same amount of "modified" event:
FAIL
(Chrome:PASS
, Safari:FAIL
) - FileSystemSyncAccessHandle.truncate produces a "modified" event:
FAIL
(Chrome:PASS
, Safari:FAIL
) - FileSystemSyncAccessHandle methods that don't modify the file don't produce events:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- FileSystemSyncAccessHandle.write produces a "modified" event:
- /fs/FileSystemObserver-writable-file-stream.https.tentative.any.html [wpt.fyi]
- Closing a FileSystemWritableFileStream that's modified the file produces a "modified" event:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - All FileSystemWritableFileStream methods that aren't closed don't produce events:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Closing a FileSystemWritableFileStream that's modified the file produces a "modified" event:
- /fs/FileSystemObserver-writable-file-stream.https.tentative.any.sharedworker.html [wpt.fyi]
- Closing a FileSystemWritableFileStream that's modified the file produces a "modified" event:
FAIL
(Chrome:TIMEOUT
, Safari:FAIL
) - All FileSystemWritableFileStream methods that aren't closed don't produce events:
FAIL
(Chrome:NOTRUN
, Safari:FAIL
)
- Closing a FileSystemWritableFileStream that's modified the file produces a "modified" event:
- /fs/FileSystemObserver-writable-file-stream.https.tentative.any.worker.html [wpt.fyi]
- Closing a FileSystemWritableFileStream that's modified the file produces a "modified" event:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - All FileSystemWritableFileStream methods that aren't closed don't produce events:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Closing a FileSystemWritableFileStream that's modified the file produces a "modified" event:
- /fs/FileSystemObserver.https.tentative.any.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:OK
)- Creating a FileSystemObserver from a supported global succeeds:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Calling unobserve() without a corresponding observe() shouldn't throw:
FAIL
(Chrome:PASS
, Safari:FAIL
) - unobserve() is idempotent:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Calling disconnect() without observing shouldn't throw:
FAIL
(Chrome:PASS
, Safari:FAIL
) - disconnect() is idempotent:
FAIL
(Chrome:PASS
, Safari:FAIL
) - observe() fails when file does not exist:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - observe() fails when directory does not exist:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Creating a file through FileSystemDirectoryHandle.getFileHandle is reported as an "appeared" event if in scope:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Removing a file through FileSystemFileHandle.remove is reported as an "disappeared" event if in scope:
NOTRUN
(Chrome:PASS
, Safari:FAIL
) - Events outside the watch scope are not sent to the observer's callback:
NOTRUN
(Chrome:PASS
, Safari:FAIL
)
- Creating a FileSystemObserver from a supported global succeeds:
- /fs/FileSystemObserver.https.tentative.any.sharedworker.html [wpt.fyi]:
ERROR
(Chrome:TIMEOUT
, Safari:OK
)- Creating a FileSystemObserver from a supported global succeeds:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Calling unobserve() without a corresponding observe() shouldn't throw:
FAIL
(Chrome:PASS
, Safari:FAIL
) - unobserve() is idempotent:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Calling disconnect() without observing shouldn't throw:
FAIL
(Chrome:PASS
, Safari:FAIL
) - disconnect() is idempotent:
FAIL
(Chrome:PASS
, Safari:FAIL
) - observe() fails when file does not exist:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - observe() fails when directory does not exist:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Creating a file through FileSystemDirectoryHandle.getFileHandle is reported as an "appeared" event if in scope:
FAIL
(Chrome:TIMEOUT
, Safari:FAIL
) - Removing a file through FileSystemFileHandle.remove is reported as an "disappeared" event if in scope:
NOTRUN
(Chrome:NOTRUN
, Safari:FAIL
) - Events outside the watch scope are not sent to the observer's callback:
NOTRUN
(Chrome:NOTRUN
, Safari:FAIL
)
- Creating a FileSystemObserver from a supported global succeeds:
- /fs/FileSystemObserver.https.tentative.any.worker.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:OK
)- Creating a FileSystemObserver from a supported global succeeds:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Calling unobserve() without a corresponding observe() shouldn't throw:
FAIL
(Chrome:PASS
, Safari:FAIL
) - unobserve() is idempotent:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Calling disconnect() without observing shouldn't throw:
FAIL
(Chrome:PASS
, Safari:FAIL
) - disconnect() is idempotent:
FAIL
(Chrome:PASS
, Safari:FAIL
) - observe() fails when file does not exist:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - observe() fails when directory does not exist:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Creating a file through FileSystemDirectoryHandle.getFileHandle is reported as an "appeared" event if in scope:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Removing a file through FileSystemFileHandle.remove is reported as an "disappeared" event if in scope:
NOTRUN
(Chrome:PASS
, Safari:FAIL
) - Events outside the watch scope are not sent to the observer's callback:
NOTRUN
(Chrome:PASS
, Safari:FAIL
)
- Creating a FileSystemObserver from a supported global succeeds:
https://hg.mozilla.org/mozilla-central/rev/e513465ed84f
https://hg.mozilla.org/mozilla-central/rev/9411ef437ef1
Description
•