WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
306508
Uncaught Exception: Uncaught TypeError: this._contentViewsForTarget.getOrInsert is not a function
https://bugs.webkit.org/show_bug.cgi?id=306508
Summary
Uncaught Exception: Uncaught TypeError: this._contentViewsForTarget.getOrInse...
dennysmart503402
Reported
2026-01-29 00:42:10 PST
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
Attachments
Add attachment
proposed patch, testcase, etc.
Razvan Caliman
Comment 1
2026-01-29 07:57:47 PST
Likely caused by
https://bugs.webkit.org/show_bug.cgi?id=306234
but it shouldn'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?
Radar WebKit Bug Importer
Comment 2
2026-02-05 00:43:13 PST
<
rdar://problem/169691059
>
Razvan Caliman
Comment 3
2026-02-09 07:24:00 PST
> 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'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
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug