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

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

Issue 20351002: Add 'error' parameter to 'window.onerror' handlers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Constructor. Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 PASS new ErrorEvent('eventType', { colno: '' }).colno is 0 75 PASS new ErrorEvent('eventType', { colno: '' }).colno is 0
76 PASS new ErrorEvent('eventType', { colno: '12345' }).colno is 12345 76 PASS new ErrorEvent('eventType', { colno: '12345' }).colno is 12345
77 PASS new ErrorEvent('eventType', { colno: '12345a' }).colno is 0 77 PASS new ErrorEvent('eventType', { colno: '12345a' }).colno is 0
78 PASS new ErrorEvent('eventType', { colno: 'abc' }).colno is 0 78 PASS new ErrorEvent('eventType', { colno: 'abc' }).colno is 0
79 PASS new ErrorEvent('eventType', { colno: [] }).colno is 0 79 PASS new ErrorEvent('eventType', { colno: [] }).colno is 0
80 PASS new ErrorEvent('eventType', { colno: [12345] }).colno is 12345 80 PASS new ErrorEvent('eventType', { colno: [12345] }).colno is 12345
81 PASS new ErrorEvent('eventType', { colno: [12345, 67890] }).colno is 0 81 PASS new ErrorEvent('eventType', { colno: [12345, 67890] }).colno is 0
82 PASS new ErrorEvent('eventType', { colno: {} }).colno is 0 82 PASS new ErrorEvent('eventType', { colno: {} }).colno is 0
83 PASS new ErrorEvent('eventType', { colno: {moemoe: 12345} }).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 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 85 PASS new ErrorEvent('eventType', { error: { moemoe: 12345 } }).error.moemoe is 1 2345
86 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).cancelable is true 86 PASS new ErrorEvent('eventType', { error: { message: 'Message' } }).error.messag e is "Message"
87 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).message is "sakura nbo" 87 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { message: 'h i' } }).bubbles is true
88 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).filename is "amaen bo" 88 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { message: 'h i' } }).cancelable is true
89 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).lineno is 12345 89 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { message: 'h i' } }).message is "sakuranbo"
90 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456 }).colno is 23456 90 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { message: 'h i' } }).filename is "amaenbo"
91 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { message: 'h i' } }).lineno is 12345
92 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { message: 'h i' } }).colno is 23456
93 PASS new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sa kuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { message: 'h i' } }).error.message is "hi"
91 PASS successfullyParsed is true 94 PASS successfullyParsed is true
92 95
93 TEST COMPLETE 96 TEST COMPLETE
94 97
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/constructors/error-event-constructor.html ('k') | LayoutTests/fast/events/resources/onerror-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698