RESOLVED FIXED 189638
Web Inspector: Source View doesn't scroll to show line when breakpoint is hit inside of <script> in HTML resource
https://bugs.webkit.org/show_bug.cgi?id=189638
Summary Web Inspector: Source View doesn't scroll to show line when breakpoint is hit...
Joseph Pecoraro
Reported 2018-09-14 16:50:29 PDT
Created attachment 349829 [details] [TEST PAGE] test.html Source View doesn't scroll to show line when breakpoint is hit inside of <script> in HTML resource Steps to Reproduce: 1. Open test page 2. Set a breakpoint on line test.html:100 3. Reload the page => Triggers breakpoint, should scroll to show line 100, but doesn't appear to Notes: • Works if this was test.js script resource, but does not work in test.html document resource pausing on page load • The test.html TextEditor content loads multiple times (inline script content, then full resource content). The act of re-setting the TextEditor content string with full content wipes out the revealed position.
Attachments
[TEST PAGE] test.html (1.79 KB, text/html)
2018-09-14 16:50 PDT, Joseph Pecoraro
no flags
[PATCH] Proposed Fix (4.71 KB, patch)
2018-09-14 16:55 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2018-09-14 16:50:49 PDT
Joseph Pecoraro
Comment 2 2018-09-14 16:55:01 PDT
Created attachment 349830 [details] [PATCH] Proposed Fix
Matt Baker
Comment 3 2018-09-14 17:14:38 PDT
Comment on attachment 349830 [details] [PATCH] Proposed Fix r=me, works as advertised!
WebKit Commit Bot
Comment 4 2018-09-14 17:40:09 PDT
Comment on attachment 349830 [details] [PATCH] Proposed Fix Clearing flags on attachment: 349830 Committed r236028: <https://trac.webkit.org/changeset/236028>
WebKit Commit Bot
Comment 5 2018-09-14 17:40:10 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.