WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-05-30 11:53:23 PDT
<
rdar://problem/129018314
>
Radar WebKit Bug Importer
Comment 2
2024-05-30 11:53:38 PDT
<
rdar://problem/129018306
>
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