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

Issue 767189 link

Starred by 14 users

Issue metadata

Status: Assigned
Merged: issue 760924
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression

Blocked on:
issue 760924



Sign in to add a comment

No entry in DevTools Network Panel when downloading file

Reported by dawid.de...@gmail.com, Sep 20 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

Steps to reproduce the problem:
1. Run Chrome 61
2. Open DevTools > Network Panel
3. Click on link leading to file

What is the expected behavior?
New record of network request with status 200

What went wrong?
No new records shown on Network Panel

Did this work before? Yes 60

Chrome version: 61  Channel: n/a
OS Version: 10.0
Flash Version:
 
Chrome 61 - bad.png
13.3 KB View Download
Chrome 60 - good.png
21.2 KB View Download
Is there a public URL or a hosted demo where this reproduces?
Labels: Needs-Feedback Needs-Triage-M61
Yes. Please follow the link: http://most.github.io/download-me.html
My results are shown at attached pictures.
Chrome 61 - bad 1.png
29.1 KB View Download
Chrome 60 - good 1.png
34.3 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 21 2017

Cc: krajshree@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by woxxom@gmail.com, Sep 21 2017

Disabling chrome://flags/#browser-side-navigation aka PlzNavigate fixes the bug.
Also observed in old versions e.g. M49 when force-enabling PlzNavigate via --enable-browser-side-navigation
Cc: clamy@chromium.org nasko@chromium.org
Components: UI>Browser>Navigation UI>Browser>Downloads
CCing PlzNavigate folks.

It's been a while since I'd seen this code, but this used to work by way of the BufferedResourceHandler sending OnResponseStarted down to the renderer (this was why the ResourceResponseInfo needed to be copied rather than passed as a unique_ptr, since it actually went to two folks), despite the renderer never actually loading the navigation. This was done just so the request would flow through the renderer's usual path to DevTools.

Since PlzNavigate means the renderer doesn't even exist at this point, we'd probably need an alternate path into DevTools or something?

(I'm sure everything's moved around since though.)
Cc: davidben@chromium.org
Cc: jam@chromium.org dgozman@chromium.org pfeldman@chromium.org
Labels: Proj-PlzNavigate

Comment 9 by dah...@chromium.org, Sep 21 2017

Cc: -pfeldman@chromium.org dtrainor@chromium.org
Components: -UI>Browser>Downloads
Blockedon: 760924
Status: Available (was: Unconfirmed)
I confirm the issue.
We need DevTools to be notified of navigation on the browser-side. Currently, Devtools is notified of them afterward on the renderer process. A download is a cancelled navigation, that's why DevTools is not aware of it.

This is more or less related to  issue 760924 .
Owner: dgozman@chromium.org
Status: Assigned (was: Available)
Mergedinto: 760924
Status: Duplicate (was: Assigned)
FWIW... the (aka PlzNavigate) flag name has changed (Chrome 64). The flag I found is,
chrome://flags/#navigation-mojo-response

Comment 14 by clamy@chromium.org, Feb 22 2018

NavigationMojoResponse corresponds to a different project. The PlzNavigate flag was removed because the project launched.

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

Owner: caseq@chromium.org
Status: Assigned (was: Duplicate)
Not quite a duplicate of 760924, since not all downloads are currently navigations (see  issue 828963  for context).

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

Cc: caseq@chromium.org
 Issue 785134  has been merged into this issue.

Sign in to add a comment