| 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 AutocompleteErrorEvent DOM class
."); | 9 description("This tests the constructor for the AutocompleteErrorEvent DOM class
."); |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { reason: {do
remi: 12345} }).reason", "[object Object]"); | 40 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { reason: {do
remi: 12345} }).reason", "[object Object]"); |
| 41 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { reason: {va
lueOf: function () { return 'doremi'; } } }).reason", "[object Object]"); | 41 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { reason: {va
lueOf: function () { return 'doremi'; } } }).reason", "[object Object]"); |
| 42 | 42 |
| 43 // All initializers are passed. | 43 // All initializers are passed. |
| 44 shouldBe("new AutocompleteErrorEvent('eventType', { bubbles: true, cancelabl
e: true, reason: 'doremi' }).bubbles", "true"); | 44 shouldBe("new AutocompleteErrorEvent('eventType', { bubbles: true, cancelabl
e: true, reason: 'doremi' }).bubbles", "true"); |
| 45 shouldBe("new AutocompleteErrorEvent('eventType', { bubbles: true, cancelabl
e: true, reason: 'doremi' }).cancelable", "true"); | 45 shouldBe("new AutocompleteErrorEvent('eventType', { bubbles: true, cancelabl
e: true, reason: 'doremi' }).cancelable", "true"); |
| 46 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { bubbles: tr
ue, cancelable: true, reason: 'doremi' }).reason", "doremi"); | 46 shouldBeEqualToString("new AutocompleteErrorEvent('eventType', { bubbles: tr
ue, cancelable: true, reason: 'doremi' }).reason", "doremi"); |
| 47 } | 47 } |
| 48 | 48 |
| 49 </script> | 49 </script> |
| 50 <script src="../../js/resources/js-test-post.js"></script> | |
| 51 </body> | 50 </body> |
| 52 </html> | 51 </html> |
| OLD | NEW |