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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../../../resources/testharness.js"></script> 3 <script src="../../../resources/testharness.js"></script>
4 <script src="../../../resources/testharnessreport.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script>
5 <script> 5 <script>
6 test(function() { 6 test(function() {
7 var radio = document.createElement('input'); 7 var radio = document.createElement('input');
8 radio.type = 'radio'; 8 radio.type = 'radio';
9 radio.dispatchEvent(new KeyboardEvent('keydown', { keyIdentifier: 'Down' } ) ); 9 radio.dispatchEvent(new KeyboardEvent('keydown', { key: 'ArrowDown' } ));
10 }, 'Sending a keydown event to detached radio button should not crash.'); 10 }, 'Sending a keydown event to detached radio button should not crash.');
11 </script> 11 </script>
12 </body> 12 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698