gecko-dev/dom/base/crashtests/1353529-inner.html
Tobias Schneider fa547be7bd Bug 1353529 - Crash when using IntersectionObserver in XUL pages. r=mstange
MozReview-Commit-ID: 9RBrnst4Wkb

--HG--
extra : rebase_source : 257874993e1a1fa81931b2c513357c92b6f705a9
2017-04-04 20:14:46 -07:00

13 lines
253 B
HTML

<!DOCTYPE html>
<html>
<body onload="boom()">
<div id="target"></div>
<script>
function boom() {
var io = new IntersectionObserver(function () { }, { });
io.observe(document.getElementById('target'));
}
</script>
</body>
</html>