Bug 302798

Summary: Web Inspector: Breakpoints are misplaced and search results highlight the wrong location
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
test case
none
Screen recording of steps to reproduce using the test case none

Razvan Caliman
Reported 2025-11-19 10:01:34 PST
This occurs when doing a search and the results return a file that was previously pretty-printed but now is not. Effects: - Clicking on search results from the sidebar highlights the wrong lines - Previously set breakpoints are placed on the wrong line - Newly added breakpoints are added to the pretty-printed location (or don't seem to be added if the location exceeds the line limit of the minified file). When breakpoints hit, they highlight the wrong line until the file is pretty printed again.
Attachments
test case (247 bytes, text/html)
2025-11-19 10:01 PST, Razvan Caliman
no flags
Screen recording of steps to reproduce using the test case (11.09 MB, video/quicktime)
2025-11-19 10:03 PST, Razvan Caliman
no flags
Radar WebKit Bug Importer
Comment 1 2025-11-19 10:01:40 PST
Razvan Caliman
Comment 2 2025-11-19 10:01:57 PST
Created attachment 477439 [details] test case
Razvan Caliman
Comment 3 2025-11-19 10:03:03 PST
Created attachment 477440 [details] Screen recording of steps to reproduce using the test case
Razvan Caliman
Comment 4 2025-11-19 11:51:15 PST
EWS
Comment 5 2025-11-20 06:36:22 PST
Committed 303327@main (f981173e6b09): <https://commits.webkit.org/303327@main> Reviewed commits have been landed. Closing PR #54198 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.