OLD | NEW |
1 This tests the constructor for the ErrorEvent DOM class. | 1 This tests the constructor for the ErrorEvent DOM class. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS new ErrorEvent('eventType').bubbles is false | 6 PASS new ErrorEvent('eventType').bubbles is false |
7 PASS new ErrorEvent('eventType').cancelable is false | 7 PASS new ErrorEvent('eventType').cancelable is false |
8 PASS new ErrorEvent('eventType').message is "" | 8 PASS new ErrorEvent('eventType').message is "" |
9 PASS new ErrorEvent('eventType').filename is "" | 9 PASS new ErrorEvent('eventType').filename is "" |
10 PASS new ErrorEvent('eventType').lineno is 0 | 10 PASS new ErrorEvent('eventType').lineno is 0 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 PASS new ErrorEvent('eventType', { lineno: '' }).lineno is 0 | 53 PASS new ErrorEvent('eventType', { lineno: '' }).lineno is 0 |
54 PASS new ErrorEvent('eventType', { lineno: '12345' }).lineno is 12345 | 54 PASS new ErrorEvent('eventType', { lineno: '12345' }).lineno is 12345 |
55 PASS new ErrorEvent('eventType', { lineno: '12345a' }).lineno is 0 | 55 PASS new ErrorEvent('eventType', { lineno: '12345a' }).lineno is 0 |
56 PASS new ErrorEvent('eventType', { lineno: 'abc' }).lineno is 0 | 56 PASS new ErrorEvent('eventType', { lineno: 'abc' }).lineno is 0 |
57 PASS new ErrorEvent('eventType', { lineno: [] }).lineno is 0 | 57 PASS new ErrorEvent('eventType', { lineno: [] }).lineno is 0 |
58 PASS new ErrorEvent('eventType', { lineno: [12345] }).lineno is 12345 | 58 PASS new ErrorEvent('eventType', { lineno: [12345] }).lineno is 12345 |
59 PASS new ErrorEvent('eventType', { lineno: [12345, 67890] }).lineno is 0 | 59 PASS new ErrorEvent('eventType', { lineno: [12345, 67890] }).lineno is 0 |
60 PASS new ErrorEvent('eventType', { lineno: {} }).lineno is 0 | 60 PASS new ErrorEvent('eventType', { lineno: {} }).lineno is 0 |
61 PASS new ErrorEvent('eventType', { lineno: {moemoe: 12345} }).lineno is 0 | 61 PASS new ErrorEvent('eventType', { lineno: {moemoe: 12345} }).lineno is 0 |
62 PASS new ErrorEvent('eventType', { lineno: {valueOf: function () { return 12345;
}} }).lineno is 12345 | 62 PASS new ErrorEvent('eventType', { lineno: {valueOf: function () { return 12345;
}} }).lineno is 12345 |
63 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345 }).bubbles is true | 63 PASS new ErrorEvent('eventType', { colno: 0 }).colno is 0 |
64 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345 }).cancelable is true | 64 PASS new ErrorEvent('eventType', { colno: 1 }).colno is 1 |
65 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345 }).message is "sakuranbo" | 65 PASS new ErrorEvent('eventType', { colno: 4294967294 }).colno is 4294967294 |
66 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345 }).filename is "amaenbo" | 66 PASS new ErrorEvent('eventType', { colno: 4294967295 }).colno is 4294967295 |
67 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345 }).lineno is 12345 | 67 PASS new ErrorEvent('eventType', { colno: 9007199254740991 }).colno is 429496729
5 |
| 68 PASS new ErrorEvent('eventType', { colno: 18446744073709551615 }).colno is 0 |
| 69 PASS new ErrorEvent('eventType', { colno: 12345678901234567890 }).colno is 39446
79424 |
| 70 PASS new ErrorEvent('eventType', { colno: -1 }).colno is 4294967295 |
| 71 PASS new ErrorEvent('eventType', { colno: 123.45 }).colno is 123 |
| 72 PASS new ErrorEvent('eventType', { colno: NaN }).colno is 0 |
| 73 PASS new ErrorEvent('eventType', { colno: undefined }).colno is 0 |
| 74 PASS new ErrorEvent('eventType', { colno: null }).colno is 0 |
| 75 PASS new ErrorEvent('eventType', { colno: '' }).colno is 0 |
| 76 PASS new ErrorEvent('eventType', { colno: '12345' }).colno is 12345 |
| 77 PASS new ErrorEvent('eventType', { colno: '12345a' }).colno is 0 |
| 78 PASS new ErrorEvent('eventType', { colno: 'abc' }).colno is 0 |
| 79 PASS new ErrorEvent('eventType', { colno: [] }).colno is 0 |
| 80 PASS new ErrorEvent('eventType', { colno: [12345] }).colno is 12345 |
| 81 PASS new ErrorEvent('eventType', { colno: [12345, 67890] }).colno is 0 |
| 82 PASS new ErrorEvent('eventType', { colno: {} }).colno is 0 |
| 83 PASS new ErrorEvent('eventType', { colno: {moemoe: 12345} }).colno is 0 |
| 84 PASS new ErrorEvent('eventType', { colno: {valueOf: function () { return 12345;
}} }).colno is 12345 |
| 85 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).bubbles is true |
| 86 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).cancelable is true |
| 87 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).message is "sakura
nbo" |
| 88 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).filename is "amaen
bo" |
| 89 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).lineno is 12345 |
| 90 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa
kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).colno is 23456 |
68 PASS successfullyParsed is true | 91 PASS successfullyParsed is true |
69 | 92 |
70 TEST COMPLETE | 93 TEST COMPLETE |
71 | 94 |
OLD | NEW |