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

Issue 851368 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Feature



Sign in to add a comment

[Feature request] chrome.windows.create add option to specify cookie store

Reported by tomislav...@dynatrace.com, Jun 11 2018

Issue description

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

Steps to reproduce the problem:
We have an extension that is used to record user click on the website. To be able to do it properly we have to ignore all existing cookies and also clean up those that were created inside of that session.
To do that we are modifying response headers and adding prefixes to cookies, but as cookies can also be added dynamically and there is no way to inject the document.cookie wrappers early enough what complicates the logic. Also, we are not able to cover all the use cases that can happen.

What is the expected behavior?

What went wrong?
We would like to request an optional property that would allow us to specify a custom cookie store id when creating a window. (via chrome.windows.create)

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 67.0.3396.79  Channel: stable
OS Version: 10.0
Flash Version: 

I hope this is the right place to request a feature. I got a tip to post it here on https://groups.google.com/a/chromium.org/forum/#!topic/chromium-discuss/45R0eS36wMw
 
Labels: Needs-Triage-M67
Cc: sindhu.chelamcherla@chromium.org
Components: Platform>Extensions Blink>Storage>CookiesAPI
Labels: -Type-Bug Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Mac Type-Feature
Status: Untriaged (was: Unconfirmed)
As per comment#0 this seems to be a feature request. Hence marking it as Untriaged for further investigation from de team.

NOTE: Tentatively adding Platform>Extensions and  Blink>Storage>CookiesAPI components. Please remove if not applicable.

Thanks!
Cc: rdevlin....@chromium.org
Labels: -M-69 -Target-69
Status: Available (was: Untriaged)
Interesting idea.  I can see the utility in this, but I'm not sure it's something we'll be able to get to in the near future.

As a workaround, have you considered requiring the user to enable the extension in incognito and opening an incognito window?  That's effectively a new cookie jar.
Thank you for the suggestion, but sadly that is not an option for us at the moment. Hope you guys will find some time in the near future. Thank you for the info.

Sign in to add a comment