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

Issue 750898 link

Starred by 2 users

Issue metadata

Status: Fixed
Merged: issue 750901
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocking:
issue 800893



Sign in to add a comment

DevTools: Cookie panel is not showing up for OOPIF requests

Project Member Reported by alex...@chromium.org, Jul 31 2017

Issue description

What steps will reproduce the problem?
(1) Launch Chrome with --site-per-process or --isolate-origins=https://csreis.github.io and a clean profile
(2) Navigate to https://csreis.github.io
(3) Open DevTools, check "Preserve log" and "Disable cache" under network.
(4) Execute 
  document.cookie = "foo=bar"
(5) Do location.reload(), click on the network request in devtools, and double-check that the new cookie was sent in the Cookies pane.
(6) Go to http://csreis.github.io/tests/cross-site-iframe.html
(7) Click "Go cross-site (simple page)".
(8) In Devtools, click on the subframe's network request (https://csreis.github.io)
(9) Notice that the request does *not* have the "Cookies" pane.  When OOPIF is not used for the subframe, the pane appears properly, and it shows the "foo=bar" cookie under "Request cookies".

Note that the cookie still exists for https://csreis.github.io, which you can verify by inspecting the subframe and checking "document.cookie".  It's just that the request that creates an OOPIF is not showing the "Cookies" panel.  It also shows the status of the request as "(pending)", and there's a note "Provisional headers are shown" under request headers -- I'm not sure if that's expected?

Reloading the subframe shows the request and the cookie pane properly, but clicking "Go same-site" followed by "Go cross-site" shows the same issue for the second navigation.  So this seems to only affect cross-process subframe navigations.

dgozman: would you be able to triage this from the devtools side?  I recall at some point, such cross-process navigations showed up as two requests in devtools, one for the navigation starting in the original process (which was then canceled), the other for the (real) navigation in the new process.  That seems to be fixed now, but looks like we still might have issues showing some properties of the request?

There's also an issue with PlzNavigate, where the OOPIF's request does not show up in DevTools at all, but I'll file a separate bug with a simpler repro for that.

 
Cc: dgozman@chromium.org
Owner: allada@chromium.org
Blaise, I think we are using wrong target for the request here? Could you please look into this?
Owner: eostroukhov@chromium.org
Owner: caseq@chromium.org
Mergedinto: 750901
Status: Duplicate (was: Assigned)

Comment 5 by creis@chromium.org, Dec 27 2017

Cc: caseq@chromium.org
Labels: -OS-All OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
Owner: pfeldman@chromium.org
Status: Assigned (was: Duplicate)
 Issue 750901  was fixed in r524191 and r525848 (65.0.3301.0).  However, perhaps due to our intentional change in  issue 793692  (which avoids sending the cross-site cookies to the renderer process), this bug still exists in today's Canary (65.0.3305.0).

pfeldman@: Do you know if there's any path to displaying the cookies in the Cookie panel of DevTools without sending them to the main frame's renderer process?  It's not as time critical, but I wonder if this is something we'll eventually resolve or if it's a WontFix.
Owner: caseq@chromium.org
It is not a WontFix, moving network instrumentation to the browser will resolve it. But that is a large ongoing effort we are planning to complete in Q1'18.
Labels: M-65
Blocking: 800893
Owner: pfeldman@chromium.org
Status: Fixed (was: Assigned)
It is fixed with a combination of early attach and cookie fixes.

Sign in to add a comment