Bug 940381 (part 2) - Simplify test loading now that SMIL is always enabled. r=dholbert
authorRobert Longson <longsonr@gmail.com>
Mon, 02 Dec 2013 11:19:13 +0000
changeset 173937 c1e2e3d9b4eb6415e6cbcc609341a85c351e62ca
parent 173936 01a00ce2b662eaa25c505ed882e9d24419349c97
child 173938 5c3bbaf73d5ebf74e67c6ace265d348b1e233d03
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)
reviewersdholbert
bugs940381
milestone28.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 940381 (part 2) - Simplify test loading now that SMIL is always enabled. r=dholbert
content/svg/content/test/test_animLengthReadonly.xhtml
--- a/content/svg/content/test/test_animLengthReadonly.xhtml
+++ b/content/svg/content/test/test_animLengthReadonly.xhtml
@@ -208,21 +208,14 @@ function checkDiffValue(animLength)
 
   // convertToSpecifiedUnits
   animLength.baseVal.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX);
   is(animLength.animVal.value, origValue,
     "animated animVal.value changed after calling "
     + "baseValue.convertToSpecifiedUnits");
 }
 
-var animate = document.getElementById('animate');
-if (animate && animate.targetElement) {
-  window.addEventListener("load", main, false);
-} else {
-  // SMIL not enabled: skip tests but don't report 'todo' either
-  ok(true);
-  SimpleTest.finish();
-}
+window.addEventListener("load", main, false);
 ]]>
 </script>
 </pre>
 </body>
 </html>