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

Side by Side Diff: LayoutTests/media/W3C/w3cwrapper.js

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 function getVideoURI(dummy) { 1 function getVideoURI(dummy) {
2 var bool=function(any){return!(any=="no"||!any)}; 2 var bool=function(any){return!(any=="no"||!any)};
3 return "../../../content/test." + (bool(document.createElement("video").canPla yType('video/ogg; codecs="theora"')) ? "ogv" : "mp4"); 3 return "../../../content/test." + (bool(document.createElement("video").canPla yType('video/ogg; codecs="theora"')) ? "ogv" : "mp4");
4 } 4 }
5 5
6 function getAudioURI(dummy) { 6 function getAudioURI(dummy) {
7 return "../../../content/test.wav"; 7 return "../../../content/test.wav";
8 } 8 }
9 9
10 function test(testFunction) { 10 function test(testFunction) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 if (window.testRunner) { 45 if (window.testRunner) {
46 testRunner.notifyDone(); 46 testRunner.notifyDone();
47 } 47 }
48 } 48 }
49 } 49 }
50 50
51 return t; 51 return t;
52 } 52 }
53 53
54 document.write("<p id=description></p><div id=console></div>"); 54 document.write("<p id=description></p><div id=console></div>");
55 document.write("<scr" + "ipt src='../../../../fast/js/resources/js-test-pre.js'> </" + "script>"); 55 document.write("<scr" + "ipt src='../../../../resources/js-test.js'></" + "scrip t>");
56 56
57 assert_equals = function(a, b) { shouldBe('"' + a + '"', '"' + b + '"'); } 57 assert_equals = function(a, b) { shouldBe('"' + a + '"', '"' + b + '"'); }
58 assert_true = function(a) { shouldBeTrue("" + a); } 58 assert_true = function(a) { shouldBeTrue("" + a); }
59 assert_false = function(a) { shouldBeFalse("" + a); } 59 assert_false = function(a) { shouldBeFalse("" + a); }
60 60
61 var successfullyParsed = true; 61 var successfullyParsed = true;
OLDNEW
« no previous file with comments | « LayoutTests/ietestcenter/Javascript/15.9.5.44-0-2.html ('k') | LayoutTests/media/network-no-source-const-shadow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698