Bug 940381 (part 2) - Simplify test loading now that SMIL is always enabled. r=dholbert

This commit is contained in:
Robert Longson 2013-12-02 11:19:13 +00:00
parent e13d2b0b68
commit 32b070e454

View File

@ -213,14 +213,7 @@ function checkDiffValue(animLength)
+ "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>