comparison: dom/bindings/parser/tests/test_any_null.py
dom/bindings/parser/tests/test_any_null.py
- branch
- TOR_BUG_3246
- changeset 7
- 129ffea94266
equal
deleted
inserted
replaced
|
1 def WebIDLTest(parser, harness): |
|
2 threw = False |
|
3 try: |
|
4 parser.parse(""" |
|
5 interface DoubleNull { |
|
6 attribute any? foo; |
|
7 }; |
|
8 """) |
|
9 |
|
10 results = parser.finish() |
|
11 except: |
|
12 threw = True |
|
13 |
|
14 harness.ok(threw, "Should have thrown.") |