Bug
1690831 [wpt PR 27483] - Define blink::mojom::KeepAliveHandleFactory, a=testonly
Automatic update from web-platform-tests
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/c/chromium/src/+/
2675428
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850990}
--
wpt-commits:
8b7b27c5024e94bbde3cf980f60df94e5b10887c
wpt-pr: 27483