commit | cc14b81085f1a774a9297fed3053a193d1d6347f | [log] [tgz] |
---|---|---|
author | Erik Luo <[email protected]> | Sat Nov 03 01:33:09 2018 |
committer | Commit Bot <[email protected]> | Sat Nov 03 01:33:09 2018 |
tree | 566cfaa819198cbdc1a00d713321885b3864bf5b | |
parent | f8b7b4b76ba374fa9c46a47e31feeb14bca15f13 [diff] [blame] |
DevTools: prevent tab focus for console objects Focused Objects in Console will now have tabIndex -1 instead of 0. Bug: 865674 Change-Id: I382576e1b5ec5ca0bc1c62b8ff0d998c73b18474 Reviewed-on: https://chromium-review.googlesource.com/c/1275266 Commit-Queue: Erik Luo <[email protected]> Reviewed-by: Joel Einbinder <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#605123} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: fd1d5501044ecd67a133c505ee98029c452d5b0a
diff --git a/front_end/console/ConsoleViewMessage.js b/front_end/console/ConsoleViewMessage.js index 29cd4cd..24ea094 100644 --- a/front_end/console/ConsoleViewMessage.js +++ b/front_end/console/ConsoleViewMessage.js
@@ -613,6 +613,7 @@ const section = new ObjectUI.ObjectPropertiesSection(obj, titleElement, this._linkifier); section.element.classList.add('console-view-object-properties-section'); section.enableContextMenu(); + section.setShowSelectionOnKeyboardFocus(true, true); this._treeOutlines.push(section); return section.element; }