Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: LayoutTests/fast/events/constructors/error-event-constructor-expected.txt

Issue 20679002: Add 'colno' attribute to ErrorEvent interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698