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 0000000000..80662a7848
--- /dev/null
+++ b/dom/bindings/parser/tests/test_incomplete_parent.py
@@ -0,0 +1,18 @@
+def WebIDLTest(parser, harness):
+ parser.parse(
+ """
+ interface TestIncompleteParent : NotYetDefined {
+ undefined foo();
+ };
+
+ interface NotYetDefined : EvenHigherOnTheChain {
+ };
+
+ interface EvenHigherOnTheChain {
+ };
+ """
+ )
+
+ parser.finish()
+
+ harness.ok(True, "TestIncompleteParent interface parsed without error.")