blob: ced14f524bc7c40348628283405dde0848df35f9 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../js-test-resources/js-test.js"></script>
<script>
var SVGSMILAnimationInImageRegardlessOfCache = 768; // From UseCounter.h
window.jsTestIsAsync = true;
window.onload = function() {
var img = new Image();
if (location.hash != '#loadWithCachedImage') {
img.onload = function() {
location.hash = 'loadWithCachedImage';
window.location.reload();
}
} else {
shouldBeFalse("internals.isUseCounted(document, SVGSMILAnimationInImageRegardlessOfCache)");
img.onload = function() {
shouldBeTrue("internals.isUseCounted(document, SVGSMILAnimationInImageRegardlessOfCache)");
finishJSTest();
}
}
img.src = "resources/svg-with-animation.svg";
}
</script>
</html>