test_incomplete_parent.py (393B)
1 def WebIDLTest(parser, harness): 2 parser.parse( 3 """ 4 interface TestIncompleteParent : NotYetDefined { 5 undefined foo(); 6 }; 7 8 interface NotYetDefined : EvenHigherOnTheChain { 9 }; 10 11 interface EvenHigherOnTheChain { 12 }; 13 """ 14 ) 15 16 parser.finish() 17 18 harness.ok(True, "TestIncompleteParent interface parsed without error.")