Closed Bug 2068951 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62349 - FileReader: Suppress stale loadend after reentrant read

Categories

(Core :: DOM: File, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
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}

Component: web-platform-tests → DOM: File
Product: Testing → Core

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

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.