Index: LayoutTests/fast/events/constructors/error-event-constructor-expected.txt |
diff --git a/LayoutTests/fast/events/constructors/error-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/error-event-constructor-expected.txt |
index b14500c4e01e311e24f1ed691b514890385c40c6..3b73f958a6bb85ec05b2cbd6d6b8dd096e4d358a 100644 |
--- a/LayoutTests/fast/events/constructors/error-event-constructor-expected.txt |
+++ b/LayoutTests/fast/events/constructors/error-event-constructor-expected.txt |
@@ -60,11 +60,34 @@ PASS new ErrorEvent('eventType', { lineno: [12345, 67890] }).lineno is 0 |
PASS new ErrorEvent('eventType', { lineno: {} }).lineno is 0 |
PASS new ErrorEvent('eventType', { lineno: {moemoe: 12345} }).lineno is 0 |
PASS new ErrorEvent('eventType', { lineno: {valueOf: function () { return 12345; }} }).lineno is 12345 |
-PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345 }).bubbles is true |
-PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345 }).cancelable is true |
-PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345 }).message is "sakuranbo" |
-PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345 }).filename is "amaenbo" |
-PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345 }).lineno is 12345 |
+PASS new ErrorEvent('eventType', { colno: 0 }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: 1 }).colno is 1 |
+PASS new ErrorEvent('eventType', { colno: 4294967294 }).colno is 4294967294 |
+PASS new ErrorEvent('eventType', { colno: 4294967295 }).colno is 4294967295 |
+PASS new ErrorEvent('eventType', { colno: 9007199254740991 }).colno is 4294967295 |
+PASS new ErrorEvent('eventType', { colno: 18446744073709551615 }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: 12345678901234567890 }).colno is 3944679424 |
+PASS new ErrorEvent('eventType', { colno: -1 }).colno is 4294967295 |
+PASS new ErrorEvent('eventType', { colno: 123.45 }).colno is 123 |
+PASS new ErrorEvent('eventType', { colno: NaN }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: undefined }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: null }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: '' }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: '12345' }).colno is 12345 |
+PASS new ErrorEvent('eventType', { colno: '12345a' }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: 'abc' }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: [] }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: [12345] }).colno is 12345 |
+PASS new ErrorEvent('eventType', { colno: [12345, 67890] }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: {} }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: {moemoe: 12345} }).colno is 0 |
+PASS new ErrorEvent('eventType', { colno: {valueOf: function () { return 12345; }} }).colno is 12345 |
+PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).bubbles is true |
+PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).cancelable is true |
+PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).message is "sakuranbo" |
+PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).filename is "amaenbo" |
+PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).lineno is 12345 |
+PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).colno is 23456 |
PASS successfullyParsed is true |
TEST COMPLETE |