dom/bindings/parser/tests/test_sanity.py
author Cosmin Sabou <csabou@mozilla.com>
Thu, 08 Dec 2022 02:27:45 +0200
changeset 645062 58f36d1b73c53785b92ce1c96598826ce536099c
parent 90770 1bdb337e3136c877e5d93b9c3ebac548bd7e4fff
permissions -rw-r--r--
Backed out changeset 911f05c487a6 (bug 1800907) for causing assertions on 266445-1.html. CLOSED TREE

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.")