Closed Bug 1688809 Opened 5 years ago Closed 4 years ago

[wpt-sync] Sync PR 27322 - Add fetch upload test on HTTP 421 response.

Categories

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

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Yoichi Osato <yoichio@chromium.org>' wrote:

Add fetch upload test on HTTP 421 response.

Following whatwg/fetch#982,
fetch upload streaming on 421 (Misdirected Request) should be rejected.

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 7 tests and 19 subtests

Status Summary

Firefox

OK : 7
PASS : 86
FAIL : 47

Chrome

OK : 7
PASS : 108
FAIL : 25

Safari

OK : 6
PASS : 62
FAIL : 52
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/service-workers/service-worker/fetch-event.https.html
Service Worker responds to fetch event with the correct keepalive value: FAIL
XHR upload progress events for response coming from SW: FAIL

New Tests That Don't Pass

/fetch/api/basic/request-upload.any.html
Fetch with POST with ReadableStream: FAIL (Chrome: FAIL, Safari: FAIL)
Fetch with POST with ReadableStream containing String: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing null: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing number: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing ArrayBuffer: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing Blob: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream on 421 response should return the response and not retry.: FAIL (Chrome: FAIL, Safari: FAIL)
/fetch/connection-pool/network-partition-key.html
CSP sandbox: FAIL (Chrome: FAIL, Safari: FAIL)
about:blank from opaque origin iframe: FAIL (Chrome: FAIL, Safari: FAIL)
/service-workers/service-worker/fetch-event-referrer-policy.https.html
Service Worker responds to fetch event with the referrer policy: FAIL (Chrome: FAIL, Safari: FAIL)
/fetch/api/basic/request-upload.any.worker.html
Fetch with POST with ReadableStream: FAIL (Chrome: FAIL, Safari: FAIL)
Fetch with POST with ReadableStream containing String: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing null: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing number: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing ArrayBuffer: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing Blob: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream on 421 response should return the response and not retry.: FAIL (Chrome: FAIL, Safari: FAIL)
/service-workers/service-worker/fetch-event.https.html
FetchEvent#body is a ReadableStream: FAIL (Chrome: FAIL, Safari: FAIL)
FetchEvent#body is a ReadableStream and is passed to network fallback: FAIL (Chrome: FAIL, Safari: FAIL)
FetchEvent#body is a ReadableStream, used and passed to network fallback: FAIL (Chrome: PASS, Safari: FAIL)
Service Worker responds to fetch event with the correct keepalive value: FAIL (Chrome: PASS, Safari: PASS)
FetchEvent#request.isReloadNavigation is true (location.reload()): FAIL (Chrome: FAIL, Safari: FAIL)
FetchEvent#request.isReloadNavigation is true (history.go(0)): FAIL (Chrome: FAIL, Safari: FAIL)
FetchEvent#request.isReloadNavigation is true (POST + location.reload()): FAIL (Chrome: FAIL, Safari: FAIL)
FetchEvent#request.isReloadNavigation is true (with history traversal): FAIL (Chrome: FAIL, Safari: FAIL)
FetchEvent#request.isHistoryNavigation is true (with history.go(-1)): FAIL (Chrome: PASS, Safari: FAIL)
FetchEvent#request.isHistoryNavigation is true (with history.go(1)): FAIL (Chrome: PASS, Safari: FAIL)
FetchEvent#request.isHistoryNavigation is false (with history.go(0)): FAIL (Chrome: PASS, Safari: FAIL)
FetchEvent#request.isHistoryNavigation is false (with location.reload): FAIL (Chrome: PASS, Safari: FAIL)
FetchEvent#request.isHistoryNavigation is true (with history.go(-2)): FAIL (Chrome: PASS, Safari: FAIL)
FetchEvent#request.isHistoryNavigation is true (with history.go(2)): FAIL (Chrome: PASS, Safari: FAIL)
FetchEvent#request.isHistoryNavigation is true (POST + history.go(-1)): FAIL (Chrome: PASS, Safari: FAIL)
XHR upload progress events for response coming from SW: FAIL (Chrome: PASS, Safari: PASS)
/fetch/api/basic/request-upload.any.serviceworker.html
Fetch with POST with ReadableStream: FAIL (Chrome: FAIL, Safari: FAIL)
Fetch with POST with ReadableStream containing String: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing null: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing number: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing ArrayBuffer: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream containing Blob: FAIL (Chrome: PASS, Safari: FAIL)
Fetch with POST with ReadableStream on 421 response should return the response and not retry.: FAIL (Chrome: FAIL, Safari: FAIL)
/fetch/api/basic/request-upload.any.sharedworker.html
Fetch with POST with ReadableStream: FAIL (Chrome: FAIL)
Fetch with POST with ReadableStream containing String: FAIL (Chrome: PASS)
Fetch with POST with ReadableStream containing null: FAIL (Chrome: PASS)
Fetch with POST with ReadableStream containing number: FAIL (Chrome: PASS)
Fetch with POST with ReadableStream containing ArrayBuffer: FAIL (Chrome: PASS)
Fetch with POST with ReadableStream containing Blob: FAIL (Chrome: PASS)
Fetch with POST with ReadableStream on 421 response should return the response and not retry.: FAIL (Chrome: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9bb0faecefd9 [wpt PR 27322] - Add fetch upload test on HTTP 421 response., a=testonly https://hg.mozilla.org/integration/autoland/rev/f42bb51538a0 [wpt PR 27322] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.