Bug 41687 - Web Inspector: preserve Scripts panel sidebar width between inspector launches
Summary: Web Inspector: preserve Scripts panel sidebar width between inspector launches
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Yury Semikhatsky
URL:
Keywords:
Depends on:
Blocks: 19207
  Show dependency treegraph
 
Reported: 2010-07-06 05:17 PDT by Yury Semikhatsky
Modified: 2010-07-07 03:11 PDT (History)
9 users (show)

See Also:


Attachments
Patch (3.84 KB, patch)
2010-07-06 05:21 PDT, Yury Semikhatsky
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 2010-07-06 05:17:58 PDT
Preserve Scripts panel sidebar width between Web Inspector launches.
Comment 1 Yury Semikhatsky 2010-07-06 05:21:10 PDT
Created attachment 60622 [details]
Patch
Comment 2 Pavel Feldman 2010-07-06 05:32:52 PDT
I think we should use localStore for front-end view settings. Should be easier to implement / maintain. How about we try it here and if we like it - migrate to it elsewhere!
Comment 3 Yury Semikhatsky 2010-07-06 06:02:27 PDT
(In reply to comment #2)
> I think we should use localStore for front-end view settings. Should be easier to implement / maintain. How about we try it here and if we like it - migrate to it elsewhere!

I tried to access localStorage from inspector front-end and got following error in Safari:

Error: QUOTA_EXCEEDED_ERR: DOM Exception 22

in Chrome I'm getting DOM Exception 18 on attempt to get localStorage. So if we want to migrate to Local Storage for front-end settings let's do this as a separate change.
Comment 4 Alexei Masterov 2010-07-06 06:30:11 PDT
This bug is a duplicate of https://bugs.webkit.org/show_bug.cgi?id=19207
Comment 5 Yury Semikhatsky 2010-07-07 03:11:51 PDT
Sidebar positions are now saved in all tabs. See bug 19207.