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;
   }