mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
This directory now contains third_party software that is vendored into the Servo source tree. The idea is that it would eventually hold webrender and other crates from mozilla-central as well with a standard patch management approach for each.
18 lines
360 B
Python
18 lines
360 B
Python
import WebIDL
|
|
|
|
|
|
def WebIDLTest(parser, harness):
|
|
parser.parse(
|
|
"""
|
|
interface ForwardDeclared;
|
|
interface ForwardDeclared;
|
|
|
|
interface TestForwardDecl {
|
|
attribute ForwardDeclared foo;
|
|
};
|
|
"""
|
|
)
|
|
|
|
results = parser.finish()
|
|
|
|
harness.ok(True, "TestForwardDeclared interface parsed without error.")
|