diff options
Diffstat (limited to 'dom/base/crashtests/1529203-1.html')
-rw-r--r-- | dom/base/crashtests/1529203-1.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/base/crashtests/1529203-1.html b/dom/base/crashtests/1529203-1.html new file mode 100644 index 0000000000..322a98f628 --- /dev/null +++ b/dom/base/crashtests/1529203-1.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML> +<html class="reftest-wait"> +<iframe></iframe> +<script> + function doIt() { + var doc = document.querySelector("iframe").contentDocument; + doc.open(); + doc.write('<script>import("data:text/javascript,")</' + 'script>'); + doc.close(); + } + doIt(); + setTimeout(() => { + doIt(); + document.documentElement.removeAttribute("class"); + }, 100); +</script> +</html> |