Android: Changing networks midway through pageload leads to incomplete load
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: acreskey, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
382.49 KB,
image/jpeg
|
Details |
When we transition networks midway through page load we are sometimes left with a partially loaded page.
For example:
• Share network via wifi from a host desktop machine.
• Connect to this wifi from Geckoview_exmple
• Start loading a large website (e.g. www.washingtonpost.com)
• Midway through the pageload (after first paint), disable the wifi sharing
• The Android device will transition to the next available wifi network
Result:
The page will be left in an incomplete state. [see attachment]
Only reloading it will fix it.
Expectation:
In progress connections are automatically retried, allowing for a complete pageload?
Chrome does seem to often handling this gracefully, but certainly not always.
Opening this bug for discussion -- it's not clear if we could do this better.
To make the partially loaded page behaviour easier to reproduce, I add packet-level network throttling on the wifi host desktop (e.g. 2mbps and 50ms latency).
I did ensure that network.http.http2.move_to_pending_list_after_network_change
from bug 1706377 was enabled.
From remote DevTools, the content did look to be almost all HTTP/2 requests.
Reporter | ||
Comment 1•6 months ago
|
||
Reporter | ||
Comment 2•6 months ago
|
||
Profile:
https://share.firefox.dev/42AWuAU
Not sure how long it takes for requests to timeout?
Reporter | ||
Comment 3•6 months ago
|
||
Somehow this was duplicated, see bug 1879387
Description
•