mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-03 07:40:16 +00:00
15 lines
291 B
Python
15 lines
291 B
Python
def WebIDLTest(parser, harness):
|
|
threw = False
|
|
try:
|
|
parser.parse("""
|
|
interface NullableVoid {
|
|
void? foo();
|
|
};
|
|
""")
|
|
|
|
results = parser.finish()
|
|
except:
|
|
threw = True
|
|
|
|
harness.ok(threw, "Should have thrown.")
|