New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 760924 link

Starred by 20 users

Issue metadata

Status: Duplicate
Merged: issue 791838
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug-Regression

Blocking:
issue 767189
issue 750901
issue 755997



Sign in to add a comment

NetworkInspectorAgent is aware of navigations only at commit time with PlzNavigate.

Project Member Reported by arthurso...@chromium.org, Aug 31 2017

Issue description

I took a look at the InspectorNetworkAgent class.
InspectorNetworkAgent::WillSendRequest() should be called before the request is
sent and on each redirect.

But with PlzNavigate(--enable-browser-side-navigation), it is called after the
navigation has been made. Indeed InspectorNetworkAgent::WillSendRequest() is
called in the Renderer (in FrameFetchContext).

It is a problem. For instance in Devtools > Network, requests for an iframe
are not displayed until the responses are received.

If you navigate to:
<html>
  <img src="http://localhost:8080/navigation/resources/slow-resource.pl?delay=3000"></img>
  <iframe src="http://localhost:8080/navigation/resources/slow-resource.pl?delay=6000"></iframe>
</html>

You will see the pending request for the image, but not for the iframe. (See video)

What do you think should be done for fixing the issue? We probably have to
communicate these information from the browser process.
 
out-19.ogv
404 KB View Download
Cc: alex...@chromium.org
Is this possibly related to  issue 750901 ?
Yes, I think it is.
Blocking: 750901
Cc: yhirano@chromium.org
 Issue 762529  has been merged into this issue.
This is indeed a problem (although not the most important one), and I am not aware of easy ways to fix it. Let's keep this one in mind while cleaning up after PlzNavigate launch.
Blocking: 755997
Blocking: 767189

Comment 8 by nasko@chromium.org, Sep 28 2017

DevTools team, do you plan on fixing this anytime soon? It seems that it affects a multitude of scenarios and PlzNavigate is now the default, so it will be good to have it fixed sooner rather than later.
Owner: caseq@chromium.org
Status: Assigned (was: Available)
To fix this, we should instrument navigation request on the browser side and unify the request id between browser and renderer.
Cc: davidben@chromium.org dtrainor@chromium.org krajshree@chromium.org
Issue 767189 has been merged into this issue.
See issue 767189 for download scenario, which has the same root cause.

Comment 12 by caseq@chromium.org, Apr 11 2018

Mergedinto: 791838
Status: Duplicate (was: Assigned)

Sign in to add a comment