summaryrefslogtreecommitdiffstats
path: root/dom/xbl/test/test_bug723676.xul
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xbl/test/test_bug723676.xul')
-rw-r--r--dom/xbl/test/test_bug723676.xul25
1 files changed, 25 insertions, 0 deletions
diff --git a/dom/xbl/test/test_bug723676.xul b/dom/xbl/test/test_bug723676.xul
new file mode 100644
index 000000000..29561a57e
--- /dev/null
+++ b/dom/xbl/test/test_bug723676.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, "Method with empty body 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:implementation>
+ <xbl:method name="init"/>
+ </xbl:implementation>
+ </xbl:binding>
+</xbl:bindings>
+
+
+</window>