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.py21
1 files changed, 21 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 0000000000..c94a62817f
--- /dev/null
+++ b/dom/bindings/parser/tests/test_incomplete_parent.py
@@ -0,0 +1,21 @@
+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.")