[wpt-sync] Sync PR 27483 - Define blink::mojom::KeepAliveHandleFactory
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27483 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27483
Details from upstream follow.
b'Yutaka Hirano <yhirano@chromium.org>' wrote:
Define blink::mojom::KeepAliveHandleFactory
We've used blink::mojom::LocalFrameHost to issue KeepAliveHandles for
requests with keepalive set. That doesn't work for keepalive requests
initiated in unload handlers in nested frames, because the
RenderFrameHost object is destructed without waiting for the end of
unload handlers.This CL defines a separate interface, KeepAliveHandleFactory. The
renderer side gets a mojo::Remote for KeepAliveHandleFactory long before
the frame is destructed, in order to avoid the above problem.Bug: 1161196
Change-Id: I92ef0073548d8755e42bc69f957e518a73d9e52a
Reviewed-on: https://chromium-review.googlesource.com/2675428
WPT-Export-Revision: 230572e761162592adb60e1753f1d322f02af697
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=02b2fb4d9d207ace40ed39aaef5f9b10d5b1a620
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 8 subtests
Status Summary
Firefox
OK : 1
PASS: 4
FAIL: 4
Chrome
OK : 1
PASS: 7
FAIL: 1
Safari
OK : 1
PASS: 8
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
cross-origin redirect with preflight: FAIL
New Tests That Don't Pass
/fetch/api/basic/keepalive.html
same-origin: FAIL (Chrome: PASS, Safari: PASS)
cross-origin redirect: FAIL (Chrome: PASS, Safari: PASS)
cross-origin redirect with preflight: FAIL (Chrome: PASS, Safari: PASS)
keepalive in onunload in nested frame in another window: FAIL (Chrome: FAIL, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/64c5121bf465 [wpt PR 27483] - Define blink::mojom::KeepAliveHandleFactory, a=testonly https://hg.mozilla.org/integration/autoland/rev/474582099871 [wpt PR 27483] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/64c5121bf465
https://hg.mozilla.org/mozilla-central/rev/474582099871
Description
•