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

Issue 810000 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Cookie domain list is incomplete when I refresh an existing page with devtools open

Project Member Reported by philipkovac@google.com, Feb 7 2018

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10032.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.140 Safari/537.36
Platform: 10032.86.0 (Official Build) stable-channel chell

Steps to reproduce the problem:
1. Visit a site which has cookies from several domains, eg, https://www.nytimes.com/ (without signin) or https://app.google.stackdriver.com (once signed in)
Wait for the page to load.
2. Open Devtools
3. Switch to the applications tab
4. Expand the "Cookies" tree item
5. Observe the list of cookie domains
6. Refresh the page

What is the expected behavior?
The items under the "Cookies" tree item remain more-or-less identical once it fully repopulates on reload.

What went wrong?
Only a small number of cookie domains actually wind up being listed under the the "Cookies" tree item. You can confirm that this does not reflect reality by closing and re-opening DevTools after entering this state. At that point the full list of cookie domains will be available again.

Did this work before? Yes Unknown

Chrome version: 63.0.3239.140  Channel: stable
OS Version: 10032.86.0
Flash Version: 

This has also been observed on Chrome 64 on Linux.
 
Owner: phulce@chromium.org
Status: Assigned (was: Unconfirmed)
Thanks for filing philipkovac. Something very strange indeed is going on with stackdriver. The entire domain is disappearing from the table after flashing for a second and cookies seem to get shuffled into the wrong frames/origins. Is this what you observe as well? 

For NYT though I've tried numerous refreshes/hard refreshes/opening closing DevTools and am not able to reproduce. I always see the same set of ~40 frames and same set of cookies for the nytimes root frame across a page load.
Status: Started (was: Assigned)
Update on this, looks like it's an OOPIF issue. With the introduction of out of process iframes, the cookies are being cleared from the UI on every new google-origin iframe navigation. You also probably observed this on NYT even though I didn't because a different ad loaded that was covered under OOPIF for you :)

https://chromium-review.googlesource.com/c/chromium/src/+/909832 contains a fix that ca n work for cookies as well once it lands
Yes, that's precisely the behavior I observe for Stackdriver. Glad there's a fix in the pipeline, thanks for looking!

Comment 6 by phulce@chromium.org, Feb 26 2018

Status: Fixed (was: Started)

Sign in to add a comment