Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 304059

Summary: [Bowser] getCookie() misses cookies that are not in document.cookie
Product: [Eclipse Project] Platform Reporter: Mickael Istria <mistria>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Grant Gayed <grant_gayed>
Severity: normal    
Priority: P3 CC: fabien.crombez, ipun, Silenio_Quarti
Version: 4.8Keywords: helpwanted, triaged
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Mickael Istria CLA 2010-02-26 11:27:03 EST
Browser.getCookie() cannot retrieve a cookie that has been set in the HTTP Request or Response, but that is not available in document.cookie.

Use-case: I try to retrieve programatically the authentication cookie (pem_auth_cookie) that is attached to my navigation when logging in http://www.bonitasoft.org.
* The cookies I am trying to get are available in the HTTP request and response (we can see them when using Firebug)
* When using "Show cookies" for this page on Firefox 3.6, we can see these cookies
* But they are not available in the document.cookie dom element (I cannot see them in document.cookie, neither from Firebug; nor with an alert(document.cookie) from Firefox, Opera or Eclipse browser)
* Browser.getCookie() cannot find this cookies.
* This is the same behavior on Linux and Windows.

Read http://www.eclipse.org/forums/index.php?t=msg&th=162899&start=0& for full story.
Comment 1 Ian Pun CLA 2017-07-03 10:52:42 EDT
This bug has been triaged. Visit https://wiki.eclipse.org/SWT/Devel/Triage for more details.
Comment 2 Eclipse Genie CLA 2020-03-22 06:51:30 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.