mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
dom: Generate iterator symbol for interfaces with indexed getters.
This commit is contained in:
@@ -401,6 +401,9 @@ class Descriptor(DescriptorProvider):
|
||||
parent = parent.parent
|
||||
return None
|
||||
|
||||
def supportsIndexedProperties(self):
|
||||
return self.operations['IndexedGetter'] is not None
|
||||
|
||||
def hasDescendants(self):
|
||||
return (self.interface.getUserData("hasConcreteDescendant", False)
|
||||
or self.interface.getUserData("hasProxyDescendant", False))
|
||||
|
||||
Reference in New Issue
Block a user