<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>224192</bug_id>
          
          <creation_ts>2021-04-05 10:30:16 -0700</creation_ts>
          <short_desc>Web Inspector: Uncaught Exception: undefined is not an object (evaluating &apos;console.assert(listenersForEventType, this, eventType, listener, thisObject)&apos;)</short_desc>
          <delta_ts>2022-02-12 22:16:40 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>https://devinrousso.com/demo/WebKit/bipbop-cc-subtitles-chapters.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Devin Rousso">hi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>hi</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1747003</commentid>
    <comment_count>0</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2021-04-05 10:30:16 -0700</bug_when>
    <thetext>Uncaught Exception in Web Inspector.

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

Uncaught Exceptions:
-----------------------
 - undefined is not an object (evaluating &apos;console.assert(listenersForEventType, this, eventType, listener, thisObject)&apos;) (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 --&gt; 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:
{&quot;method&quot;:&quot;Target.dispatchMessageFromTarget&quot;,&quot;params&quot;:{&quot;targetId&quot;:&quot;page-23&quot;,&quot;message&quot;:&quot;{\&quot;result\&quot;:{},\&quot;id\&quot;:215}&quot;}}
Dispatch Source:      Protocol Command Response

Protocol Command Response:
{&quot;result&quot;:{},&quot;id&quot;:215}

Protocol Command Request:
{&quot;id&quot;:215,&quot;method&quot;:&quot;DOM.requestChildNodes&quot;,&quot;params&quot;:{&quot;nodeId&quot;:47}}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747005</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-04-05 10:33:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/76223103&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>