Bug 195081

Summary: Web Inspector: Debugger: don't enable breakpoints when source location changes
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch none

Description Devin Rousso 2019-02-26 17:24:34 PST
# STEPS TO REPRODUCE:
1. inspect any page with a minified script
2. pretty print the script
3. set a breakpoint on any line
4. disable breakpoints
5. close Web Inspector
6. open Web Inspector
 => breakpoints start out disabled, but become enabled once the script becomes pretty printed
Comment 1 Radar WebKit Bug Importer 2019-02-26 17:30:02 PST
<rdar://problem/48422701>
Comment 2 Devin Rousso 2019-02-26 17:30:12 PST
Created attachment 363044 [details]
Patch
Comment 3 Devin Rousso 2019-02-26 17:30:32 PST
Created attachment 363045 [details]
Patch
Comment 4 Joseph Pecoraro 2019-03-02 01:52:06 PST
Comment on attachment 363045 [details]
Patch

r=me Wow, good find!
Comment 5 WebKit Commit Bot 2019-03-02 12:32:17 PST
Comment on attachment 363045 [details]
Patch

Clearing flags on attachment: 363045

Committed r242314: <https://trac.webkit.org/changeset/242314>
Comment 6 WebKit Commit Bot 2019-03-02 12:32:18 PST
All reviewed patches have been landed.  Closing bug.