1 def WebIDLTest(parser
, harness
):
10 harness
.ok(False, "Should fail to parse")
11 except Exception as e
:
13 "Name collision" in str(e
), "Should have name collision for interface"
16 parser
= parser
.reset()
20 dictionary Foo { long x; };
25 harness
.ok(False, "Should fail to parse")
26 except Exception as e
:
28 "Name collision" in str(e
), "Should have name collision for dictionary"
31 parser
= parser
.reset()
40 harness
.ok(False, "Should fail to parse")
41 except Exception as e
:
43 "Multiple unresolvable definitions" in str(e
),
44 "Should have name collision for dictionary",