WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
31343
Check if Storage panel exists before calling its methods
https://bugs.webkit.org/show_bug.cgi?id=31343
Summary
Check if Storage panel exists before calling its methods
Yury Semikhatsky
Reported
2009-11-11 03:19:37 PST
Storage panel is diabled by defaut in Chromium and it may lead to exceptions in the frontend if localStorage is accessed in the inspected page and the frontend gets notified about the storage.
Attachments
patch
(1.01 KB, patch)
2009-11-11 04:14 PST
,
Yury Semikhatsky
pfeldman
: review-
Details
Formatted Diff
Diff
[PATCH] fix
(1.84 KB, patch)
2009-11-11 11:25 PST
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Yury Semikhatsky
Comment 1
2009-11-11 04:14:54 PST
Created
attachment 42950
[details]
patch
Pavel Feldman
Comment 2
2009-11-11 11:08:14 PST
Comment on
attachment 42950
[details]
patch There is a handful of panel.storage usages overall. Why are you fixing only one?
Pavel Feldman
Comment 3
2009-11-11 11:25:16 PST
Created
attachment 42983
[details]
[PATCH] fix Otherwise things crash when Storage is one of the hidden panels on the sites that use stores....
Pavel Feldman
Comment 4
2009-11-11 13:37:53 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/inspector/front-end/inspector.js Committed
r50840
Yury Semikhatsky
Comment 5
2009-11-12 00:03:44 PST
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?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug