mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
Create a top-level "third_party" directory
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.
This commit is contained in:
17
third_party/WebIDL/tests/test_interface_const_identifier_conflicts.py
vendored
Normal file
17
third_party/WebIDL/tests/test_interface_const_identifier_conflicts.py
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
def WebIDLTest(parser, harness):
|
||||
threw = False
|
||||
try:
|
||||
parser.parse(
|
||||
"""
|
||||
interface IdentifierConflict {
|
||||
const byte thing1 = 1;
|
||||
const unsigned long thing1 = 1;
|
||||
};
|
||||
"""
|
||||
)
|
||||
|
||||
results = parser.finish()
|
||||
except:
|
||||
threw = True
|
||||
|
||||
harness.ok(threw, "Should have thrown.")
|
||||
Reference in New Issue
Block a user