gecko-dev/dom/base/crashtests/1370968.html

15 строки
348 B
HTML

<!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>