diff options
Diffstat (limited to 'dom/xbl/test/test_bug721452.xul')
-rw-r--r-- | dom/xbl/test/test_bug721452.xul | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dom/xbl/test/test_bug721452.xul b/dom/xbl/test/test_bug721452.xul new file mode 100644 index 000000000..d1393d542 --- /dev/null +++ b/dom/xbl/test/test_bug721452.xul @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin" type="text/css"?> +<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?> +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + +<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> + +<script> +ok(true, "Handler with empty action didn't crash") +</script> + +<body xmlns="http://www.w3.org/1999/xhtml"/> + +<box style="-moz-binding: url(#binding)"/> + +<xbl:bindings xmlns:xbl="http://www.mozilla.org/xbl"> + <xbl:binding id="binding"> + <xbl:content/> + <xbl:handlers> + <xbl:handler nt="action" action=""/> + </xbl:handlers> + </xbl:binding> +</xbl:bindings> + +</window> |