[wpt-sync] Sync PR 62349 - FileReader: Suppress stale loadend after reentrant read
Categories
(Core :: DOM: File, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62349 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62349
Details from upstream follow.
SeungJun Lee <mps756@gmail.com> wrote:
FileReader: Suppress stale loadend after reentrant read
Do not fire loadend for a completed, aborted, or failed read when its terminal event handler starts a new read on the same FileReader.
Add regression coverage for reentrant reads from abort, load, and error handlers.
Bug: 40763894
Change-Id: Ie51c5c9652f85e3feaeccc5f9591ddea35f72801
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8300812
Reviewed-by: Rakina Zata Amni \<rakina@chromium.org>
Commit-Queue: Amos Lim \<amoseui@chromium.org>
Reviewed-by: Fergal Daly \<fergal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1690598}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f3ee413efb248ddf72a62f929c0f25993474b76f
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 26 tests and 12 subtests
Status Summary
Firefox
OK : 2[GitHub] 26[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 12[GitHub] 96[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 4
Chrome
OK : 2
PASS: 12
FAIL: 4
Safari
OK : 2
PASS: 12
FAIL: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /FileAPI/reading-data-section/FileReader-multiple-reads.any.worker.html [wpt.fyi]
- A new read in an abort handler suppresses the old read loadend:
FAIL(Chrome:FAIL, Safari:FAIL) - A new read in a load handler suppresses the old read loadend:
FAIL(Chrome:FAIL, Safari:FAIL)
- A new read in an abort handler suppresses the old read loadend:
- /FileAPI/reading-data-section/FileReader-multiple-reads.any.html [wpt.fyi]
- A new read in an abort handler suppresses the old read loadend:
FAIL(Chrome:FAIL, Safari:FAIL) - A new read in a load handler suppresses the old read loadend:
FAIL(Chrome:FAIL, Safari:FAIL)
- A new read in an abort handler suppresses the old read loadend:
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a4f5c7927b5f
https://hg.mozilla.org/mozilla-central/rev/4f40557b41e7
Description
•