Fix failing test from bug 579828; a=testfix
authorBrian Birtles <birtles@gmail.com>
Tue, 26 Oct 2010 09:46:45 +0900
changeset 56478 e79b950e6ea503a43c35a0c6a8cff10c858006b5
parent 56477 c668ad69aaed1ac527a49e9ba0042574345ae548
child 56479 22b6b74654580706059aa1b4fd2481c472ffce53
push id16570
push userbbirtles@mozilla.com
push dateTue, 26 Oct 2010 00:47:16 +0000
treeherdermozilla-central@e79b950e6ea5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestfix
bugs579828
milestone2.0b8pre
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
Fix failing test from bug 579828; a=testfix
layout/reftests/svg/smil/event/event-end-trimmed-1.svg
layout/reftests/svg/smil/event/reftest.list
--- a/layout/reftests/svg/smil/event/event-end-trimmed-1.svg
+++ b/layout/reftests/svg/smil/event/event-end-trimmed-1.svg
@@ -1,15 +1,17 @@
 <svg xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink"
      class="reftest-wait"
      onload="
         document.documentElement.pauseAnimations();
         document.documentElement.setCurrentTime(1);
         document.getElementById('a').setAttribute('end', '0s');
+        /* Force a sample to make sure that event gets fired */
+        document.documentElement.setCurrentTime(1);
         delayedSnapshot(2)">
   <script xlink:href="event-util.js" type="text/javascript"/>
   <rect width="100" height="100" fill="red">
     <set attributeName="x" to="0" begin="0.5s" dur="10s" id="a"/>
     <set attributeName="fill" attributeType="CSS"
       to="green" begin="a.endEvent" dur="4s"/>
   </rect>
 </svg>
--- a/layout/reftests/svg/smil/event/reftest.list
+++ b/layout/reftests/svg/smil/event/reftest.list
@@ -7,17 +7,17 @@
 == event-begin-timeevent-2.svg green-box-ref.svg
 == event-begin-timeevent-3.svg green-box-ref.svg
 == event-begin-load-1.svg green-box-ref.svg
 == event-bubble-1.svg green-box-ref.svg
 == event-custom-1.svg green-box-ref.svg
 == event-end-1.svg green-box-ref.svg
 == event-end-2.svg green-box-ref.svg
 == event-end-open-1.svg green-box-ref.svg
-# == event-end-trimmed-1.svg green-box-ref.svg failing on mc, tracking in bug Bug 579828
+== event-end-trimmed-1.svg green-box-ref.svg
 == event-preventDefault-1.svg green-box-ref.svg
 == event-seek-1.svg green-box-ref.svg
 == event-target-default-1.svg green-box-ref.svg
 == event-target-default-2.svg green-box-ref.svg
 == event-target-id-change-1.svg green-box-ref.svg
 == event-target-id-change-2.svg green-box-ref.svg
 == event-target-id-change-3.svg green-box-ref.svg
 == event-target-xlink-change-1.svg green-box-ref.svg