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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-iframe-no-scrollable-content.html

Issue 2077183002: Revert of Fix re-usage of stale cached WebPreferences in RenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <!-- 2 <!--
3 This test ensures the basic iframe traversal correctness of Spatial Navigati on 3 This test ensures the basic iframe traversal correctness of Spatial Navigati on
4 algorithm: focusable elements in a <iframe> should be accessible. 4 algorithm: focusable elements in a <iframe> should be accessible.
5 5
6 * Pre-conditions: 6 * Pre-conditions:
7 1) DRT support for SNav enable/disable. 7 1) DRT support for SNav enable/disable.
8 8
9 * Navigation steps: 9 * Navigation steps:
10 1) Loads this page, focus goes to "start" automatically. 10 1) Loads this page, focus goes to "start" automatically.
(...skipping 20 matching lines...) Expand all
31 ["Right", "7"], 31 ["Right", "7"],
32 ["Up", "3"], 32 ["Up", "3"],
33 ["Up", "2"], 33 ["Up", "2"],
34 ["Up", "1"], 34 ["Up", "1"],
35 ["DONE", "DONE"] 35 ["DONE", "DONE"]
36 ]; 36 ];
37 37
38 if (window.testRunner) { 38 if (window.testRunner) {
39 testRunner.dumpAsText(); 39 testRunner.dumpAsText();
40 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 40 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
41 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 41 window.internals.settings.setSpatialNavigationEnabled(true);
42 testRunner.waitUntilDone(); 42 testRunner.waitUntilDone();
43 } 43 }
44 44
45 function runTest() 45 function runTest()
46 { 46 {
47 // starting the test itself: get to a known place. 47 // starting the test itself: get to a known place.
48 document.getElementById("start").focus(); 48 document.getElementById("start").focus();
49 49
50 initTest(resultMap, testCompleted); 50 initTest(resultMap, testCompleted);
51 } 51 }
(...skipping 26 matching lines...) Expand all
78 <a id='4' href='a'>g</a> 78 <a id='4' href='a'>g</a>
79 <a id='5' href='a'>h</a> 79 <a id='5' href='a'>h</a>
80 <a id='6' href='a'>i</a> 80 <a id='6' href='a'>i</a>
81 </body> 81 </body>
82 "></iframe><br> 82 "></iframe><br>
83 83
84 <a id="end" href="a">a</a> 84 <a id="end" href="a">a</a>
85 <div id="console"></div> 85 <div id="console"></div>
86 </body> 86 </body>
87 </html> 87 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698