NEW 274914
Web Inspector: DebuggerManager. _associateBreakpointsWithSourceCode should only allow updates from the main frame
https://bugs.webkit.org/show_bug.cgi?id=274914
Summary Web Inspector: DebuggerManager. _associateBreakpointsWithSourceCode should on...
Qianlang Chen
Reported 2024-05-30 11:53:10 PDT
The patch https://github.com/WebKit/WebKit/pull/27000 makes DebuggerManager._associateBreakpointsWithSourceCode always able to update a breakpoint's linked-to source code in order to prevent those source code objects becoming stale when e.g. the page reloads. However, as pointed out [in a code-review comment](https://github.com/WebKit/WebKit/pull/27000/files#r1609384544), this fix might cause issues when there are resources with the same URL/contentIdentifier coming from a sub-frame. Despite that perhaps being quite an unlikely scenario, we should consider improving that resource-updating logic and maybe apply the suggested fix in that comment.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-30 11:53:23 PDT
Radar WebKit Bug Importer
Comment 2 2024-05-30 11:53:38 PDT
Note You need to log in before you can comment on or make changes to this bug.