diff options
Diffstat (limited to 'layout/xul/crashtests/488210-1.xhtml')
-rw-r--r-- | layout/xul/crashtests/488210-1.xhtml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/xul/crashtests/488210-1.xhtml b/layout/xul/crashtests/488210-1.xhtml new file mode 100644 index 000000000..9c8e2640c --- /dev/null +++ b/layout/xul/crashtests/488210-1.xhtml @@ -0,0 +1,19 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<script type="text/javascript"> + +function boom() +{ + var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; + var listbox = document.createElementNS(XUL_NS, 'listbox'); + document.body.appendChild(listbox); + listbox.appendChild(document.createElementNS(XUL_NS, 'listitem')); + listbox.appendChild(document.createElementNS(XUL_NS, 'listboxbody')); + listbox.appendChild(document.createElementNS(XUL_NS, 'hbox')); +} + +</script> +</head> + +<body onload="boom();"></body> +</html> |