Index: client/dom/scripts/generator.py |
diff --git a/client/dom/scripts/generator.py b/client/dom/scripts/generator.py |
index 971a91042e15771b69fb06e9203260c9d221c957..b81e44b25ee16c83321aef967e185915264042fe 100644 |
--- a/client/dom/scripts/generator.py |
+++ b/client/dom/scripts/generator.py |
@@ -285,18 +285,22 @@ def AnalyzeConstructor(interface): |
if func_value: |
# [Constructor(param,...)] |
args = GetArgs(func_value) |
+ idl_args = func_value.arguments |
else: # [Constructor] |
args = [] |
+ idl_args = [] |
else: |
func_value = interface.ext_attrs.get('NamedConstructor') |
if func_value: |
name = func_value.id |
args = GetArgs(func_value) |
+ idl_args = func_value.arguments |
else: |
return None |
info = OperationInfo() |
- info.overloads = None # [func_value] |
+ info.overloads = None |
+ info.idl_args = idl_args |
info.declared_name = name |
info.name = name |
info.js_name = name |