summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1619322.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/1619322.html')
-rw-r--r--dom/base/crashtests/1619322.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/base/crashtests/1619322.html b/dom/base/crashtests/1619322.html
new file mode 100644
index 0000000000..1e627a4bad
--- /dev/null
+++ b/dom/base/crashtests/1619322.html
@@ -0,0 +1,17 @@
+<html class="reftest-wait">
+ <iframe></iframe>
+ <script>
+ window.addEventListener('load', () => {
+ let doc = frames[0].document;
+ let count = 0;
+ let id = setInterval(function () {
+ if (!doc.documentElement) {
+ clearInterval(id);
+ document.documentElement.className = "";
+ }
+ doc.documentElement.replaceWith();
+ }, 312)
+ doc.addEventListener('DOMSubtreeModified', (e) => e.originalTarget.writeln(), false)
+ })
+ </script>
+</html>