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

Side by Side Diff: LayoutTests/fast/events/constructors/midi-message-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 MIDIMessageEvent DOM class."); 9 description("This tests the constructor for the MIDIMessageEvent DOM class.");
10 10
11 // No initializer is passed. 11 // No initializer is passed.
12 shouldBe("new MIDIMessageEvent('eventType').bubbles", "false"); 12 shouldBe("new MIDIMessageEvent('eventType').bubbles", "false");
13 shouldBe("new MIDIMessageEvent('eventType').cancelable", "false"); 13 shouldBe("new MIDIMessageEvent('eventType').cancelable", "false");
14 shouldBe("new MIDIMessageEvent('eventType').receivedTime", "0.0"); 14 shouldBe("new MIDIMessageEvent('eventType').receivedTime", "0.0");
(...skipping 15 matching lines...) Expand all
30 30
31 // All initializers are passed. 31 // All initializers are passed.
32 shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, r eceivedTime: 1976.0501, data: new Uint8Array(3) }).bubbles", "true"); 32 shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, r eceivedTime: 1976.0501, data: new Uint8Array(3) }).bubbles", "true");
33 shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, r eceivedTime: 1976.0501, data: new Uint8Array(3) }).cancelable", "true"); 33 shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, r eceivedTime: 1976.0501, data: new Uint8Array(3) }).cancelable", "true");
34 shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, r eceivedTime: 1976.0501, data: new Uint8Array(3) }).receivedTime", "1976.0501"); 34 shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, r eceivedTime: 1976.0501, data: new Uint8Array(3) }).receivedTime", "1976.0501");
35 shouldBeEqualToString("new MIDIMessageEvent('eventType', { bubbles: true, cancel able: true, receivedTime: 1976.0501, data: new Uint8Array(3) }).data.toString()" , "[object Uint8Array]"); 35 shouldBeEqualToString("new MIDIMessageEvent('eventType', { bubbles: true, cancel able: true, receivedTime: 1976.0501, data: new Uint8Array(3) }).data.toString()" , "[object Uint8Array]");
36 36
37 </script> 37 </script>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698