Closed Bug 1774120 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34418 - Fix streaming upload tests

Categories

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

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yutaka Hirano <yhirano@chromium.org> wrote:

Fix streaming upload tests

  • Streaming upload is disabled on HTTP/1.1. Move some tests to the
    h2 file.
  • Explicitly test that streaming upload is blocked on HTTP/1.1.

421 handling hasn't been implemented yet.

Also fix the implementation which blocked CORS requests unintentionally.

Change-Id: I8da8ea411ae6d55e2d7dfddc34f3da529651aa7f
Bug: 1234368
Reviewed-on: https://chromium-review.googlesource.com/3699531
WPT-Export-Revision: 8f9377b25948b33fb44dc261bd4ff4df89cda322

Component: web-platform-tests → DOM: Networking
Product: Testing → Core
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 8 tests and 5 subtests

Status Summary

Firefox

OK : 8
PASS: 48
FAIL: 44

Chrome

OK : 8
PASS: 84
FAIL: 8

Safari

OK : 8
PASS: 44
FAIL: 48

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /fetch/api/basic/request-upload.any.worker.html [wpt.fyi]
    • 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)
    • Streaming upload shouldn't work on Http/1.1.: FAIL (Chrome: PASS, Safari: FAIL)
  • /fetch/api/basic/request-upload.any.sharedworker.html [wpt.fyi]
    • 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)
    • Streaming upload shouldn't work on Http/1.1.: FAIL (Chrome: PASS, Safari: FAIL)
  • /fetch/api/basic/request-upload.any.serviceworker.html [wpt.fyi]
    • 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)
    • Streaming upload shouldn't work on Http/1.1.: FAIL (Chrome: PASS, Safari: FAIL)
  • /fetch/api/basic/request-upload.any.html [wpt.fyi]
    • 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)
    • Streaming upload shouldn't work on Http/1.1.: FAIL (Chrome: PASS, Safari: FAIL)
  • /fetch/api/basic/request-upload.h2.any.worker.html [wpt.fyi]
    • Fetch with POST with empty ReadableStream: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch with POST with ReadableStream: 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)
    • Feature detect for POST with ReadableStream: FAIL (Chrome: PASS, Safari: FAIL)
    • Feature detect for POST with ReadableStream, using request object: FAIL (Chrome: FAIL, Safari: FAIL)
  • /fetch/api/basic/request-upload.h2.any.html [wpt.fyi]
    • Fetch with POST with empty ReadableStream: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch with POST with ReadableStream: 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)
    • Feature detect for POST with ReadableStream: FAIL (Chrome: PASS, Safari: FAIL)
    • Feature detect for POST with ReadableStream, using request object: FAIL (Chrome: FAIL, Safari: FAIL)
  • /fetch/api/basic/request-upload.h2.any.sharedworker.html [wpt.fyi]
    • Fetch with POST with empty ReadableStream: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch with POST with ReadableStream: 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)
    • Feature detect for POST with ReadableStream: FAIL (Chrome: PASS, Safari: FAIL)
    • Feature detect for POST with ReadableStream, using request object: FAIL (Chrome: FAIL, Safari: FAIL)
  • /fetch/api/basic/request-upload.h2.any.serviceworker.html [wpt.fyi]
    • Fetch with POST with empty ReadableStream: FAIL (Chrome: PASS, Safari: FAIL)
    • Fetch with POST with ReadableStream: 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)
    • Feature detect for POST with ReadableStream: FAIL (Chrome: PASS, Safari: FAIL)
    • Feature detect for POST with ReadableStream, using request object: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a0bbf1725920 [wpt PR 34418] - Fix streaming upload tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/ef8872dc5a19 [wpt PR 34418] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.