mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
18 lines
389 B
Python
18 lines
389 B
Python
|
|
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.")
|