Bug 224192 - Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'console.assert(listenersForEventType, this, eventType, listener, thisObject)')
Summary: Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'co...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: https://devinrousso.com/demo/WebKit/b...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-05 10:30 PDT by Devin Rousso
Modified: 2022-02-12 22:16 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2021-04-05 10:30:16 PDT
Uncaught Exception in Web Inspector.

Steps to Reproduce:
0. make sure the Sources Tab is selected before Web Inspector is opened
1. inspect <https://devinrousso.com/demo/WebKit/bipbop-cc-subtitles-chapters.html>
2. switch to the Elements Tab

Uncaught Exceptions:
-----------------------
 - undefined is not an object (evaluating 'console.assert(listenersForEventType, this, eventType, listener, thisObject)') (at Object.js:84:23)
    removeEventListener @ Object.js:84:23
    ondetach @ DOMTreeElement.js:462:51
    _detach @ TreeElement.js:294:26
    removeChildAtIndex @ TreeOutline.js:341:22
    _updateChildren @ DOMTreeElement.js:558:36
    _updateChildren @ [native code]
    mycallback @ DOMNode.js:604:25
    mycallback @ [native code]
    _dispatchResponseToCallback @ Connection.js:152:27
    _dispatchResponse @ Connection.js:122:45
    dispatch @ Connection.js:77:35
    dispatchMessageFromTarget @ TargetManager.js:176:39
    dispatchMessageFromTarget @ TargetObserver.js:47:51
    _dispatchEvent @ Connection.js:210:26
    dispatch @ Connection.js:79:32
    dispatch @ InspectorBackend.js:232:52
    ? @ MessageDispatcher.js:42:34

Additional Details:
    cause --> An uncaught exception was thrown while dispatching response callback for command DOM.requestChildNodes.
-----------------------

Notes:
Inspected URL:        https://devinrousso.com/demo/WebKit/bipbop-cc-subtitles-chapters.html
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Dispatch Source:      Protocol Event

Protocol Event:
{"method":"Target.dispatchMessageFromTarget","params":{"targetId":"page-23","message":"{\"result\":{},\"id\":215}"}}
Dispatch Source:      Protocol Command Response

Protocol Command Response:
{"result":{},"id":215}

Protocol Command Request:
{"id":215,"method":"DOM.requestChildNodes","params":{"nodeId":47}}
Comment 1 Radar WebKit Bug Importer 2021-04-05 10:33:32 PDT
<rdar://problem/76223103>