Closed Bug 2091625 Opened 5 days ago Closed 1 day ago

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

Categories

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

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

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

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

WebKit export from bug: Test byte order marks split across chunks for Response'<!---->s text(<!---->)<!----> and json(<!---->)<!---->

<pre>
Test byte order marks split across chunks for Response's text() and json()

Add tests where a byte order mark or a multi-byte sequence is split across network chunks, using
xhr/resources/content-in-chunks.py, like the XMLHttpRequest and EventSource tests in <a href="https://commits.webkit.org/324356@main">324356@main</a>.
WebKit decodes the body all at once, so these pass already, but these tests could catch bugs if we
ever made that process incremental.

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

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

CI Results

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

Total 121 tests and 3 subtests

Status Summary

Firefox

OK : 2[GitHub] 119[Gecko-windows11-32-25h2-debug] 120[Gecko-windows11-32-25h2-opt] 121[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]
PASS: 10[GitHub] 1404[Gecko-windows11-32-25h2-debug] 1427[Gecko-windows11-32-25h2-opt] 1429[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: 50[Gecko-windows11-32-25h2-opt] 54[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 2
PASS: 10

Safari

OK : 2
PASS: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /fetch/api/basic/block-mime-as-script.html [wpt.fyi]: OK [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-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-32-25h2-debug]
  • /fetch/api/basic/header-value-combining.any.sharedworker.html [wpt.fyi]
    • response.headers.get('content-length') expects 0, 0: FAIL
    • response.headers.get('double-trouble') expects , : FAIL
    • response.headers.get('heya') expects , , 1, , , 2: FAIL
    • response.headers.get('www-authenticate') expects 1, 2, 3, 4: FAIL
  • /fetch/api/basic/header-value-combining.any.serviceworker.html [wpt.fyi]: OK [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-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-32-25h2-opt]
    • response.headers.get('content-length') expects 0, 0: FAIL
    • response.headers.get('double-trouble') expects , : FAIL
    • response.headers.get('heya') expects , , 1, , , 2: FAIL
    • response.headers.get('www-authenticate') expects 1, 2, 3, 4: FAIL
  • /fetch/api/basic/header-value-combining.any.html [wpt.fyi]
    • response.headers.get('content-length') expects 0, 0: FAIL
    • response.headers.get('double-trouble') expects , : FAIL
    • response.headers.get('heya') expects , , 1, , , 2: FAIL
    • response.headers.get('www-authenticate') expects 1, 2, 3, 4: FAIL
  • /fetch/api/basic/header-value-combining.any.worker.html [wpt.fyi]
    • response.headers.get('content-length') expects 0, 0: FAIL
    • response.headers.get('double-trouble') expects , : FAIL
    • response.headers.get('heya') expects , , 1, , , 2: FAIL
    • response.headers.get('www-authenticate') expects 1, 2, 3, 4: FAIL
  • /fetch/api/basic/response-null-body.any.sharedworker.html [wpt.fyi]
    • Response.body is null for responses with status=204 (method=GET): FAIL
    • Response.body is null for responses with status=204 (method=POST): FAIL
    • Response.body is null for responses with status=204 (method=OPTIONS): FAIL
    • Response.body is null for responses with status=205 (method=GET): FAIL
    • Response.body is null for responses with status=205 (method=POST): FAIL
    • Response.body is null for responses with status=205 (method=OPTIONS): FAIL
    • Response.body is null for responses with status=304 (method=GET): FAIL
    • Response.body is null for responses with status=304 (method=POST): FAIL
    • Response.body is null for responses with status=304 (method=OPTIONS): FAIL
  • /fetch/api/basic/response-null-body.any.html [wpt.fyi]
    • Response.body is null for responses with status=204 (method=GET): FAIL
    • Response.body is null for responses with status=204 (method=POST): FAIL
    • Response.body is null for responses with status=204 (method=OPTIONS): FAIL
    • Response.body is null for responses with status=205 (method=GET): FAIL
    • Response.body is null for responses with status=205 (method=POST): FAIL
    • Response.body is null for responses with status=205 (method=OPTIONS): FAIL
    • Response.body is null for responses with status=304 (method=GET): FAIL
    • Response.body is null for responses with status=304 (method=POST): FAIL
    • Response.body is null for responses with status=304 (method=OPTIONS): FAIL
  • /fetch/api/basic/response-null-body.any.worker.html [wpt.fyi]
    • Response.body is null for responses with status=204 (method=GET): FAIL
    • Response.body is null for responses with status=204 (method=POST): FAIL
    • Response.body is null for responses with status=204 (method=OPTIONS): FAIL
    • Response.body is null for responses with status=205 (method=GET): FAIL
    • Response.body is null for responses with status=205 (method=POST): FAIL
    • Response.body is null for responses with status=205 (method=OPTIONS): FAIL
    • Response.body is null for responses with status=304 (method=GET): FAIL
    • Response.body is null for responses with status=304 (method=POST): FAIL
    • Response.body is null for responses with status=304 (method=OPTIONS): FAIL
  • /fetch/api/basic/response-null-body.any.serviceworker.html [wpt.fyi]
    • Response.body is null for responses with status=204 (method=GET): FAIL
    • Response.body is null for responses with status=204 (method=POST): FAIL
    • Response.body is null for responses with status=204 (method=OPTIONS): FAIL
    • Response.body is null for responses with status=205 (method=GET): FAIL
    • Response.body is null for responses with status=205 (method=POST): FAIL
    • Response.body is null for responses with status=205 (method=OPTIONS): FAIL
    • Response.body is null for responses with status=304 (method=GET): FAIL
    • Response.body is null for responses with status=304 (method=POST): FAIL
    • Response.body is null for responses with status=304 (method=OPTIONS): FAIL
  • /fetch/api/basic/scheme-blob.sub.any.worker.html [wpt.fyi]
    • Fetching URL.createObjectURL(invalid_type_blob) is OK: FAIL
  • /fetch/api/basic/scheme-blob.sub.any.html [wpt.fyi]
    • Fetching URL.createObjectURL(invalid_type_blob) is OK: FAIL
  • /fetch/api/basic/url-parsing.sub.html?encoding=utf8 [wpt.fyi]: OK [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-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-32-25h2-debug]

Tests Disabled in Gecko Infrastructure

  • /fetch/api/basic/block-mime-as-script.html [wpt.fyi]: OK [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-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-32-25h2-debug]
  • /fetch/api/basic/header-value-combining.any.serviceworker.html [wpt.fyi]: OK [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-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-32-25h2-opt]
  • /fetch/api/basic/url-parsing.sub.html?encoding=utf8 [wpt.fyi]: OK [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-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-windows11-32-25h2-debug]
Status: NEW → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.