Closed Bug 2039549 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 59880 - script: Use "application/octet-stream" for unspecified Blob type for `FileReaderSync.ReadAsDataURL`

Categories

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

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Euclid Ye <yezhizhenjiakang@gmail.com> wrote:

script: Use "application/octet-stream" for unspecified Blob type for FileReaderSync.ReadAsDataURL

In https://github.com/servo/servo/pull/44897, I only did this for FileReader but not FileReaderSync.

Testing: Similar to https://github.com/servo/servo/pull/44921, there was no such test for FileReaderSync.
We update the existing test to cover this. It seems in general, test cover for FileReader is much better.
Reviewed in servo/servo#44924

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

CI Results

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

Total 100 tests

Status Summary

Firefox

OK : 1[GitHub] 95[Gecko-linux2404-64-debug] 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-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 10[GitHub] 1523[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1524[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 4

Chrome

OK : 1
PASS: 10

Safari

OK : 1
PASS: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/349144dfd2ff https://hg.mozilla.org/integration/autoland/rev/dee20e33fffd [wpt PR 59880] - script: Use "application/octet-stream" for unspecified Blob type for `FileReaderSync.ReadAsDataURL`, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.