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

Side by Side Diff: LayoutTests/fast/events/constructors/webgl-context-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 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 10
11 description("This tests the constructor for the WebGLContextEvent DOM class."); 11 description("This tests the constructor for the WebGLContextEvent DOM class.");
12 12
13 // No initializer is passed. 13 // No initializer is passed.
14 shouldBe("new WebGLContextEvent('eventType').bubbles", "false"); 14 shouldBe("new WebGLContextEvent('eventType').bubbles", "false");
(...skipping 26 matching lines...) Expand all
41 shouldBeEqualToString("new WebGLContextEvent('eventType', { statusMessage: {abcd e: 12345} }).statusMessage", "[object Object]"); 41 shouldBeEqualToString("new WebGLContextEvent('eventType', { statusMessage: {abcd e: 12345} }).statusMessage", "[object Object]");
42 shouldBeEqualToString("new WebGLContextEvent('eventType', { statusMessage: {valu eOf: function () { return 'abcde'; } } }).statusMessage", "[object Object]"); 42 shouldBeEqualToString("new WebGLContextEvent('eventType', { statusMessage: {valu eOf: function () { return 'abcde'; } } }).statusMessage", "[object Object]");
43 43
44 // All initializers are passed. 44 // All initializers are passed.
45 shouldBe("new WebGLContextEvent('eventType', { bubbles: true, cancelable: true, statusMessage: 'abcde' }).bubbles", "true"); 45 shouldBe("new WebGLContextEvent('eventType', { bubbles: true, cancelable: true, statusMessage: 'abcde' }).bubbles", "true");
46 shouldBe("new WebGLContextEvent('eventType', { bubbles: true, cancelable: true, statusMessage: 'abcde' }).cancelable", "true"); 46 shouldBe("new WebGLContextEvent('eventType', { bubbles: true, cancelable: true, statusMessage: 'abcde' }).cancelable", "true");
47 shouldBe("new WebGLContextEvent('eventType', { bubbles: true, cancelable: true, statusMessage: 'abcde' }).statusMessage", "'abcde'"); 47 shouldBe("new WebGLContextEvent('eventType', { bubbles: true, cancelable: true, statusMessage: 'abcde' }).statusMessage", "'abcde'");
48 </script> 48 </script>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698