setCurrentFocusElement should not update selection when focus is moved to text field or text area. In these cases focus is correctly updated automatically.
Created attachment 122643 [details] Patch
Comment on attachment 122643 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=122643&action=review > Source/WebCore/inspector/front-end/UIUtils.js:597 > + const textInputTypes = ["text", "search", "tel", "url", "email", "password"]; > + if (element instanceof HTMLInputElement) > + return textInputTypes.indexOf(element.type) !== -1; A faster way to do this would be: outside function: WebInspector._textInputTypes = ["text", "search", "tel", "url", "email", "password"].keySet(); inside function: if (element instanceof HTMLInputElement) return element.type in WebInspector._textInputTypes;
Committed r105066: <http://trac.webkit.org/changeset/105066>
Reopening to attach new patch.
Created attachment 122646 [details] Final patch chunk, v1
Comment on attachment 122646 [details] Final patch chunk, v1 Oops, webkit-patch got confused, it uploaded the patch to the wrong br. Please ignore this.
Marking as fixed again.