diff options
author | Chris Manchester <cmanchester@mozilla.com> | 2015-02-25 17:06:29 -0800 |
---|---|---|
committer | Chris Manchester <cmanchester@mozilla.com> | 2015-02-27 18:28:01 -0800 |
commit | c81f1cc54134a3d542e3da08f00750955c986011 (patch) | |
tree | cab716cb4fe202e444183e07d30e93e46ff7c8ca /components/script/dom/bindings/codegen/parser | |
parent | 26567ef2e62597b359c179f8665213002e05da96 (diff) | |
download | servo-c81f1cc54134a3d542e3da08f00750955c986011.tar.gz servo-c81f1cc54134a3d542e3da08f00750955c986011.zip |
Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdm
Diffstat (limited to 'components/script/dom/bindings/codegen/parser')
-rw-r--r-- | components/script/dom/bindings/codegen/parser/WebIDL.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/bindings/codegen/parser/WebIDL.py b/components/script/dom/bindings/codegen/parser/WebIDL.py index 370ac7df7c0..7474f56baa2 100644 --- a/components/script/dom/bindings/codegen/parser/WebIDL.py +++ b/components/script/dom/bindings/codegen/parser/WebIDL.py @@ -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: |