summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1370968.html
blob: 81973b413c62523f49d98071e3b4f6cc8f0f62b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<body>
<iframe id="iframe" src="1370968-inner.xhtml"></iframe>
<script>
    var io = new IntersectionObserver(function () {
    }, { });
    var iframe = document.getElementById('iframe');
    iframe.onload = function () {
        io.observe(iframe.contentDocument.getElementById('target'));
    };
</script>
</body>
</html>