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 0000000000..fab1c7ef10
--- /dev/null
+++ b/dom/bindings/parser/tests/test_variadic_callback.py
@@ -0,0 +1,10 @@
+def WebIDLTest(parser, harness):
+ parser.parse(
+ """
+ callback TestVariadicCallback = any(any... arguments);
+ """
+ )
+
+ parser.finish()
+
+ harness.ok(True, "TestVariadicCallback callback parsed without error.")