summaryrefslogtreecommitdiffstats
path: root/layout/reftests/xul-document-load/test004.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/xul-document-load/test004.xul')
-rw-r--r--layout/reftests/xul-document-load/test004.xul14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/xul-document-load/test004.xul b/layout/reftests/xul-document-load/test004.xul
new file mode 100644
index 000000000..ccb030ba1
--- /dev/null
+++ b/layout/reftests/xul-document-load/test004.xul
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!--
+Any copyright is dedicated to the Public Domain.
+http://creativecommons.org/licenses/publicdomain/
+-->
+<?xml-stylesheet href="test004.css" type="text/css"?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ style="background-color: green" onload="handleOnLoad();">
+<script type="text/javascript">
+function handleOnLoad() {
+ document.removeChild(document.firstChild);
+}
+</script>
+</window> \ No newline at end of file