Bug 931013 - Fix intermittent failure of smil/crashtests/690994-1.svg. r=birtles, a=test-only
authorRobert Longson <longsonr@gmail.com>
Mon, 20 Jan 2014 10:51:06 +0000
changeset 175905 3988a9f12811f20471c923ac68cb9bc7a79f4b27
parent 175904 38429fcafaae2d68fbe020f3842a905752c29bb1
child 175906 62d21984ab23664465dd0f834d93cc2bfa017572
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles, test-only
bugs931013, 690994
milestone28.0a2
Bug 931013 - Fix intermittent failure of smil/crashtests/690994-1.svg. r=birtles, a=test-only
content/smil/crashtests/690994-1.svg
--- a/content/smil/crashtests/690994-1.svg
+++ b/content/smil/crashtests/690994-1.svg
@@ -1,14 +1,17 @@
 <?xml version="1.0"?>
-<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
+<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait" onload="go()">
 <script>
 <![CDATA[
+function go() {
+  document.documentElement.setCurrentTime(100);
+}
 function boom()
 {
   document.documentElement.removeChild(document.getElementById("a"));
   document.documentElement.removeAttribute("class");
 }
 ]]>
 </script>
-<animate id="a" begin="a.end; -0.1s" end="a.begin+0.2s" onend="boom()"/>
-<animate id="a" begin="a.end; -0.1s" end="a.begin+0.2s"/>
+<animate id="a" begin="a.end; 99.9s" end="a.begin+0.2s" onend="boom()"/>
+<animate id="a" begin="a.end; 99.9s" end="a.begin+0.2s"/>
 </svg>