mirror of
https://github.com/servo/servo
synced 2026-05-03 12:52:25 +02:00
Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdm
This commit is contained in:
@@ -3262,7 +3262,8 @@ class IDLAttribute(IDLInterfaceMember):
|
||||
identifier == "Frozen" or
|
||||
identifier == "AvailableIn" or
|
||||
identifier == "NewObject" or
|
||||
identifier == "CheckPermissions"):
|
||||
identifier == "CheckPermissions" or
|
||||
identifier == "BinaryName"):
|
||||
# Known attributes that we don't need to do anything with here
|
||||
pass
|
||||
else:
|
||||
@@ -3861,7 +3862,8 @@ class IDLMethod(IDLInterfaceMember, IDLScope):
|
||||
identifier == "Pref" or
|
||||
identifier == "Func" or
|
||||
identifier == "AvailableIn" or
|
||||
identifier == "CheckPermissions"):
|
||||
identifier == "CheckPermissions" or
|
||||
identifier == "BinaryName"):
|
||||
# Known attributes that we don't need to do anything with here
|
||||
pass
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user