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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-iframe-recursive-offset-parent.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 algorithm: focusable elements in an <iframe> should be accessible even when 4 algorithm: focusable elements in an <iframe> should be accessible even when
5 the current focused element is in another <iframe> in the same page. 5 the current focused element is in another <iframe> in the same page.
6 6
7 * Pre-conditions: 7 * Pre-conditions:
8 1) DRT support for SNav enable/disable. 8 1) DRT support for SNav enable/disable.
9 9
10 * Navigation steps: 10 * Navigation steps:
(...skipping 13 matching lines...) Expand all
24 ["Right", "3"], 24 ["Right", "3"],
25 ["Left", "2"], 25 ["Left", "2"],
26 ["Left", "1"], 26 ["Left", "1"],
27 ["Left", "start"], 27 ["Left", "start"],
28 ["DONE", "DONE"] 28 ["DONE", "DONE"]
29 ]; 29 ];
30 30
31 if (window.testRunner) { 31 if (window.testRunner) {
32 testRunner.dumpAsText(); 32 testRunner.dumpAsText();
33 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 33 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
34 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 34 window.internals.settings.setSpatialNavigationEnabled(true);
35 testRunner.waitUntilDone(); 35 testRunner.waitUntilDone();
36 } 36 }
37 37
38 function runTest() 38 function runTest()
39 { 39 {
40 // starting the test itself: get to a known place. 40 // starting the test itself: get to a known place.
41 document.getElementById("start").focus(); 41 document.getElementById("start").focus();
42 42
43 initTest(resultMap, testCompleted); 43 initTest(resultMap, testCompleted);
44 } 44 }
(...skipping 20 matching lines...) Expand all
65 <a id='2' href='http://a'>c</a> 65 <a id='2' href='http://a'>c</a>
66 <a id='3' href='http://a'>d</a> 66 <a id='3' href='http://a'>d</a>
67 </body> 67 </body>
68 "></iframe><br> 68 "></iframe><br>
69 </td> 69 </td>
70 </tr> 70 </tr>
71 </table> 71 </table>
72 <div id="console"></div> 72 <div id="console"></div>
73 </body> 73 </body>
74 </html> 74 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698