summaryrefslogtreecommitdiffstats
path: root/dom/bindings/parser/tests/test_incomplete_parent.py
diff options
context:
space:
mode:
Diffstat (limited to 'dom/bindings/parser/tests/test_incomplete_parent.py')
-rw-r--r--dom/bindings/parser/tests/test_incomplete_parent.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/bindings/parser/tests/test_incomplete_parent.py b/dom/bindings/parser/tests/test_incomplete_parent.py
new file mode 100644
index 000000000..1f520a28e
--- /dev/null
+++ b/dom/bindings/parser/tests/test_incomplete_parent.py
@@ -0,0 +1,18 @@
+import WebIDL
+
+def WebIDLTest(parser, harness):
+ parser.parse("""
+ interface TestIncompleteParent : NotYetDefined {
+ void foo();
+ };
+
+ interface NotYetDefined : EvenHigherOnTheChain {
+ };
+
+ interface EvenHigherOnTheChain {
+ };
+ """)
+
+ parser.finish()
+
+ harness.ok(True, "TestIncompleteParent interface parsed without error.")