summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1370968.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/1370968.html')
-rw-r--r--dom/base/crashtests/1370968.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/base/crashtests/1370968.html b/dom/base/crashtests/1370968.html
new file mode 100644
index 0000000000..81973b413c
--- /dev/null
+++ b/dom/base/crashtests/1370968.html
@@ -0,0 +1,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>