Index: Source/bindings/scripts/v8_interface.py |
diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py |
index cf852f4efc5825e0fa5d5e3b287b00fa585b1bfa..6d086d992cccf4f59e8817949cc10ca6f8499772 100644 |
--- a/Source/bindings/scripts/v8_interface.py |
+++ b/Source/bindings/scripts/v8_interface.py |
@@ -1229,6 +1229,8 @@ def property_getter(getter, cpp_arguments): |
return 'result.isNull()' |
if idl_type.is_interface_type: |
return '!result' |
+ if idl_type.base_type in ('any', 'object'): |
+ return 'result.isEmpty()' |
return '' |
idl_type = getter.idl_type |