mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Don't generate constructor IDs for inline interfaces
This commit is contained in:
parent
987b640c54
commit
3f91ce1d07
3 changed files with 6 additions and 4 deletions
|
@ -399,6 +399,8 @@ class Descriptor(DescriptorProvider):
|
|||
|
||||
def shouldHaveGetConstructorObjectMethod(self):
|
||||
assert self.interface.hasInterfaceObject()
|
||||
if self.interface.getExtendedAttribute("Inline"):
|
||||
return False
|
||||
return self.interface.isCallback() or self.interface.isNamespace() or self.hasDescendants()
|
||||
|
||||
def isExposedConditionally(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue