New issue
Advanced search Search tips

Issue 842188 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

F12 (Developer tools) re-initial the cookie value

Reported by yasernad...@gmail.com, May 11 2018

Issue description

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

Steps to reproduce the problem:
1. Create a timer that lunch each second ans write document.cookie in console each second.
2. create a php file and set a session like "session_timeout" as 5 seconds.
3. run the php file and after 6 secs press F12 and check the console. during 5 sec all is correct and after that the session value that you put in back-end become disappear and when F12 pressed, the session value re initial with the current time.

What is the expected behavior?

What went wrong?
The cookie values changed by pressing F12

Did this work before? N/A 

Chrome version: 66.0.3359.139  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
bug.png
138 KB View Download
Ignore it for now.
I found a bug in my code.
Maybe it is because of that.

Labels: Needs-Triage-M66
Cc: susan.boorgula@chromium.org
Labels: Triaged-ET Needs-Feedback
yasernaderi5980@ Thanks for the update.

As per comment #1, can you please confirm if this issue can be closed?

Thanks..
I can not say until now if it's because of my code or Google Chrome.
I check my code on firefox and there is any problem.
I'll tell you as soon as possible.

thanks.

Project Member

Comment 5 by sheriffbot@chromium.org, May 14 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

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

It's a little bit complicate to solve the problem.

I explain you, and hope can resolve it.

In my code I use a javascript library (NVD3: http://nvd3.org/).
In line 155 of this library (https://github.com/novus/nvd3/blob/master/build/nv.d3.js#L155) the code: "window.nv = nv;" cause problem in Google Chrome.

If I load this file when the session expired, if I click F12 the cookie restart (I mean: After 10 seconds I want to have a popup that the session expired and when I click F12 the popup disappeared, because cookie restarted and my code thinks that it's not expired).



Components: Platform>DevTools
Labels: TE-NeedsTriageHelp
As per comment #6, it seems to be related to coding in javascript library and it is out of TE-scope. Hence, adding label TE-NeedsTriageHelp for further investigation from dev team.

Thanks...!!

Comment 8 by caseq@chromium.org, May 16 2018

Cc: caseq@chromium.org einbinder@chromium.org
Components: -Platform>DevTools -Blink Platform>DevTools>Network
Labels: Needs-Feedback
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
yasernaderi5980@, can you provide the URL for us to reproduce the problem? Also, do you set the re-appearing session cookie for one particular URL or for multiple resources on the server?

I think what happens there is that DevTools load a resource from the server (a source map, perhaps?) and this has a side effect of setting the cookie.
I hope I could provide a url but I can not, because of the rules.
This problem happen in all of the url.
I don't think that it can be ceacuse of loading a resource from the server,
it's because of the js library that I load for front-end.

I try to create this error but not for now (I'm too busy), but as soon as I
make it I'll informe you.

Thanks.
Owner: jarhar@chromium.org

Sign in to add a comment