summaryrefslogtreecommitdiffstats
path: root/dom/bindings/parser/tests/test_sanity.py
blob: d3184c00731dbdbc384b92c72b0dd3dc61be5fc3 (plain)
1
2
3
4
5
6
7
def WebIDLTest(parser, harness):
    parser.parse("")
    parser.finish()
    harness.ok(True, "Parsing nothing doesn't throw.")
    parser.parse("interface Foo {};")
    parser.finish()
    harness.ok(True, "Parsing a silly interface doesn't throw.")