Bug 115417 - Browser state retained on app launch
Summary: Browser state retained on app launch
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh Intel OS X 10.8
: P3 Normal
Assignee: Nobody
Depends on:
Reported: 2013-04-30 06:16 PDT by timhefferon
Modified: 2013-05-01 09:33 PDT (History)
2 users (show)

See Also:

screenshot of system preferences showing settings should prevent restoring previous tabs (96.73 KB, image/png)
2013-05-01 08:31 PDT, timhefferon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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?

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.