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

Side by Side Diff: LayoutTests/fast/events/constructors/progress-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 ProgressEvent DOM class."); 9 description("This tests the constructor for the ProgressEvent DOM class.");
10 10
11 // No initializer is passed. 11 // No initializer is passed.
12 shouldBe("new ProgressEvent('eventType').bubbles", "false"); 12 shouldBe("new ProgressEvent('eventType').bubbles", "false");
13 shouldBe("new ProgressEvent('eventType').cancelable", "false"); 13 shouldBe("new ProgressEvent('eventType').cancelable", "false");
14 shouldBe("new ProgressEvent('eventType').lengthComputable", "false"); 14 shouldBe("new ProgressEvent('eventType').lengthComputable", "false");
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // All initializers are passed. 67 // All initializers are passed.
68 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).bubbles", "true"); 68 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).bubbles", "true");
69 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).cancelable", "true"); 69 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).cancelable", "true");
70 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).lengthComputable", "true"); 70 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).lengthComputable", "true");
71 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).loaded", "12345"); 71 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).loaded", "12345");
72 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).total", "12345"); 72 shouldBe("new ProgressEvent('eventType', { bubbles: true, cancelable: true, leng thComputable: true, loaded: 12345, total: 12345 }).total", "12345");
73 </script> 73 </script>
74 </body> 74 </body>
75 </html> 75 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698