| 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 PageTransitionEvent DOM class.")
; | 9 description("This tests the constructor for the PageTransitionEvent DOM class.")
; |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 // persisted is passed. | 24 // persisted is passed. |
| 25 shouldBe("new PageTransitionEvent('eventType', { persisted: false }).persisted",
"false"); | 25 shouldBe("new PageTransitionEvent('eventType', { persisted: false }).persisted",
"false"); |
| 26 shouldBe("new PageTransitionEvent('eventType', { persisted: true }).persisted",
"true"); | 26 shouldBe("new PageTransitionEvent('eventType', { persisted: true }).persisted",
"true"); |
| 27 | 27 |
| 28 // All initializers are passed. | 28 // All initializers are passed. |
| 29 shouldBe("new PageTransitionEvent('eventType', { bubbles: true, cancelable: true
, persisted: true }).bubbles", "true"); | 29 shouldBe("new PageTransitionEvent('eventType', { bubbles: true, cancelable: true
, persisted: true }).bubbles", "true"); |
| 30 shouldBe("new PageTransitionEvent('eventType', { bubbles: true, cancelable: true
, persisted: true }).cancelable", "true"); | 30 shouldBe("new PageTransitionEvent('eventType', { bubbles: true, cancelable: true
, persisted: true }).cancelable", "true"); |
| 31 shouldBe("new PageTransitionEvent('eventType', { bubbles: true, cancelable: true
, persisted: true }).persisted", "true"); | 31 shouldBe("new PageTransitionEvent('eventType', { bubbles: true, cancelable: true
, persisted: true }).persisted", "true"); |
| 32 </script> | 32 </script> |
| 33 <script src="../../js/resources/js-test-post.js"></script> | |
| 34 </body> | 33 </body> |
| 35 </html> | 34 </html> |
| OLD | NEW |