<?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>306508</bug_id>
          
          <creation_ts>2026-01-29 00:42:10 -0800</creation_ts>
          <short_desc>Uncaught Exception: Uncaught TypeError: this._contentViewsForTarget.getOrInsert is not a function</short_desc>
          <delta_ts>2026-02-09 07:24:00 -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>PC</rep_platform>
          <op_sys>Windows 11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=306234</see_also>
          <bug_file_loc></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>dennysmart503402</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>rcaliman</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2176109</commentid>
    <comment_count>0</comment_count>
    <who name="">dennysmart503402</who>
    <bug_when>2026-01-29 00:42:10 -0800</bug_when>
    <thetext>Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. What were you doing? Include setup or other preparations to reproduce the exception.
2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps.
3. What did you expect to have happen? What actually happened?

Uncaught Exceptions:
-----------------------
 - Uncaught TypeError: this._contentViewsForTarget.getOrInsert is not a function (at ScriptClusterTimelineView.js:171:56)
    ? @ TypeError: this._contentViewsForTarget.getOrInsert is not a function
    ? @ ScriptClusterTimelineView.js:171:56)
    ? @ ScriptClusterTimelineView.js:64:14)
    ? @ ContentView.js:87:24)
    ? @ TimelineRecordingContentView.js:685:60)
    ? @ TimelineRecordingContentView.js:121:18)
    ? @ ContentView.js:76:20)
    ? @ ContentView.js:220:45)
    ? @ ContentViewContainer.js:68:31)
    ? @ ContentBrowser.js:162:43)
    ? @ TimelineTabContentView.js:651:58)
-----------------------

Notes:
Inspected URL:        (unknown)
Loading completed:    false
Frontend User Agent:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176188</commentid>
    <comment_count>1</comment_count>
    <who name="Razvan Caliman">rcaliman</who>
    <bug_when>2026-01-29 07:57:47 -0800</bug_when>
    <thetext>Likely caused by https://bugs.webkit.org/show_bug.cgi?id=306234 but it shouldn&apos;t if https://bugs.webkit.org/show_bug.cgi?id=306233 was also in the same build. 

This is logged as a Windows bug. Is this a different port of WebKit?

Can you please share details about how this occurs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2178289</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-02-05 00:43:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/169691059&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2179444</commentid>
    <comment_count>3</comment_count>
    <who name="Razvan Caliman">rcaliman</who>
    <bug_when>2026-02-09 07:24:00 -0800</bug_when>
    <thetext>&gt; Frontend User Agent:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

This looks like it&apos;s running Web Inspector frontend in Chrome 144. 
`Map.prototype.getOrInsert` is enabled as of Chrome 145.

This PR comment is relevant: https://github.com/WebKit/WebKit/pull/57224#issuecomment-3799804594</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>