Bug 980783: Make reftest scale-1.svg use MozReftestInvalidate for dynamic tweak, and make its reftest.list annotations more strict. r=jwatt
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 07 Mar 2014 09:48:56 -0800
changeset 172582 d54517381f96511883eee2630b53ead58704cf70
parent 172581 eea5db7d83d84b7c76f9ac7478fcfa469ad12a47
child 172583 0ee66295c251081d9b3e22e61fce472a86f219c2
push id26365
push userryanvm@gmail.com
push dateFri, 07 Mar 2014 20:37:53 +0000
treeherdermozilla-central@cd67334b34c5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwatt
bugs980783
milestone30.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 980783: Make reftest scale-1.svg use MozReftestInvalidate for dynamic tweak, and make its reftest.list annotations more strict. r=jwatt
layout/reftests/svg/smil/transform/reftest.list
layout/reftests/svg/smil/transform/scale-1.svg
--- a/layout/reftests/svg/smil/transform/reftest.list
+++ b/layout/reftests/svg/smil/transform/reftest.list
@@ -4,14 +4,14 @@
 fuzzy(110,1058) random-if(Android&&AndroidVersion>=15) == additive-1.svg additive-1-ref.svg     # bug 839865
 == animate-width-1.svg lime.svg
 fuzzy(155,4352) random-if(Android&&AndroidVersion>=15)  == paced-1.svg paced-1-ref.svg           # bug 839865
 fuzzy(32,225) random-if(Android&&AndroidVersion>=15) == rotate-angle-1.svg rotate-angle-ref.svg # bug 839865
 fuzzy(32,225) random-if(Android&&AndroidVersion>=15) == rotate-angle-2.svg rotate-angle-ref.svg # bug 839865
 fuzzy(32,225) random-if(Android&&AndroidVersion>=15) == rotate-angle-3.svg rotate-angle-ref.svg # bug 839865
 fuzzy(32,200) random-if(Android&&AndroidVersion>=15) == rotate-angle-4.svg rotate-angle-ref.svg # bug 839865
 fuzzy(32,125) random-if(Android&&AndroidVersion>=15) == rotate-angle-5.svg rotate-angle-ref.svg # bug 839865
-fuzzy(16,6237) random-if(Android&&AndroidVersion>=15) == scale-1.svg scale-1-ref.svg            # bug 839865
+fuzzy(12,27) == scale-1.svg scale-1-ref.svg  # bug 981004
 == set-transform-1.svg lime.svg
 fuzzy(132,15500) == skew-1.svg skew-1-ref.svg            # bug 839865
 random-if(Android&&!browserIsRemote) == translate-clipPath-1.svg lime.svg # bug 760266
 fails-if(OSX==10.6) == translate-gradient-1.svg lime.svg
 fuzzy-if(Android,8,200) == translate-pattern-1.svg lime.svg
--- a/layout/reftests/svg/smil/transform/scale-1.svg
+++ b/layout/reftests/svg/smil/transform/scale-1.svg
@@ -1,13 +1,19 @@
 <svg xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink"
-     class="reftest-wait"
-     onload="setTimeAndSnapshot(101, true)">
+     class="reftest-wait">
   <script xlink:href="../smil-util.js" type="text/javascript"/>
+  <script>
+    window.addEventListener("MozReftestInvalidate", run, false);
+
+    function run() {
+      setTimeAndSnapshot(101, true);
+    }
+  </script>
   <defs>
     <g id="smiley">
       <circle fill="yellow" stroke="black" stroke-width="1" cx="0" cy="0"
         r="20"/>
       <circle fill="white" stroke="black" stroke-width="1" cx="-7" cy="-7"
         r="7"/>
       <circle fill="white" stroke="black" stroke-width="1" cx="7" cy="-7"
         r="7"/>