diff options
Diffstat (limited to 'dom/bindings/parser/tests/test_forward_decl.py')
-rw-r--r-- | dom/bindings/parser/tests/test_forward_decl.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/bindings/parser/tests/test_forward_decl.py b/dom/bindings/parser/tests/test_forward_decl.py new file mode 100644 index 0000000000..1c81718400 --- /dev/null +++ b/dom/bindings/parser/tests/test_forward_decl.py @@ -0,0 +1,18 @@ +import WebIDL + + +def WebIDLTest(parser, harness): + parser.parse( + """ + interface ForwardDeclared; + interface ForwardDeclared; + + interface TestForwardDecl { + attribute ForwardDeclared foo; + }; + """ + ) + + results = parser.finish() + + harness.ok(True, "TestForwardDeclared interface parsed without error.") |