mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix WebIDL.py patches
This commit is contained in:
parent
8e300ca5bd
commit
6f563830d1
3 changed files with 20 additions and 26 deletions
|
@ -1,12 +1,10 @@
|
|||
--- WebIDL.py
|
||||
+++ WebIDL.py
|
||||
@@ -1883,7 +1883,8 @@ class IDLInterface(IDLInterfaceOrNamespace):
|
||||
identifier == "LegacyUnenumerableNamedProperties" or
|
||||
identifier == "RunConstructorInCallerCompartment" or
|
||||
identifier == "WantsEventListenerHooks" or
|
||||
- identifier == "Serializable"):
|
||||
+ identifier == "Serializable" or
|
||||
+ identifier == "Abstract"):
|
||||
@@ -1987,6 +1987,7 @@ class IDLInterface(IDLInterfaceOrNamespace):
|
||||
or identifier == "RunConstructorInCallerCompartment"
|
||||
or identifier == "WantsEventListenerHooks"
|
||||
or identifier == "Serializable"
|
||||
+ or identifier == "Abstract"
|
||||
):
|
||||
# Known extended attributes that do not take values
|
||||
if not attr.noArguments():
|
||||
raise WebIDLError("[%s] must take no arguments" % identifier,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue