| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index a8afb3f016d80cbb5ad95c8b0b87f2992fea194e..337593cf282b727850f690f87723e452c094177e 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -177,7 +177,7 @@ RefPtr<ScriptArguments> scriptArguments(createScriptArguments(info, {{method.num
|
| {% endif %}
|
| {% if method.idl_type == 'void' %}
|
| {{cpp_value}};
|
| -{% elif method.is_call_with_script_state %}
|
| +{% elif method.is_call_with_script_state or method.is_raises_exception %}
|
| {# FIXME: consider always using a local variable #}
|
| {{method.cpp_type}} result = {{cpp_value}};
|
| {% endif %}
|
|
|