diff options
Diffstat (limited to 'dom/bindings/parser/tests/test_variadic_callback.py')
-rw-r--r-- | dom/bindings/parser/tests/test_variadic_callback.py | 13 |
1 files changed, 13 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..3fd3dccd37 --- /dev/null +++ b/dom/bindings/parser/tests/test_variadic_callback.py @@ -0,0 +1,13 @@ +import WebIDL + + +def WebIDLTest(parser, harness): + parser.parse( + """ + callback TestVariadicCallback = any(any... arguments); + """ + ) + + results = parser.finish() + + harness.ok(True, "TestVariadicCallback callback parsed without error.") |