mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update WebIDL.py (#32495)
* Update WebIDL.py * Update WebIDL.py * Add builtin-array.patch * Fix CodegenRust.py and Configuration.py * Fix missing downcasts * mach fmt * Update check and comment to explain why we need this check * Update Global of DissimilarOriginWindow.webidl
This commit is contained in:
parent
19067366df
commit
8eed3b442b
77 changed files with 1658 additions and 793 deletions
11
third_party/WebIDL/tests/test_legacyTreatNonObjectAsNull.py
vendored
Normal file
11
third_party/WebIDL/tests/test_legacyTreatNonObjectAsNull.py
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
def WebIDLTest(parser, harness):
|
||||
parser.parse(
|
||||
"""
|
||||
[LegacyTreatNonObjectAsNull] callback Function = any(any... arguments);
|
||||
"""
|
||||
)
|
||||
|
||||
results = parser.finish()
|
||||
|
||||
callback = results[0]
|
||||
harness.check(callback._treatNonObjectAsNull, True, "Got the expected value")
|
Loading…
Add table
Add a link
Reference in a new issue