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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-iframe-nested.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 cross iframe traversal correctness of spatial navigati on: 3 This test ensures the cross iframe traversal correctness of spatial navigati on:
4 focusable elements in nested inner frame should be accessible. 4 focusable elements in nested inner frame should be accessible.
5 5
6 * Pre-conditions: 6 * Pre-conditions:
7 1) DRT support for spatial navigation enable/disable. 7 1) DRT support for spatial navigation 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 23 matching lines...) Expand all
34 ["Left", "3"], 34 ["Left", "3"],
35 ["Left", "2"], 35 ["Left", "2"],
36 ["Left", "1"], 36 ["Left", "1"],
37 ["Left", "start"], 37 ["Left", "start"],
38 ["DONE", "DONE"] 38 ["DONE", "DONE"]
39 ]; 39 ];
40 40
41 if (window.testRunner) { 41 if (window.testRunner) {
42 testRunner.dumpAsText(); 42 testRunner.dumpAsText();
43 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 43 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
44 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 44 window.internals.settings.setSpatialNavigationEnabled(true);
45 testRunner.waitUntilDone(); 45 testRunner.waitUntilDone();
46 } 46 }
47 47
48 function runTest() 48 function runTest()
49 { 49 {
50 // starting the test itself: get to a known place. 50 // starting the test itself: get to a known place.
51 document.getElementById("start").focus(); 51 document.getElementById("start").focus();
52 52
53 initTest(resultMap, testCompleted); 53 initTest(resultMap, testCompleted);
54 } 54 }
(...skipping 28 matching lines...) Expand all
83 <p><a id="11" href="#">Here</a> is a link.</p> 83 <p><a id="11" href="#">Here</a> is a link.</p>
84 </td> 84 </td>
85 <td valign="top" width="10%"> 85 <td valign="top" width="10%">
86 <a id="12" href="#">Link</a><br> 86 <a id="12" href="#">Link</a><br>
87 </td> 87 </td>
88 </tr> 88 </tr>
89 </table> 89 </table>
90 <div id="console"></div> 90 <div id="console"></div>
91 </body> 91 </body>
92 </html> 92 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698