From 63528f6fdf192542cd811a2a3ef5f0cb2fecbc6b Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 9 Jul 2020 20:03:03 -0400 Subject: dom: Generate iterator symbol for interfaces with indexed getters. --- components/script/dom/bindings/codegen/Configuration.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/script/dom/bindings/codegen/Configuration.py') diff --git a/components/script/dom/bindings/codegen/Configuration.py b/components/script/dom/bindings/codegen/Configuration.py index 98fce57afe4..4f47a737706 100644 --- a/components/script/dom/bindings/codegen/Configuration.py +++ b/components/script/dom/bindings/codegen/Configuration.py @@ -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)) -- cgit v1.2.3