Index: third_party/WebKit/Source/devtools/front_end/ui/Dialog.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js |
index 64406e77b9081cf8fdc595f0855b1db81ae3b21e..0eb1932ee0809432b2bd62af4d055aa950762462 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js |
@@ -35,6 +35,7 @@ UI.Dialog = class extends UI.GlassPane { |
this.contentElement.tabIndex = 0; |
this.contentElement.addEventListener('focus', () => this.widget().focus(), false); |
this.contentElement.addEventListener('keydown', this._onKeyDown.bind(this), false); |
+ this.widget().setDefaultFocusedElement(this.contentElement); |
this.setPointerEventsBehavior(UI.GlassPane.PointerEventsBehavior.BlockedByGlassPane); |
this.setOutsideClickCallback(event => { |
this.hide(); |