Closed Bug 2085404 Opened 1 month ago Closed 24 days ago

[wpt-sync] Sync PR 63992 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328351

Categories

(Core :: DOM: Events, 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 63992 into mozilla-central (this bug is closed when the sync is complete).

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

Anne van Kesteren <annevk@annevk.nl> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328351

WebKit export from bug: EventSource should not use a UTF-<!---->16 byte order mark

<pre>
EventSource should not use a UTF-16 byte order mark

HTML decodes event streams with UTF-8 decode, which strips a UTF-8 byte order mark but ignores a
UTF-16 one. EventSource's TextResourceDecoder switched to UTF-16 when the stream started with a
UTF-16 byte order mark, so the rest of the stream was decoded as UTF-16 and no events were
dispatched.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=328351">https://bugs.webkit.org/show_bug.cgi?id=328351</a>
</pre>

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

CI Results

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

Total 103 tests and 1 subtests

Status Summary

Firefox

OK : 2[GitHub] 102[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug] 103[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-opt]
PASS: 4[GitHub] 143[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug] 147[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-opt]

Chrome

OK : 2
PASS: 4

Safari

OK : 2
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /eventsource/eventsource-constructor-non-same-origin.window.html [wpt.fyi]: OK [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-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug]

Tests Disabled in Gecko Infrastructure

  • /eventsource/eventsource-constructor-non-same-origin.window.html [wpt.fyi]: OK [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-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug]
Status: NEW → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.