Summary: | Check if Storage panel exists before calling its methods | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yury Semikhatsky <yurys> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Feldman <pfeldman> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | jorlow, michaeln, pfeldman, timothy | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Yury Semikhatsky
2009-11-11 03:19:37 PST
Created attachment 42950 [details]
patch
Comment on attachment 42950 [details]
patch
There is a handful of panel.storage usages overall. Why are you fixing only one?
Created attachment 42983 [details]
[PATCH] fix
Otherwise things crash when Storage is one of the hidden panels on the sites that use stores....
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/inspector/front-end/inspector.js Committed r50840 updateDOMStorage should never be called if the panel is hidden because IC will send updates only after DOM storage entries have been requested. (In reply to comment #2) > (From update of attachment 42950 [details]) > There is a handful of panel.storage usages overall. Why are you fixing only > one? |