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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/elements-tab-stops.html

Issue 2805593002: DevTools: Navigate TabbedPane with arrow keys (Closed)
Patch Set: Fix stray space in test Created 3 years, 7 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/elements/elements-tab-stops.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/elements-tab-stops.html b/third_party/WebKit/LayoutTests/inspector/elements/elements-tab-stops.html
index b1273d29593e7224af6ddc7697462542ed7474ba..2d08e96d48b87a0af363faca4e263553a3d5075c 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/elements-tab-stops.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/elements-tab-stops.html
@@ -8,8 +8,12 @@ var test = function() {
var maxElements = 1000;
var elements = 0;
- InspectorTest.domModel.requestDocument(documentRequested);
- function documentRequested() {
+
+ // Make sure the sidebar is loaded
+
+ // make sure the tree is loaded
+ InspectorTest.selectNodeAndWaitForStyles("node-to-select",nodeSelected);
+ function nodeSelected() {
eventSender.keyDown("Tab");
var startElement = document.deepActiveElement();
do {
@@ -59,5 +63,6 @@ var test = function() {
</head>
<body onload="runTest()">
<p>Tests what elements have focus after pressing tab.</p>
+<span id="node-to-select"></span>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698