Bug 190966 - Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'this._classListContainer.children')
Summary: Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL: file:///Volumes/DATA/Build/Release/We...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-10-26 10:36 PDT by Devin Rousso
Modified: 2018-10-26 13:44 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.73 KB, patch)
2018-10-26 10:39 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2018-10-26 10:36:25 PDT
-------
Inspected URL:        file:///Volumes/DATA/Build/Release/WebInspectorUI.framework/Resources/Main.html
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko)
Dispatch Source:      Protocol Event

Protocol Event:
{"method":"DOM.attributeModified","params":{"nodeId":161,"name":"class","value":"mac-platform mojave latest-mac web show-invalid-characters show-whitespace-characters docked bottom meta-key-pressed"}}

Uncaught Exceptions:
 - undefined is not an object (evaluating 'this._classListContainer.children') (at GeneralStyleDetailsSidebarPanel.js:357:40)
    _populateClassToggles @ GeneralStyleDetailsSidebarPanel.js:357:40
    _handleNodeAttributeModified @ GeneralStyleDetailsSidebarPanel.js:301:39
    dispatch @ Object.js:170:30
    dispatchEventToListeners @ Object.js:177:17
    _attributeModified @ DOMManager.js:175:38
    attributeModified @ DOMObserver.js:47:41
    dispatchEvent @ InspectorBackend.js:298:42
    _dispatchEvent @ Connection.js:193:32
    dispatch @ Connection.js:71:32
    dispatch @ InspectorBackend.js:152:49
    dispatchNextQueuedMessageFromBackend @ MessageDispatcher.js:42:34

Additional Details:
    cause --> An uncaught exception was thrown while handling event: DOM.attributeModified
-------

I was unable to reliably reproduce this.  I just opened inspector2 and was shown this error.
Comment 1 Devin Rousso 2018-10-26 10:39:56 PDT
Created attachment 353190 [details]
Patch
Comment 2 Joseph Pecoraro 2018-10-26 13:35:57 PDT
Comment on attachment 353190 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2018-10-26 13:43:13 PDT
Comment on attachment 353190 [details]
Patch

Clearing flags on attachment: 353190

Committed r237481: <https://trac.webkit.org/changeset/237481>
Comment 4 WebKit Commit Bot 2018-10-26 13:43:15 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2018-10-26 13:44:32 PDT
<rdar://problem/45597933>