1. Right click on a script line with comment. 2. Choose "Add Conditional Breakpoint". 3. Breakpoint is moved but condition popup doesn't, breakpoint is created without condition.
Created attachment 76188 [details] Patch.
Comment on attachment 76188 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=76188&action=review > WebCore/inspector/front-end/SourceFrame.js:452 > + lineNumber -= 1; Why do you need this? It should be extracted into a method with descriptive name.
(In reply to comment #2) > (From update of attachment 76188 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=76188&action=review > > > WebCore/inspector/front-end/SourceFrame.js:452 > > + lineNumber -= 1; > > Why do you need this? It should be extracted into a method with descriptive name. This is because we use zero-based line numbers in text viewer. We may add addDecoration/removeDecoration methods to SourceFrame and extract it there.
Committed r74350: <http://trac.webkit.org/changeset/74350>