Closed Bug 2089422 Opened 21 days ago Closed

[wpt-sync] Sync PR 64349 - Test a FileReader read started by an abort before loadstart

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Shannon Booth <shannon.ml.booth@gmail.com> wrote:

Test a FileReader read started by an abort before loadstart

The existing test only covered aborts after loadstart.

NB: Locally this passes in Chromium, but fails in Safari/Firefox. Chromium is behaving per spec.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: File
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 27 tests and 12 subtests

Status Summary

Firefox

OK : 2[GitHub] 27[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] 97[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: 6

Chrome

OK : 2
PASS: 18

Safari

OK : 2
PASS: 12
FAIL: 6

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: PASS, Safari: FAIL)
    • A new read in an abort handler before loadstart suppresses the old read: FAIL (Chrome: PASS, Safari: FAIL)
    • A new read in a load handler suppresses the old read loadend: FAIL (Chrome: PASS, Safari: FAIL)
  • /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: PASS, Safari: FAIL)
    • A new read in an abort handler before loadstart suppresses the old read: FAIL (Chrome: PASS, Safari: FAIL)
    • A new read in a load handler suppresses the old read loadend: FAIL (Chrome: PASS, Safari: FAIL)
Status: NEW → RESOLVED
Closed: 12 days ago
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.