gecko-dev/dom/base/crashtests/1370968.html
Tobias Schneider 04fcc5ed06 Bug 1370968 - Test for crash in nsLayoutUtils::FindNearestCommonAncestorFrame. r=mstange
--HG--
extra : rebase_source : e16a303a7a67104a49cf4e8ad9023b7a7f8196a3
2017-06-07 16:02:25 -07:00

15 lines
346 B
HTML

<!DOCTYPE html>
<html>
<body>
<iframe id="iframe" src="1370968-inner.xul"></iframe>
<script>
var io = new IntersectionObserver(function () {
}, { });
var iframe = document.getElementById('iframe');
iframe.onload = function () {
io.observe(iframe.contentDocument.getElementById('target'));
};
</script>
</body>
</html>