Bug 1289742. P1 - remove tests that are not relevant. dynamic_resource.sjs is the only one we need to test media cache. r?kaku draft
authorJW Wang <jwwang@mozilla.com>
Mon, 06 Mar 2017 14:53:02 +0800
changeset 493862 6fcafdc9626221cf9f6418c7e8029c5688176ee2
parent 493821 7299a660b54a0b4c4153d94320ec51b447091e2a
child 493863 a35e8496af04135f8d24fc5868e34ede678aa6de
push id47870
push userjwwang@mozilla.com
push dateMon, 06 Mar 2017 07:41:53 +0000
reviewerskaku
bugs1289742
milestone54.0a1
Bug 1289742. P1 - remove tests that are not relevant. dynamic_resource.sjs is the only one we need to test media cache. r?kaku MozReview-Commit-ID: HIHLZkPuQTI
dom/media/test/manifest.js
--- a/dom/media/test/manifest.js
+++ b/dom/media/test/manifest.js
@@ -88,22 +88,21 @@ var gPlayedTests = [
   // See bug 1110922 comment 26.
   //{ name:"vbr.mp3", type:"audio/mpeg", duration:10.0 },
   { name:"bug495794.ogg", type:"audio/ogg", duration:0.3 },
 ];
 
 // Used by test_mozLoadFrom.  Need one test file per decoder backend, plus
 // anything for testing clone-specific bugs.
 var cloneKey = Math.floor(Math.random()*100000000);
-var gCloneTests = gSmallTests.concat([
-  { name:"bug520908.ogv", type:"video/ogg", duration:0.2 },
+var gCloneTests = [
   // short-video is more like 1s, so if you load this twice you'll get an unexpected duration
   { name:"dynamic_resource.sjs?key=" + cloneKey + "&res1=320x240.ogv&res2=short-video.ogv",
     type:"video/ogg", duration:0.266 },
-]);
+];
 
 // Used by test_play_twice.  Need one test file per decoder backend, plus
 // anything for testing bugs that occur when replying a played file.
 var gReplayTests = gSmallTests.concat([
   { name:"bug533822.ogg", type:"audio/ogg" },
 ]);
 
 // Used by test_paused_after_ended. Need one test file per decoder backend, plus