SVG/SMIL test-only fix: add 'reftest-wait' to a test that needs it. NPODB (also, test not currently run on tinderboxen)
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 21 Apr 2009 12:54:47 -0700
changeset 27583 fd32b8b9ec85a10f7abab3dbef239e522f123ef6
parent 27582 4209e25766b7c1f35ef9e079e1ace73a6b582796
child 27584 da575593579c861e0f6d30b2dbb3486f15bc7045
push id6627
push userdholbert@mozilla.com
push dateTue, 21 Apr 2009 19:55:48 +0000
treeherdermozilla-central@fd32b8b9ec85 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.2a1pre
SVG/SMIL test-only fix: add 'reftest-wait' to a test that needs it. NPODB (also, test not currently run on tinderboxen)
layout/reftests/svg/smil/pause/init-pause-1.svg
--- a/layout/reftests/svg/smil/pause/init-pause-1.svg
+++ b/layout/reftests/svg/smil/pause/init-pause-1.svg
@@ -2,17 +2,18 @@
 
   Tests various aspects of initial pause behaviour including getCurrentTime and
   setCurrentTime. In particular, we test the behaviour described in
 
 http://www.w3.org/2003/01/REC-SVG11-20030114-errata#getCurrentTime_setCurrentTime_undefined_before_document_timeline_begin
 
  -->
 <svg xmlns="http://www.w3.org/2000/svg"
-  onload="unpause()">
+     class="reftest-wait"
+     onload="unpause()">
   <script type="text/ecmascript"><![CDATA[
     // If we try to update the DOM as we go we very occasionally run into timing
     // issues that produce false positives for this test. So instead we just set
     // this flag and update the DOM at the end of the test.
     var ok = true;
 
     function assert(condition) {
       ok = ok & condition;