Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/WebKit/LayoutTests/inspector/components/widget-focus.html

Issue 2377193004: [DevTools] Rework some focus code. (Closed)
Patch Set: fixes Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/components/widget-focus.html
diff --git a/third_party/WebKit/LayoutTests/inspector/components/widget-focus.html b/third_party/WebKit/LayoutTests/inspector/components/widget-focus.html
index ac5f92598b70bb711bb3a323a1aa5b364b5e1caf..d957095b4f6a1d5fce14c14dc0ce67106e896797 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/widget-focus.html
+++ b/third_party/WebKit/LayoutTests/inspector/components/widget-focus.html
@@ -75,7 +75,7 @@ function test()
function dumpFocus()
{
- var focused = WebInspector.currentFocusElement();
+ var focused = document.deepActiveElement();
if (focused === outerInput) {
InspectorTest.addResult("Outer Focused");
} else if (focused === input1) {

Powered by Google App Engine
This is Rietveld 408576698