[wpt-sync] Sync PR 21291 - Support CORS preflight for fetch keepalive and sendBeacon
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][necko-triaged])
Sync web-platform-tests PR 21291 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/21291
Details from upstream follow.
Yutaka Hirano <yhirano@chromium.org> wrote:
Support CORS preflight for fetch keepalive and sendBeacon
This is enabled only when Out-of-Renderer CORS is enabled.
Bug: 835821, 724929, 876678, 876670, 876669, 876668, 876666, 848275
Change-Id: Ia6a3553797007f9bb905de8b84d39ec7b2370d1b
Reviewed-on: https://chromium-review.googlesource.com/2011786
WPT-Export-Revision: 128bff2f4f5a8120293bccc4e01ce031b98936f3
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=15fb026d510a3e1b94c51c17bb14e620db6a2290
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 51 tests
Status Summary
Firefox
OK : 10
PASS : 189[GitHub] 230[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL : 23
Chrome
OK : 10
PASS : 207
FAIL : 5
Safari
OK : 8
PASS : 146
FAIL : 15
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/fetch/api/basic/keepalive.html
same-origin: FAIL
cross-origin redirect: FAIL
/fetch/api/abort/general.any.worker.html
Stream will not error if body is empty. It's closed with an empty queue before it errors.: FAIL
/fetch/api/abort/general.any.html
Stream will not error if body is empty. It's closed with an empty queue before it errors.: FAIL
/fetch/api/abort/general.any.serviceworker.html
Stream will not error if body is empty. It's closed with an empty queue before it errors.: FAIL
New Tests That Don't Pass
/fetch/api/basic/keepalive.html
same-origin: FAIL (Chrome: PASS, Safari: PASS)
cross-origin redirect with preflight: FAIL (Chrome: FAIL, Safari: PASS)
cross-origin redirect: FAIL (Chrome: PASS, Safari: PASS)
/fetch/api/abort/general.any.worker.html
Readable stream synchronously cancels with AbortError if aborted before reading: FAIL (Chrome: FAIL, Safari: FAIL)
Stream will not error if body is empty. It's closed with an empty queue before it errors.: FAIL (Chrome: PASS, Safari: PASS)
/fetch/api/abort/general.any.html
Readable stream synchronously cancels with AbortError if aborted before reading: FAIL (Chrome: FAIL, Safari: FAIL)
Stream will not error if body is empty. It's closed with an empty queue before it errors.: FAIL (Chrome: PASS, Safari: PASS)
/fetch/api/abort/general.any.serviceworker.html
Readable stream synchronously cancels with AbortError if aborted before reading: FAIL (Chrome: FAIL, Safari: FAIL)
Stream will not error if body is empty. It's closed with an empty queue before it errors.: FAIL (Chrome: PASS, Safari: PASS)
/fetch/api/abort/general.any.sharedworker.html
Readable stream synchronously cancels with AbortError if aborted before reading: FAIL (Chrome: FAIL)
Stream will not error if body is empty. It's closed with an empty queue before it errors.: FAIL (Chrome: PASS)
/websockets/stream-tentative/abort.any.serviceworker.html
abort after connect should do nothing: FAIL (Chrome: PASS, Safari: FAIL)
abort during handshake should work: FAIL (Chrome: PASS, Safari: FAIL)
abort before constructing should prevent connection: FAIL (Chrome: PASS, Safari: FAIL)
/websockets/stream-tentative/abort.any.worker.html
abort after connect should do nothing: FAIL (Chrome: PASS, Safari: FAIL)
abort during handshake should work: FAIL (Chrome: PASS, Safari: FAIL)
abort before constructing should prevent connection: FAIL (Chrome: PASS, Safari: FAIL)
/websockets/stream-tentative/abort.any.sharedworker.html
abort after connect should do nothing: FAIL (Chrome: PASS)
abort during handshake should work: FAIL (Chrome: PASS)
abort before constructing should prevent connection: FAIL (Chrome: PASS)
/websockets/stream-tentative/abort.any.html
abort after connect should do nothing: FAIL (Chrome: PASS, Safari: FAIL)
abort during handshake should work: FAIL (Chrome: PASS, Safari: FAIL)
abort before constructing should prevent connection: FAIL (Chrome: PASS, Safari: FAIL)
Updated•4 years ago
|
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b4d29e74bed [wpt PR 21291] - Support CORS preflight for fetch keepalive and sendBeacon, a=testonly https://hg.mozilla.org/integration/autoland/rev/36448d74a03e [wpt PR 21291] - Update wpt metadata, a=testonly
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7b4d29e74bed
https://hg.mozilla.org/mozilla-central/rev/36448d74a03e
Description
•