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

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

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!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="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 8
9 description("This tests the constructor for the ErrorEvent DOM class."); 9 description("This tests the constructor for the ErrorEvent DOM class.");
10 10
11 // No initializer is passed. 11 // No initializer is passed.
12 shouldBe("new ErrorEvent('eventType').bubbles", "false"); 12 shouldBe("new ErrorEvent('eventType').bubbles", "false");
13 shouldBe("new ErrorEvent('eventType').cancelable", "false"); 13 shouldBe("new ErrorEvent('eventType').cancelable", "false");
14 shouldBeEqualToString("new ErrorEvent('eventType').message", ""); 14 shouldBeEqualToString("new ErrorEvent('eventType').message", "");
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 shouldBe("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message : 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { messag e: 'hi' } }).bubbles", "true"); 113 shouldBe("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message : 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { messag e: 'hi' } }).bubbles", "true");
114 shouldBe("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message : 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { messag e: 'hi' } }).cancelable", "true"); 114 shouldBe("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message : 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { messag e: 'hi' } }).cancelable", "true");
115 shouldBeEqualToString("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, er ror: { message: 'hi' } }).message", "sakuranbo"); 115 shouldBeEqualToString("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, er ror: { message: 'hi' } }).message", "sakuranbo");
116 shouldBeEqualToString("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, er ror: { message: 'hi' } }).filename", "amaenbo"); 116 shouldBeEqualToString("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, er ror: { message: 'hi' } }).filename", "amaenbo");
117 shouldBe("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message : 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { messag e: 'hi' } }).lineno", "12345"); 117 shouldBe("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message : 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { messag e: 'hi' } }).lineno", "12345");
118 shouldBe("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message : 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { messag e: 'hi' } }).colno", "23456"); 118 shouldBe("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message : 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, error: { messag e: 'hi' } }).colno", "23456");
119 shouldBeEqualToString("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, er ror: { message: 'hi' } }).error.message", "hi"); 119 shouldBeEqualToString("new ErrorEvent('eventType', { bubbles: true, cancelable: true, message: 'sakuranbo', filename: 'amaenbo', lineno: 12345, colno: 23456, er ror: { message: 'hi' } }).error.message", "hi");
120 </script> 120 </script>
121 </body> 121 </body>
122 </html> 122 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698