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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/backspace-navigates-back.html

Issue 2045603002: Handle the "key" field as opposed to keyIdentifier field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove initialization of the view 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/backspace-navigates-back.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/backspace-navigates-back.html b/third_party/WebKit/LayoutTests/fast/events/backspace-navigates-back.html
index ec48143c6f00d2751549709123b7a4c331086ade..8084e0b0edb3d7b2c833c2f3e074ed41e0f11e6a 100644
--- a/third_party/WebKit/LayoutTests/fast/events/backspace-navigates-back.html
+++ b/third_party/WebKit/LayoutTests/fast/events/backspace-navigates-back.html
@@ -10,7 +10,7 @@ function expect(test, msg) {
}
function testBackspaceNavigatesBack() {
- eventSender.keyDown('\u0008');
+ eventSender.keyDown('Backspace');
// We expected to navigate; set a timeout that causes the test
// to fail quickly if we didn't navigate.
@@ -71,7 +71,7 @@ function doStep(step, location) {
// it will cancel that navigation and navigate us elsewhere, causing the test
// to fail.
document.location = '?test-complete';
- eventSender.keyDown('\u0008');
+ eventSender.keyDown('Backspace');
break;
case 7:

Powered by Google App Engine
This is Rietveld 408576698