gecko-dev/dom/svg/crashtests/1477853.html
Emilio Cobos Álvarez 65c23592eb Bug 1477853: Don't assume that SVGAnimationElement has a parent on bind. r=heycam
We were passing aParent instead of this to the ID tracker.

This was unnecessary, since the document is definitely setup by this time, but
it was also assuming we had a parent which is not true.

Also it was claiming stuff about it only being used to get the composed doc,
which is false since bug 1163105.

Differential Revision: https://phabricator.services.mozilla.com/D2308

MozReview-Commit-ID: L6Vpl44QjGG
2018-07-24 12:36:45 +02:00

11 lines
183 B
HTML

<html id="a">
<script>
window.onload=function(){
c.getRootNode({composed: true}).replaceChild(b, a);
}
</script>
<body>
<svg>
<animate id="b" href="" />
<animateTransform id="c" />