Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a24ec87a08ea1c60dc77697ce40a776f1a829f69
https://github.com/WebKit/WebKit/commit/a24ec87a08ea1c60dc77697ce40a776f1a829f69
Author: Anuj Panta <[email protected]>
Date: 2026-10-01 (Thu, 01 Oct 2026)
Changed paths:
M Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js
M Source/WebInspectorUI/UserInterface/Models/JavaScriptBreakpoint.js
Log Message:
-----------
Web Inspector: globalObjectCleared should clear resolved breakpoint locations
per-target and store internal scripts in a Multimap keyed by target
https://bugs.webkit.org/show_bug.cgi?id=324488
rdar://187726262
Reviewed by Devin Rousso.
Follow-up to https://bugs.webkit.org/show_bug.cgi?id=323787.
A breakpoint can be resolved in more than one target, so keying the
clear off `sourceCodeLocation.sourceCode.target` both kept stale locations in
the cleared target
and wiped live ones in other targets. Filter per resolved location instead, and
make
`_internalWebKitScripts` a Multimap keyed by target so the clear is a single
`delete()`
* Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js:
(WI.DebuggerManager.prototype.globalObjectCleared):
(WI.DebuggerManager.prototype.scriptDidParse):
(WI.DebuggerManager.prototype._handleEngineeringShowInternalScriptsSettingChanged):
* Source/WebInspectorUI/UserInterface/Models/JavaScriptBreakpoint.js:
(WI.JavaScriptBreakpoint.prototype.clearResolvedLocationsForTarget):
Canonical link: https://commits.webkit.org/322410@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications