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

Unified Diff: LayoutTests/fast/events/keyboardevent-code-expected.txt

Issue 663523002: Adding support for DOM3 KeyboardEvents Code in KeyboardEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to use domCode instead of native domCode Created 6 years 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: LayoutTests/fast/events/keyboardevent-code-expected.txt
diff --git a/LayoutTests/fast/events/keyboardevent-code-expected.txt b/LayoutTests/fast/events/keyboardevent-code-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da789bde0bc2c8491a419c1ce980574fbae9157e
--- /dev/null
+++ b/LayoutTests/fast/events/keyboardevent-code-expected.txt
@@ -0,0 +1,52 @@
+Tests KeyboardEvent.code attribute
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+AlphaNumeric Keys
+PASS lastKeyboardEvent.code is 'KeyA'
+PASS lastKeyboardEvent.code is 'KeyA'
+PASS lastKeyboardEvent.code is 'KeyM'
+PASS lastKeyboardEvent.code is 'KeyM'
+PASS lastKeyboardEvent.code is 'KeyZ'
+PASS lastKeyboardEvent.code is 'KeyZ'
+PASS lastKeyboardEvent.code is 'Digit0'
+PASS lastKeyboardEvent.code is 'Digit4'
+PASS lastKeyboardEvent.code is 'Digit9'
+PASS lastKeyboardEvent.code is 'Backspace'
+Functional Keys
+PASS lastKeyboardEvent.code is 'ControlLeft'
+PASS lastKeyboardEvent.code is 'ControlRight'
+PASS lastKeyboardEvent.code is 'ShiftLeft'
+PASS lastKeyboardEvent.code is 'ShiftRight'
+PASS lastKeyboardEvent.code is 'AltLeft'
+PASS lastKeyboardEvent.code is 'AltRight'
+PASS lastKeyboardEvent.code is 'Enter'
+PASS lastKeyboardEvent.code is 'ContextMenu'
+PASS lastKeyboardEvent.code is 'Space'
+PASS lastKeyboardEvent.code is 'Tab'
+Control Pad
+PASS lastKeyboardEvent.code is 'Insert'
+PASS lastKeyboardEvent.code is 'Delete'
+PASS lastKeyboardEvent.code is 'Home'
+PASS lastKeyboardEvent.code is 'End'
+PASS lastKeyboardEvent.code is 'PageUp'
+PASS lastKeyboardEvent.code is 'PageDown'
+Arrow Pad Section
+PASS lastKeyboardEvent.code is 'ArrowRight'
+PASS lastKeyboardEvent.code is 'ArrowDown'
+PASS lastKeyboardEvent.code is 'ArrowLeft'
+PASS lastKeyboardEvent.code is 'ArrowUp'
+Number Pad Section
+PASS lastKeyboardEvent.code is 'NumLock'
+PASS lastKeyboardEvent.code is 'NumLock'
+Function Section
+PASS lastKeyboardEvent.code is 'Escape'
+PASS lastKeyboardEvent.code is 'F1'
+PASS lastKeyboardEvent.code is 'F6'
+PASS lastKeyboardEvent.code is 'F12'
+PASS lastKeyboardEvent.code is 'PrintScreen'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+-

Powered by Google App Engine
This is Rietveld 408576698