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

Side by Side Diff: LayoutTests/fast/events/constructors/track-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 6
7 <body> 7 <body>
8 <script> 8 <script>
9 9
10 window.jsTestIsAsync = true; 10 window.jsTestIsAsync = true;
11 11
12 description("This tests the constructor for the TrackEvent DOM class."); 12 description("This tests the constructor for the TrackEvent DOM class.");
13 13
14 function test() 14 function test()
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 trackElement = document.createElement('track'); 56 trackElement = document.createElement('track');
57 video.appendChild(trackElement); 57 video.appendChild(trackElement);
58 trackElement.track.mode = "hidden"; 58 trackElement.track.mode = "hidden";
59 trackElement.addEventListener('load', test); 59 trackElement.addEventListener('load', test);
60 trackElement.src='data:text/vtt,WEBVTT FILE \r\r1\r00:00:00.000 --> 00:0 0:30.500\ronly one caption'; 60 trackElement.src='data:text/vtt,WEBVTT FILE \r\r1\r00:00:00.000 --> 00:0 0:30.500\ronly one caption';
61 61
62 </script> 62 </script>
63 63
64 </body> 64 </body>
65 </html> 65 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698