summaryrefslogtreecommitdiffstats
path: root/dom/bindings/parser/tests/test_variadic_callback.py
diff options
context:
space:
mode:
Diffstat (limited to 'dom/bindings/parser/tests/test_variadic_callback.py')
-rw-r--r--dom/bindings/parser/tests/test_variadic_callback.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/bindings/parser/tests/test_variadic_callback.py b/dom/bindings/parser/tests/test_variadic_callback.py
new file mode 100644
index 000000000..d9a78db20
--- /dev/null
+++ b/dom/bindings/parser/tests/test_variadic_callback.py
@@ -0,0 +1,10 @@
+import WebIDL
+
+def WebIDLTest(parser, harness):
+ parser.parse("""
+ callback TestVariadicCallback = any(any... arguments);
+ """)
+
+ results = parser.finish()
+
+ harness.ok(True, "TestVariadicCallback callback parsed without error.")