diff options
Diffstat (limited to '')
-rw-r--r-- | dom/base/crashtests/372554-1.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/base/crashtests/372554-1.html b/dom/base/crashtests/372554-1.html new file mode 100644 index 0000000000..a87edcecbf --- /dev/null +++ b/dom/base/crashtests/372554-1.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<head> +<script> +function boom() +{ + if (location.protocol == "file:") { + try { + location.hostname = 'foo'; + } catch(e) { + } + } + + document.documentElement.removeAttribute("class"); +} +</script> +</head> +<body onload="setTimeout(boom, 30)"> + +</body> + +</html> |