| OLD | NEW |
| 1 CONSOLE MESSAGE: 'KeyboardEvent.keyLocation'' is deprecated. Please use 'Keyboar
dEvent.location' instead. | 1 CONSOLE MESSAGE: 'KeyboardEvent.keyLocation'' is deprecated. Please use 'Keyboar
dEvent.location' instead. |
| 2 This tests the constructor for the KeyboardEvent DOM class. | 2 This tests the constructor for the KeyboardEvent DOM class. |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 5 |
| 6 | 6 |
| 7 PASS new KeyboardEvent('eventType').bubbles is false | 7 PASS new KeyboardEvent('eventType').bubbles is false |
| 8 PASS new KeyboardEvent('eventType').cancelable is false | 8 PASS new KeyboardEvent('eventType').cancelable is false |
| 9 PASS new KeyboardEvent('eventType').view is null | 9 PASS new KeyboardEvent('eventType').view is null |
| 10 PASS new KeyboardEvent('eventType').detail is 0 | 10 PASS new KeyboardEvent('eventType').detail is 0 |
| 11 PASS new KeyboardEvent('eventType').keyIdentifier is "" | 11 PASS new KeyboardEvent('eventType').keyIdentifier is "" |
| 12 PASS new KeyboardEvent('eventType').location is 0 | 12 PASS new KeyboardEvent('eventType').location is 0 |
| 13 PASS new KeyboardEvent('eventType').ctrlKey is false | 13 PASS new KeyboardEvent('eventType').ctrlKey is false |
| 14 PASS new KeyboardEvent('eventType').altKey is false | 14 PASS new KeyboardEvent('eventType').altKey is false |
| 15 PASS new KeyboardEvent('eventType').shiftKey is false | 15 PASS new KeyboardEvent('eventType').shiftKey is false |
| 16 PASS new KeyboardEvent('eventType').metaKey is false | 16 PASS new KeyboardEvent('eventType').metaKey is false |
| 17 PASS new KeyboardEvent('eventType').repeat is false |
| 17 PASS new KeyboardEvent('eventType', { bubbles: false }).bubbles is false | 18 PASS new KeyboardEvent('eventType', { bubbles: false }).bubbles is false |
| 18 PASS new KeyboardEvent('eventType', { bubbles: true }).bubbles is true | 19 PASS new KeyboardEvent('eventType', { bubbles: true }).bubbles is true |
| 19 PASS new KeyboardEvent('eventType', { cancelable: false }).cancelable is false | 20 PASS new KeyboardEvent('eventType', { cancelable: false }).cancelable is false |
| 20 PASS new KeyboardEvent('eventType', { cancelable: true }).cancelable is true | 21 PASS new KeyboardEvent('eventType', { cancelable: true }).cancelable is true |
| 21 PASS new KeyboardEvent('eventType', { view: window }).view is window | 22 PASS new KeyboardEvent('eventType', { view: window }).view is window |
| 22 PASS new KeyboardEvent('eventType', { view: this }).view is this | 23 PASS new KeyboardEvent('eventType', { view: this }).view is this |
| 23 PASS new KeyboardEvent('eventType', { view: testObject }).view is null | 24 PASS new KeyboardEvent('eventType', { view: testObject }).view is null |
| 24 PASS new KeyboardEvent('eventType', { view: document }).view is null | 25 PASS new KeyboardEvent('eventType', { view: document }).view is null |
| 25 PASS new KeyboardEvent('eventType', { view: undefined }).view is null | 26 PASS new KeyboardEvent('eventType', { view: undefined }).view is null |
| 26 PASS new KeyboardEvent('eventType', { view: null }).view is null | 27 PASS new KeyboardEvent('eventType', { view: null }).view is null |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 PASS new KeyboardEvent('eventType', { location: {moemoe: 12345} }).location is K
eyboardEvent.DOM_KEY_LOCATION_STANDARD | 75 PASS new KeyboardEvent('eventType', { location: {moemoe: 12345} }).location is K
eyboardEvent.DOM_KEY_LOCATION_STANDARD |
| 75 PASS new KeyboardEvent('eventType', { location: {valueOf: function () { return 1
2345; }} }).location is 12345 | 76 PASS new KeyboardEvent('eventType', { location: {valueOf: function () { return 1
2345; }} }).location is 12345 |
| 76 PASS new KeyboardEvent('eventType', { ctrlKey: false }).ctrlKey is false | 77 PASS new KeyboardEvent('eventType', { ctrlKey: false }).ctrlKey is false |
| 77 PASS new KeyboardEvent('eventType', { ctrlKey: true }).ctrlKey is true | 78 PASS new KeyboardEvent('eventType', { ctrlKey: true }).ctrlKey is true |
| 78 PASS new KeyboardEvent('eventType', { altKey: false }).altKey is false | 79 PASS new KeyboardEvent('eventType', { altKey: false }).altKey is false |
| 79 PASS new KeyboardEvent('eventType', { altKey: true }).altKey is true | 80 PASS new KeyboardEvent('eventType', { altKey: true }).altKey is true |
| 80 PASS new KeyboardEvent('eventType', { shiftKey: false }).shiftKey is false | 81 PASS new KeyboardEvent('eventType', { shiftKey: false }).shiftKey is false |
| 81 PASS new KeyboardEvent('eventType', { shiftKey: true }).shiftKey is true | 82 PASS new KeyboardEvent('eventType', { shiftKey: true }).shiftKey is true |
| 82 PASS new KeyboardEvent('eventType', { metaKey: false }).metaKey is false | 83 PASS new KeyboardEvent('eventType', { metaKey: false }).metaKey is false |
| 83 PASS new KeyboardEvent('eventType', { metaKey: true }).metaKey is true | 84 PASS new KeyboardEvent('eventType', { metaKey: true }).metaKey is true |
| 84 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).bubbles is true | 85 PASS new KeyboardEvent('eventType', { repeat: false }).repeat is false |
| 85 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).cancelable is true | 86 PASS new KeyboardEvent('eventType', { repeat: true }).repeat is true |
| 86 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).view is window | 87 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).bubbles is true |
| 87 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).detail is 111 | 88 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).cancelable is true |
| 88 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).keyIdentifier is "chocolate" | 89 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).view is window |
| 89 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).location is 222 | 90 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).detail is 111 |
| 90 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).ctrlKey is true | 91 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).keyIdentifier is "choco
late" |
| 91 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).altKey is true | 92 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).location is 222 |
| 92 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).shiftKey is true | 93 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).ctrlKey is true |
| 93 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true }).metaKey is true | 94 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).altKey is true |
| 95 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).shiftKey is true |
| 96 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).metaKey is true |
| 97 PASS new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view: win
dow, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true, altK
ey: true, shiftKey: true, metaKey: true, repeat: true }).repeat is true |
| 94 PASS successfullyParsed is true | 98 PASS successfullyParsed is true |
| 95 | 99 |
| 96 TEST COMPLETE | 100 TEST COMPLETE |
| 97 | 101 |
| OLD | NEW |