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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/navigation/same-and-different-back.html

Issue 2947523002: Delete backspace-for-back RuntimeFeature. (Closed)
Patch Set: Fix layout test Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/navigation/same-and-different-back.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/same-and-different-back.html b/third_party/WebKit/LayoutTests/http/tests/navigation/same-and-different-back.html
index 1d1a07a02d080ef276b5996b4ae13f7d8046f70c..0986597b311a938048951ef538094d4bcd6a9e01 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/same-and-different-back.html
+++ b/third_party/WebKit/LayoutTests/http/tests/navigation/same-and-different-back.html
@@ -13,9 +13,7 @@ function sameDocumentSetupDone() {
function differentDocumentSetupDone() {
setTimeout(function() {
- // Send a backspace to trigger a back navigation.
- if (window.eventSender)
- eventSender.keyDown('Backspace');
+ window.history.back();
}, 0);
}

Powered by Google App Engine
This is Rietveld 408576698