diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-08-19 19:38:09 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-08-19 19:38:09 +0530 |
commit | 30c66debb05cfc84cb8b0d53b6b174ce0af10879 (patch) | |
tree | cb45b8a56733eb088d8bb9da629ec7c4df1f16bd /src/components/script/dom/bindings/codegen/Configuration.py | |
parent | bbcd62397e12f1eed8b2b61102342c047c53dfdb (diff) | |
parent | ea3c2c243cf869b1c5d0f7f2ef67c52ba6ba176a (diff) | |
download | servo-30c66debb05cfc84cb8b0d53b6b174ce0af10879.tar.gz servo-30c66debb05cfc84cb8b0d53b6b174ce0af10879.zip |
Merge pull request #3112 from Ms2ger/hasInterfacePrototypeObject
Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.
Diffstat (limited to 'src/components/script/dom/bindings/codegen/Configuration.py')
-rw-r--r-- | src/components/script/dom/bindings/codegen/Configuration.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/script/dom/bindings/codegen/Configuration.py b/src/components/script/dom/bindings/codegen/Configuration.py index b9e521ed175..ea193d18d7a 100644 --- a/src/components/script/dom/bindings/codegen/Configuration.py +++ b/src/components/script/dom/bindings/codegen/Configuration.py @@ -72,10 +72,6 @@ class Configuration: getter = lambda x: x.interface.filename() elif key == 'hasInterfaceObject': getter = lambda x: x.interface.hasInterfaceObject() - elif key == 'hasInterfacePrototypeObject': - getter = lambda x: x.interface.hasInterfacePrototypeObject() - elif key == 'hasInterfaceOrInterfacePrototypeObject': - getter = lambda x: x.hasInterfaceOrInterfacePrototypeObject() elif key == 'isCallback': getter = lambda x: x.interface.isCallback() elif key == 'isJSImplemented': @@ -258,9 +254,6 @@ class Descriptor(DescriptorProvider): config.maxProtoChainLength = max(config.maxProtoChainLength, len(self.prototypeChain)) - def hasInterfaceOrInterfacePrototypeObject(self): - return self.interface.hasInterfaceObject() or self.interface.hasInterfacePrototypeObject() - def getExtendedAttributes(self, member, getter=False, setter=False): def maybeAppendInfallibleToAttrs(attrs, throws): if throws is None: |