Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cfed8f7c90ddc47e935d9e4d52bd56cccb1eb13b
      
https://github.com/WebKit/WebKit/commit/cfed8f7c90ddc47e935d9e4d52bd56cccb1eb13b
  Author: Anuj Panta <[email protected]>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js

  Log Message:
  -----------
  Web Inspector: Debugger.globalObjectCleared from a subframe wipes every 
target's script map
https://bugs.webkit.org/show_bug.cgi?id=323787
rdar://187042936

Reviewed by Devin Rousso.

DebuggerManager.globalObjectCleared() receives the target whose global object 
was cleared, then
cleared state for every target. That was harmless while only the page emitted 
the event, but the
Debugger domain's targetTypes now includes "frame", so a subframe appearing 
discards the main
frame's WI.DebuggerData. A later main-frame pause resolves no call frames and 
takes the silent
auto-resume path in debuggerDidPause(), so the frontend never reports the pause.

* Source/WebInspectorUI/UserInterface/Controllers/DebuggerManager.js:
(WI.DebuggerManager.prototype.globalObjectCleared):

Canonical link: https://commits.webkit.org/320787@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to