summaryrefslogtreecommitdiffstats
path: root/dom/bindings/parser/tests/test_variadic_callback.py
blob: d9a78db2043e765f860102af91cb7240e7387ef0 (plain)
1
2
3
4
5
6
7
8
9
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.")