[Webkit-unassigned] [Bug 140276] Web Inspector: Phantom breakpoint appears on empty line after reload of minified file with a breakpoint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 9 12:31:28 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140276

--- Comment #8 from Joseph Pecoraro <joepeck at webkit.org> ---
(In reply to comment #5)
> Comment on attachment 244314 [details]
> [PATCH] Proposed Fix
> 
> Who is setting the style before content loads? That seems like a bug too. I
> assume they set the breakpoints again after content loads.

SourceCodeTextEditor in "_contentWillPopulate" pushes its breakpoints down to TextEditor. TextEditor, being none the wiser, attempts to set line styles for those breakpoints despite the editor being empty. That path could bail early. There are also line styles for the current execution line, I did not see how that would get set in relation to loading of content. I assume it would also have this issue.

FWIW, CodeMirror fixed the issue upstream.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150109/5840e9ea/attachment-0002.html>


More information about the webkit-unassigned mailing list