summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/330925-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/330925-1.xhtml')
-rw-r--r--dom/base/crashtests/330925-1.xhtml35
1 files changed, 35 insertions, 0 deletions
diff --git a/dom/base/crashtests/330925-1.xhtml b/dom/base/crashtests/330925-1.xhtml
new file mode 100644
index 000000000..7dac8374c
--- /dev/null
+++ b/dom/base/crashtests/330925-1.xhtml
@@ -0,0 +1,35 @@
+<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
+
+<head>
+
+<script>
+
+function init()
+{
+ var foopy = document.getElementById("foopy");
+ var emb = document.getElementById("emb");
+
+ try {
+ foopy.appendChild(SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(emb))[0]);
+ emb.parentNode.removeChild(emb);
+ foopy.parentNode.removeChild(foopy);
+ } catch (e) {
+ }
+
+ document.documentElement.removeAttribute("class");
+}
+
+
+window.addEventListener("load", function() { setTimeout(init, 30); }, false);
+
+</script>
+
+</head>
+<body>
+
+<div id="foopy"/>
+
+<embed src="data:foo/bar,baz" id="emb" />
+
+</body>
+</html>