Closed Bug 1696986 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27894 - Fetch: redo Content-Length parser test names

Categories

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

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Fetch: redo Content-Length parser test names

See https://github.com/whatwg/fetch/pull/1183 for context.

PR 27894 applied with additional changes from upstream: 3a48a22074a41e7817a17dfbf5cb6c61277f8877
Component: web-platform-tests → DOM: Networking
Product: Testing → Core

CI Results

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

Total 1 tests and 32 subtests

Status Summary

Firefox

OK : 1
PASS: 22
FAIL: 10

Chrome

OK : 1
PASS: 32

Safari

OK : 1
PASS: 12
FAIL: 20

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/fetch/content-length/parsing.window.html
Input: "Content-Length: 42\r\nContent-Length: 42,42". Expected: 42.: FAIL
Input: "Content-Length: 30\r\nContent-Length: 30,30". Expected: 30.: FAIL

New Tests That Don't Pass

/fetch/content-length/parsing.window.html
Input: "Content-Length: 42\r\nContent-Length: 42,42". Expected: 42.: FAIL (Chrome: PASS, Safari: PASS)
Input: "Content-Length: 30\r\nContent-Length: 30,30". Expected: 30.: FAIL (Chrome: PASS, Safari: PASS)
Input: "Content-Length: 42,30". Expected: network error.: FAIL (Chrome: PASS, Safari: FAIL)
Input: "Content-Length: 30,42". Expected: network error.: FAIL (Chrome: PASS, Safari: FAIL)
Input: "Content-Length: 30,". Expected: network error.: FAIL (Chrome: PASS, Safari: FAIL)
Input: "Content-Length: ,30". Expected: network error.: FAIL (Chrome: PASS, Safari: FAIL)
Input: "Content-Length: aaaah, nah". Expected: network error.: FAIL (Chrome: PASS, Safari: FAIL)
Input: "Content-Length: 30s". Expected: 42.: FAIL (Chrome: PASS, Safari: FAIL)
Input: "Content-Length: 0x20". Expected: 42.: FAIL (Chrome: PASS, Safari: FAIL)
Input: "Content-Length: 030, 30". Expected: network error.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b75ba7dbf5a9
[wpt PR 27894] - Fetch: redo Content-Length parser test names, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d2275d54053e
[wpt PR 27894] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.