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

Side by Side Diff: LayoutTests/fast/events/constructors/close-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 CloseEvent DOM class."); 9 description("This tests the constructor for the CloseEvent DOM class.");
10 10
11 // No initializer is passed. 11 // No initializer is passed.
12 shouldBe("new CloseEvent('eventType').bubbles", "false"); 12 shouldBe("new CloseEvent('eventType').bubbles", "false");
13 shouldBe("new CloseEvent('eventType').cancelable", "false"); 13 shouldBe("new CloseEvent('eventType').cancelable", "false");
14 shouldBe("new CloseEvent('eventType').wasClean", "false"); 14 shouldBe("new CloseEvent('eventType').wasClean", "false");
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // All initializers are passed. 79 // All initializers are passed.
80 shouldBe("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClea n: true, code : 12345, reason: 'koakuma' }).bubbles", "true"); 80 shouldBe("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClea n: true, code : 12345, reason: 'koakuma' }).bubbles", "true");
81 shouldBe("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClea n: true, code : 12345, reason: 'koakuma' }).cancelable", "true"); 81 shouldBe("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClea n: true, code : 12345, reason: 'koakuma' }).cancelable", "true");
82 shouldBe("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClea n: true, code : 12345, reason: 'koakuma' }).wasClean", "true"); 82 shouldBe("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClea n: true, code : 12345, reason: 'koakuma' }).wasClean", "true");
83 shouldBe("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClea n: true, code : 12345, reason: 'koakuma' }).code", "12345"); 83 shouldBe("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClea n: true, code : 12345, reason: 'koakuma' }).code", "12345");
84 shouldBeEqualToString("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClean: true, code : 12345, reason: 'koakuma' }).reason", "koakuma"); 84 shouldBeEqualToString("new CloseEvent('eventType', { bubbles: true, cancelable: true, wasClean: true, code : 12345, reason: 'koakuma' }).reason", "koakuma");
85 </script> 85 </script>
86 </body> 86 </body>
87 </html> 87 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698