Bug 148180

Summary: Web Inspector: Uncaught Exception while handling event DOM.pseudoElementRemoved reloading twitter pages
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2015-08-19 11:41:06 PDT
* SUMMARY
Uncaught Exception while handling event DOM.pseudoElementRemoved reloading twitter pages

* STEPS TO REPRODUCE
1. Inspect a twitter page
2. Reload a bunch
  => uncaught exceptions in inspector

* TRACE
Resources/Protocol/InspectorBackend.js:281:26: CONSOLE ERROR Uncaught exception in inspector page while handling event DOM.pseudoElementRemoved:  TypeError: null is not an object (evaluating 'this._children.length') _renumber@file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Models/DOMNode.js:559:44
_removeChild@file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Models/DOMNode.js:538:23
_pseudoElementRemoved@file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Controllers/DOMTreeManager.js:278:28
pseudoElementRemoved@file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Protocol/DOMObserver.js:92:58
dispatchEvent@file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Protocol/InspectorBackend.js:380:42
_dispatchEvent@file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Protocol/InspectorBackend.js:279:32
dispatch@file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Protocol/InspectorBackend.js:87:32
dispatchNextQueuedMessageFromBackend@file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Protocol/MessageDispatcher.js:42:34
Comment 1 Joseph Pecoraro 2015-08-19 11:42:19 PDT
Created attachment 259383 [details]
[PATCH] Proposed Fix
Comment 2 BJ Burg 2015-08-19 11:44:53 PDT
Comment on attachment 259383 [details]
[PATCH] Proposed Fix

r=me

Is this an issue anywhere else?
Comment 3 WebKit Commit Bot 2015-08-19 12:32:21 PDT
Comment on attachment 259383 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 259383

Committed r188645: <http://trac.webkit.org/changeset/188645>
Comment 4 WebKit Commit Bot 2015-08-19 12:32:24 PDT
All reviewed patches have been landed.  Closing bug.