RESOLVED FIXED46749
Web Inspector: a number of breakpoints for one line
https://bugs.webkit.org/show_bug.cgi?id=46749
Summary Web Inspector: a number of breakpoints for one line
Ilya Tikhonovsky
Reported 2010-09-28 13:16:36 PDT
1) start chromium 2) open inspector 3) press pause 4) move mouse over inspected page 5) debugger will stop on mouseover listener 6) make a breakpoint 7) close inspector 8) open inspector expected: single breakpoint actual: multiple breakpoints for one line.
Attachments
Proposed patch. (1.19 KB, patch)
2010-10-04 03:40 PDT, Pavel Podivilov
pfeldman: review+
podivilov: commit-queue-
Pavel Podivilov
Comment 1 2010-10-04 03:40:47 PDT
Created attachment 69612 [details] Proposed patch.
Joseph Pecoraro
Comment 2 2010-10-04 09:40:34 PDT
Comment on attachment 69612 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=69612&action=review > WebCore/bindings/v8/DebuggerScript.js:103 > + if (!locations.length) > + return undefined; > + var actualLineNumber = locations[0].line; Looks like incorrect whitespace on the 2nd line. Would be great if this was fixed.
Pavel Podivilov
Comment 3 2010-10-04 10:01:35 PDT
Pavel Podivilov
Comment 4 2010-10-04 10:03:11 PDT
(In reply to comment #2) > (From update of attachment 69612 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=69612&action=review > > > WebCore/bindings/v8/DebuggerScript.js:103 > > + if (!locations.length) > > + return undefined; > > + var actualLineNumber = locations[0].line; > > Looks like incorrect whitespace on the 2nd line. Would be great if this was fixed. Sure, thanks for correction, Joe!
Joseph Pecoraro
Comment 5 2010-10-04 10:27:45 PDT
(In reply to comment #4) > Sure, thanks for correction, Joe! Thanks for making the fix and landing manually!
Note You need to log in before you can comment on or make changes to this bug.