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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-radio.html

Issue 2042763002: 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 correctness of Spatial Navigation (SNav) algorithm ove r single select element. 3 This test ensures the correctness of Spatial Navigation (SNav) algorithm ove r single select element.
4 4
5 * Pre-conditions: 5 * Pre-conditions:
6 1) DRT support for SNav enable/disable. 6 1) DRT support for SNav enable/disable.
7 7
8 * Navigation steps: 8 * Navigation steps:
9 1) Loads this page, focus goes to "start" automatically. 9 1) Loads this page, focus goes to "start" automatically.
10 2) Focus moves away from select in 4 different directions to neighbor nodes and back. 10 2) Focus moves away from select in 4 different directions to neighbor nodes and back.
(...skipping 11 matching lines...) Expand all
22 ["Right", "6"], 22 ["Right", "6"],
23 ["Left", "start"], 23 ["Left", "start"],
24 ["Left", "4"], 24 ["Left", "4"],
25 ["Right", "start"], 25 ["Right", "start"],
26 ["DONE", "DONE"] 26 ["DONE", "DONE"]
27 ]; 27 ];
28 28
29 if (window.testRunner) { 29 if (window.testRunner) {
30 testRunner.dumpAsText(); 30 testRunner.dumpAsText();
31 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 31 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
32 window.internals.settings.setSpatialNavigationEnabled(true); 32 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1);
33 testRunner.waitUntilDone(); 33 testRunner.waitUntilDone();
34 } 34 }
35 35
36 function runTest() 36 function runTest()
37 { 37 {
38 // starting the test itself: get to a known place. 38 // starting the test itself: get to a known place.
39 document.getElementById("start").focus(); 39 document.getElementById("start").focus();
40 40
41 initTest(resultMap, testCompleted); 41 initTest(resultMap, testCompleted);
42 } 42 }
(...skipping 25 matching lines...) Expand all
68 <td style="vertical-align: top; text-align: center;"></td> 68 <td style="vertical-align: top; text-align: center;"></td>
69 <td style="vertical-align: top; text-align: center;"><a id="8" href="a ">8</a></td> 69 <td style="vertical-align: top; text-align: center;"><a id="8" href="a ">8</a></td>
70 <td style="vertical-align: top; text-align: center;"></td> 70 <td style="vertical-align: top; text-align: center;"></td>
71 </tr> 71 </tr>
72 </tbody> 72 </tbody>
73 </table> 73 </table>
74 <div id="console"></div> 74 <div id="console"></div>
75 </body> 75 </body>
76 </html> 76 </html>
77 77
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698