Bug 1048926 - fix and enable the testcase because the preload action is PRELOAD_NONE on mobile platform. r=jwwang
authorBenjamin Chen <bechen@mozilla.com>
Tue, 04 Aug 2015 16:50:40 +0800
changeset 287950 d44ecfd932525da059cc9b020e02e55c83ffe55b
parent 287949 8a31c820b381e29e2db38a713e1c4bf421097976
child 287951 5eafba8094d02df16400d14401d7859e23bb26b9
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwwang
bugs1048926
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1048926 - fix and enable the testcase because the preload action is PRELOAD_NONE on mobile platform. r=jwwang
dom/media/test/crashtests/789075-1.html
dom/media/test/crashtests/795892-1.html
dom/media/test/crashtests/crashtests.list
--- a/dom/media/test/crashtests/789075-1.html
+++ b/dom/media/test/crashtests/789075-1.html
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <html class="reftest-wait">
 <head>
 </head>
 <body>
-<video src="789075.webm" onloadedmetadata="document.documentElement.className=undefined"></video>
+<video src="789075.webm" preload="metadata" onloadedmetadata="document.documentElement.className=undefined"></video>
 </body>
 </html>
--- a/dom/media/test/crashtests/795892-1.html
+++ b/dom/media/test/crashtests/795892-1.html
@@ -7,11 +7,11 @@ function boom()
   var a = document.getElementById("a");
   a.play();
   a.onplaying = function () { document.documentElement.className = ""; }
 }
 </script>
 </head>
 
 <body>
-<video id="a" src="cors.webm" crossorigin onloadedmetadata="boom();">
+<video id="a" src="cors.webm" crossorigin preload="metadata" onloadedmetadata="boom();">
 </body>
 </html>
--- a/dom/media/test/crashtests/crashtests.list
+++ b/dom/media/test/crashtests/crashtests.list
@@ -5,18 +5,18 @@ load 466945-1.html
 load 468763-1.html
 load 474744-1.html
 HTTP load 481136-1.html # needs to be HTTP to recognize the ogg as an audio file?
 load 493915-1.html
 load 492286-1.xhtml
 load 495794-1.html
 load 576612-1.html
 load 752784-1.html
-skip-if(Android||B2G) load 789075-1.html # bug 1048926
-skip-if(Android||B2G) HTTP load 795892-1.html # bug 1048926
+load 789075-1.html
+HTTP load 795892-1.html
 load 844563.html
 load 846612.html
 load 852838.html
 load 865537-1.html
 load 868504.html
 load 874869.html
 load 874915.html
 load 874934.html