Bug 115417

Summary: Browser state retained on app launch
Product: WebKit Reporter: timhefferon
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, mrowe
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Macintosh Intel   
OS: OS X 10.8   
Attachments:
Description Flags
screenshot of system preferences showing settings should prevent restoring previous tabs none

Description timhefferon 2013-04-30 06:16:10 PDT
I frequently have both Safari and Webkit open at the same time. I find when I launch Webkit, it restores certain tabs - either the ones I currently have open in Safari, or the ones I had open during my previous session (I haven't done a thorough test to tell) - even though I have my preferences set so that it should not.

I know Safari and Webkit share some common resources and I wonder whether Webkit is using my current Safari session as a source for opening tabs when I launch Webkit. I'd rather it not do this - I like a "clean slate" when starting a browser. 

Is this a bug? If not is there a way to change the behavior?

Thanks
Comment 1 Alexey Proskuryakov 2013-04-30 23:25:47 PDT
This is expected behavior, as WebKit is just the same Safari binary running with a different set of WebKit frameworks.

Once can disable the behavior of re-opening windows after application restart globally via System Preferences.
Comment 2 timhefferon 2013-05-01 08:31:43 PDT
Created attachment 200215 [details]
screenshot of system preferences showing settings should prevent restoring previous tabs
Comment 3 timhefferon 2013-05-01 08:34:26 PDT
System Preferences - as indicated in the attached screenshot - are already set NOT to restore tabs or previous windows on launching applications - which contrasts with the behavior I am reporting.

The bug is still unresolved.

I do have Glims for Safari installed, which modifies some Safari behaviors - but the "Restore Tabs at Launch" option is also disabled in Glims.
Comment 4 Alexey Proskuryakov 2013-05-01 09:33:38 PDT
OK, but even if my suggestion is incorrect, this is still not a WebKit issue. Windows are re-opened by Safari.