Index: Source/bindings/scripts/v8_methods.py |
diff --git a/Source/bindings/scripts/v8_methods.py b/Source/bindings/scripts/v8_methods.py |
index 92e4fbc6eacefa672eb0d93773fef20730f0681b..086e10aba7524a863e4ed9ac0a4556d40cdd47bf 100644 |
--- a/Source/bindings/scripts/v8_methods.py |
+++ b/Source/bindings/scripts/v8_methods.py |
@@ -68,13 +68,7 @@ def argument_needs_try_catch(argument): |
def use_local_result(method): |
- extended_attributes = method.extended_attributes |
- idl_type = method.idl_type |
- return (has_extended_attribute_value(method, 'CallWith', 'ScriptState') or |
- 'ImplementedInPrivateScript' in extended_attributes or |
- 'RaisesException' in extended_attributes or |
- idl_type.is_union_type or |
- (idl_type.is_nullable and not idl_type.is_nullable_simple)) |
+ return True |
def method_context(interface, method): |