RESOLVED FIXED148191
Web Inspector: Uncaught exception in inspector page while handling event DOMStorage.domStorageItemRemoved
https://bugs.webkit.org/show_bug.cgi?id=148191
Summary Web Inspector: Uncaught exception in inspector page while handling event DOMS...
Joseph Pecoraro
Reported 2015-08-19 14:24:22 PDT
* SUMMARY Occasionally I see this uncaught exception: CONSOLE ERROR Uncaught exception in inspector page while handling event DOMStorage.domStorageItemRemoved: TypeError: null is not an object (evaluating 'this._domStorageForIdentifier(storageId).itemRemoved') * STEPS TO REPRODUCE 1. Inspect twitter.com 2. Navigate to daringfireball.net 3. Navigate back to twitter.com 4. Navigate forward to daringfireball.net => uncaught exception * EXCEPTION CONSOLE ERROR Uncaught exception in inspector page while handling event DOMStorage.domStorageItemRemoved: TypeError: null is not an object (evaluating 'this._domStorageForIdentifier(storageId).itemRemoved') itemRemoved@WebInspectorUI.framework/Resources/Controllers/StorageManager.js:114:49 domStorageItemRemoved@WebInspectorUI.framework/Resources/Protocol/DOMStorageObserver.js:50:48 dispatchEvent@WebInspectorUI.framework/Resources/Protocol/InspectorBackend.js:380:42 _dispatchEvent@WebInspectorUI.framework/Resources/Protocol/InspectorBackend.js:279:32 dispatch@WebInspectorUI.framework/Resources/Protocol/InspectorBackend.js:87:32 dispatchNextQueuedMessageFromBackend@WebInspectorUI.framework/Resources/Protocol/MessageDispatcher.js:42:34 * NOTES - StorageManager had already reset its domStorageObjects - The domStorageItemRemoved has a storageId of {securityOrigin:"twitter.com", localStorage:true}, key = "ScribeTransport"} but the StorageManager only has local + session storages for daringfireball.net
Attachments
[PATCH] Proposed Fix (2.76 KB, patch)
2015-08-19 14:26 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2015-08-19 14:26:16 PDT
Created attachment 259405 [details] [PATCH] Proposed Fix
Blaze Burg
Comment 2 2015-08-19 14:45:04 PDT
Comment on attachment 259405 [details] [PATCH] Proposed Fix r=me Good catch!
WebKit Commit Bot
Comment 3 2015-08-19 15:30:13 PDT
Comment on attachment 259405 [details] [PATCH] Proposed Fix Clearing flags on attachment: 259405 Committed r188655: <http://trac.webkit.org/changeset/188655>
WebKit Commit Bot
Comment 4 2015-08-19 15:30:17 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.