Bug 346152 - SWT Browser Widget shares cookies with Safari
Summary: SWT Browser Widget shares cookies with Safari
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Mac OS X
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-05-17 16:27 EDT by Rajeev Dayal CLA
Modified: 2018-03-22 11:24 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajeev Dayal CLA 2011-05-17 16:27:16 EDT
Build Identifier: Eclipse 3.5+

When using the SWT Browser widget on Mac OS X (the one that uses WebKit as the underlying renderer), any cookies set in Safari (external) are picked up by the SWT Browser. Conversely, any cookies set or cleared by the SWT Browser causes external Safari to be  affected.

An option should be added to not share cookies between the SWT Browser and Safari. This would be very helpful when using the SWT Browser for OAuth-type login.

Here's a project by Google that allows developers to Webkit as the renderer for an embedded user interface. Some mods have been made to prevent Webkit from using the global cookie storage (shared with Safari):

http://code.google.com/p/gtm-oauth2/

Reproducible: Always
Comment 1 Lakshmi P Shanmugam CLA 2017-07-04 06:28:54 EDT
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more
information.