Steps to reproduce: 1. Open dev-tools 2. Go to Sources 3. Open any js file 4. right click on a line-number -> add conditional breakpoint 5. Click Ctrl+A What happens: Conditional breakpoint editing window gets hidden; source code gets selected What should happen: Text inside conditional breakpoint editor should get selected
Created attachment 175384 [details] Patch
Created attachment 175390 [details] Patch
Comment on attachment 175390 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=175390&action=review > Source/WebCore/inspector/front-end/DefaultTextEditor.js:421 > + if (WebInspector.currentFocusElement().nodeName === "INPUT") call WebInspector.isBeingEdited(e.target) maybe?
Comment on attachment 175390 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=175390&action=review >> Source/WebCore/inspector/front-end/DefaultTextEditor.js:421 >> + if (WebInspector.currentFocusElement().nodeName === "INPUT") > > call WebInspector.isBeingEdited(e.target) maybe? You can edit text in non-INPUT fields as well. Imagine if we switch conditional breakpoints to the text area... You should check that e.target has no ancestors with className "webkit-line-decorations" instead.
Created attachment 175454 [details] Patch
Comment on attachment 175454 [details] Patch Clearing flags on attachment: 175454 Committed r135412: <http://trac.webkit.org/changeset/135412>
All reviewed patches have been landed. Closing bug.