mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Correct the condition for generating CGGetConstructorObjectMethod.
As we don't actually implement the feature for which this is needed, I've commented the call out for now and mentioned the issue for the feature.
This commit is contained in:
parent
040a43778e
commit
c8b8550cfb
1 changed files with 4 additions and 2 deletions
|
@ -3807,8 +3807,10 @@ class CGDescriptor(CGThing):
|
|||
cgThings = []
|
||||
if descriptor.interface.hasInterfacePrototypeObject():
|
||||
cgThings.append(CGGetProtoObjectMethod(descriptor))
|
||||
else:
|
||||
cgThings.append(CGGetConstructorObjectMethod(descriptor))
|
||||
if descriptor.interface.hasInterfaceObject():
|
||||
# https://github.com/mozilla/servo/issues/2665
|
||||
# cgThings.append(CGGetConstructorObjectMethod(descriptor))
|
||||
pass
|
||||
|
||||
if descriptor.interface.hasInterfacePrototypeObject():
|
||||
(hasMethod, hasGetter, hasLenientGetter,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue