Closed Bug 1879388 Opened 6 months ago Closed 6 months ago

Android: Changing networks midway through pageload leads to incomplete load

Categories

(Core :: Networking, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1879387

People

(Reporter: acreskey, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.

Attached image geckoview_pageload.jpg

Profile:
https://share.firefox.dev/42AWuAU

Not sure how long it takes for requests to timeout?

Somehow this was duplicated, see bug 1879387

Status: NEW → RESOLVED
Closed: 6 months ago
Duplicate of bug: 1879387
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: