| 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 ProgressEvent DOM class."); | 9 description("This tests the constructor for the ProgressEvent DOM class."); |
| 10 | 10 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 shouldBe("new ProgressEvent('eventType', { " + attr + ": {valueOf: function
() { return 12345; }} })." + attr, "12345"); | 64 shouldBe("new ProgressEvent('eventType', { " + attr + ": {valueOf: function
() { return 12345; }} })." + attr, "12345"); |
| 65 }); | 65 }); |
| 66 | 66 |
| 67 // All initializers are passed. | 67 // All initializers are passed. |
| 68 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).bubbles", "true"); | 68 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).bubbles", "true"); |
| 69 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).cancelable", "true"); | 69 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).cancelable", "true"); |
| 70 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).lengthComputable", "true"); | 70 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).lengthComputable", "true"); |
| 71 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).loaded", "12345"); | 71 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).loaded", "12345"); |
| 72 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).total", "12345"); | 72 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng
thComputable: true, loaded: 12345, total: 12345 }).total", "12345"); |
| 73 </script> | 73 </script> |
| 74 <script src="../../js/resources/js-test-post.js"></script> | |
| 75 </body> | 74 </body> |
| 76 </html> | 75 </html> |
| OLD | NEW |