Index: client/dom/scripts/idlrenderer.py |
diff --git a/client/dom/scripts/idlrenderer.py b/client/dom/scripts/idlrenderer.py |
index 40e899e25a3f22f75466f7ad7ea6ab43d5f424e8..2237736155ad60826a597340f1bb8c2026e9fbf1 100755 |
--- a/client/dom/scripts/idlrenderer.py |
+++ b/client/dom/scripts/idlrenderer.py |
@@ -118,9 +118,9 @@ def render(idl_node, indent_str=' '): |
w('attribute %s %s' % (node.type.id, node.id)) |
if node.raises: |
w(' raises (%s)' % node.raises.id) |
- elif node.get_raises: |
+ elif node.is_fc_getter and node.get_raises: |
w(' getraises (%s)' % node.get_raises.id) |
- elif node.set_raises: |
+ elif node.is_fc_setter and node.set_raises: |
w(' setraises (%s)' % node.set_raises.id) |
wln(';') |
elif isinstance(node, IDLConstant): |
@@ -143,7 +143,6 @@ def render(idl_node, indent_str=' '): |
if node.raises: |
w(' raises (%s)' % node.raises.id) |
wln(';') |
- |
elif isinstance(node, IDLArgument): |
w(node.ext_attrs) |
w('in ') |