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

Unified Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-zero-margin-content.html

Issue 2134723002: Reland #1: Fix re-usage of stale cached WebPreferences in RenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanly reset WebPreferences with the initial untampered defaults. Created 4 years, 5 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/fast/spatial-navigation/snav-zero-margin-content.html
diff --git a/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-zero-margin-content.html b/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-zero-margin-content.html
index 1d4779eede8992de2c69df2505d7095ba7acf1c7..c784a1d0629ba4c4a6095a7094519edd32638070 100644
--- a/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-zero-margin-content.html
+++ b/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-zero-margin-content.html
@@ -33,7 +33,7 @@
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
- window.internals.settings.setSpatialNavigationEnabled(true);
+ testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1);
testRunner.waitUntilDone();
}

Powered by Google App Engine
This is Rietveld 408576698