dom/bindings/parser/tests/test_array.py

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:aea8241e02b3
1 def WebIDLTest(parser, harness):
2 threw = False
3 try:
4 parser.parse("""
5 dictionary Foo {
6 short a;
7 };
8
9 dictionary Foo1 {
10 Foo[] b;
11 };
12 """)
13 results = parser.finish()
14 except:
15 threw = True
16
17 harness.ok(threw, "Array must not contain dictionary "
18 "as element type.")

mercurial