OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 | 8 |
9 description("This tests the constructor for the KeyboardEvent DOM class."); | 9 description("This tests the constructor for the KeyboardEvent DOM class."); |
10 | 10 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).view", "window"); | 120 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).view", "window"); |
121 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).detail", "111"); | 121 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).detail", "111"); |
122 shouldBeEqualToString("new KeyboardEvent('eventType', { bubbles: true, cancelabl
e: true, view: window, detail: 111, keyIdentifier: 'chocolate', location: 222, c
trlKey: true, altKey: true, shiftKey: true, metaKey: true, repeat: true }).keyId
entifier", "chocolate"); | 122 shouldBeEqualToString("new KeyboardEvent('eventType', { bubbles: true, cancelabl
e: true, view: window, detail: 111, keyIdentifier: 'chocolate', location: 222, c
trlKey: true, altKey: true, shiftKey: true, metaKey: true, repeat: true }).keyId
entifier", "chocolate"); |
123 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).location", "222"); | 123 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).location", "222"); |
124 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).ctrlKey", "true"); | 124 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).ctrlKey", "true"); |
125 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).altKey", "true"); | 125 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).altKey", "true"); |
126 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).shiftKey", "true")
; | 126 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).shiftKey", "true")
; |
127 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).metaKey", "true"); | 127 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).metaKey", "true"); |
128 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).repeat", "true"); | 128 shouldBe("new KeyboardEvent('eventType', { bubbles: true, cancelable: true, view
: window, detail: 111, keyIdentifier: 'chocolate', location: 222, ctrlKey: true,
altKey: true, shiftKey: true, metaKey: true, repeat: true }).repeat", "true"); |
129 </script> | 129 </script> |
130 <script src="../../js/resources/js-test-post.js"></script> | |
131 </body> | 130 </body> |
132 </html> | 131 </html> |
OLD | NEW |