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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/radio/radio-crash-by-keyboard-event.html

Issue 2120153003: Remove keyIdentifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_key_identifier_3a
Patch Set: Rebase 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/forms/radio/radio-crash-by-keyboard-event.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/radio/radio-crash-by-keyboard-event.html b/third_party/WebKit/LayoutTests/fast/forms/radio/radio-crash-by-keyboard-event.html
index 9be32722c5532451a984749e64042f142a9ac882..79647608c18632461dc6a5242534f811323db046 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/radio/radio-crash-by-keyboard-event.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/radio/radio-crash-by-keyboard-event.html
@@ -6,7 +6,7 @@
test(function() {
var radio = document.createElement('input');
radio.type = 'radio';
- radio.dispatchEvent(new KeyboardEvent('keydown', { keyIdentifier: 'Down' } ));
+ radio.dispatchEvent(new KeyboardEvent('keydown', { key: 'ArrowDown' } ));
}, 'Sending a keydown event to detached radio button should not crash.');
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698