dom/bindings/parser/tests/test_sanity.py
author Gregory Szorc <gps@mozilla.com>
Wed, 28 Jan 2015 13:37:00 -0800
branch14_0_Beta_Hedge
changeset 149461 5b81998bb7ab5aade597584417ea90b0995c586e
parent 94083 1bdb337e3136c877e5d93b9c3ebac548bd7e4fff
permissions -rw-r--r--
Close old branch 14_0_Beta_Hedge

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