New issue
Advanced search Search tips

Issue 728771 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Consider passing NetInfo attributes to the render when the render is created

Project Member Reported by tbansal@chromium.org, Jun 1 2017

Issue description

Currently, when a renderer is created, BrowserOnlineStateObserver listens to that event, and notifies the renderer of the current network state (type, downlinkMax, rtt, downlink, effectiveType).
Also, recall that when a renderer is created, NetworkInformation class queries the NetworkStateNotifier for the current network state in its ctor.

However, when the *first* renderer is created, there is a race between: (i) The renderer getting created; and, (ii) IPC from BrowserOnlineStateObserver to renderer about the current network state. This race may sometimes cause the renderer to have no valid network state.

One way to fix this race is to pass the network state in the renderer creation IPC.

I suspect this affects only the first renderer. So, marking this as P3.
 
Description: Show this description

Comment 2 by bengr@chromium.org, Nov 30 2017

Refreshed during triage.

Comment 3 by bengr@chromium.org, Dec 1 2017

Status: Available (was: Untriaged)
Refreshed during triage.
Refreshed during triage.

Comment 6 by bengr@chromium.org, May 2 2018

Tarun, what should be done with this issue?
Status: WontFix (was: Available)
It's pretty low priority. Closing this for now until we find it blocks something.
Status: Archived (was: WontFix)

Sign in to add a comment