Closed Bug 2083550 Opened 1 month ago Closed 28 days ago

[wpt-sync] Sync PR 63854 - Test Blob.text() byte order mark handling

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Test Blob.text() byte order mark handling

Blob.text() uses UTF-8 decode, which strips one UTF-8 BOM and does not switch encoding on a UTF-16 BOM.

Gecko passes these tests, but Webkit and Chromium fail two of them.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 32 tests and 8 subtests

Status Summary

Firefox

OK : 2[GitHub] 30[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: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 24[GitHub] 602[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: 32

Chrome

OK : 2
PASS: 20
FAIL: 4

Safari

OK : 2
PASS: 20
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /FileAPI/blob/Blob-textStream.any.sharedworker.html [wpt.fyi]
    • textStream method existence: FAIL
    • Blob.textStream() basic functionality: FAIL
    • Blob.textStream() with empty blob: FAIL
    • Blob.textStream() with multi-part blob: FAIL
    • Blob.textStream() ignores type charset (UTF-16LE): FAIL
    • Blob.textStream() ignores invalid type charset (invalid-charset): FAIL
    • Blob.textStream() ignores type charset (iso-8859-1): FAIL
    • Blob.textStream() can be called multiple times: FAIL
  • /FileAPI/blob/Blob-textStream.any.worker.html [wpt.fyi]
    • textStream method existence: FAIL
    • Blob.textStream() basic functionality: FAIL
    • Blob.textStream() with empty blob: FAIL
    • Blob.textStream() with multi-part blob: FAIL
    • Blob.textStream() ignores type charset (UTF-16LE): FAIL
    • Blob.textStream() ignores invalid type charset (invalid-charset): FAIL
    • Blob.textStream() ignores type charset (iso-8859-1): FAIL
    • Blob.textStream() can be called multiple times: FAIL
  • /FileAPI/blob/Blob-textStream.any.serviceworker.html [wpt.fyi]
    • textStream method existence: FAIL
    • Blob.textStream() basic functionality: FAIL
    • Blob.textStream() with empty blob: FAIL
    • Blob.textStream() with multi-part blob: FAIL
    • Blob.textStream() ignores type charset (UTF-16LE): FAIL
    • Blob.textStream() ignores invalid type charset (invalid-charset): FAIL
    • Blob.textStream() ignores type charset (iso-8859-1): FAIL
    • Blob.textStream() can be called multiple times: FAIL
  • /FileAPI/blob/Blob-textStream.any.html [wpt.fyi]
    • textStream method existence: FAIL
    • Blob.textStream() basic functionality: FAIL
    • Blob.textStream() with empty blob: FAIL
    • Blob.textStream() with multi-part blob: FAIL
    • Blob.textStream() ignores type charset (UTF-16LE): FAIL
    • Blob.textStream() ignores invalid type charset (invalid-charset): FAIL
    • Blob.textStream() ignores type charset (iso-8859-1): FAIL
    • Blob.textStream() can be called multiple times: FAIL
Status: NEW → RESOLVED
Closed: 28 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.