Index: Source/bindings/scripts/v8_methods.py |
diff --git a/Source/bindings/scripts/v8_methods.py b/Source/bindings/scripts/v8_methods.py |
index 7d2b9f8c2d185e24f6ce5231ec40a29d1f35be9b..81e6e01911a8c377bbb903a322c845e4c172f8e9 100644 |
--- a/Source/bindings/scripts/v8_methods.py |
+++ b/Source/bindings/scripts/v8_methods.py |
@@ -62,7 +62,7 @@ def use_local_result(method): |
idl_type.is_explicit_nullable) |
-def method_context(interface, method): |
+def method_context(interface, method, is_visible=True): |
arguments = method.arguments |
extended_attributes = method.extended_attributes |
idl_type = method.idl_type |
@@ -182,6 +182,7 @@ def method_context(interface, method): |
'use_local_result': use_local_result(method), |
'v8_set_return_value': v8_set_return_value(interface.name, method, this_cpp_value), |
'v8_set_return_value_for_main_world': v8_set_return_value(interface.name, method, this_cpp_value, for_main_world=True), |
+ 'visible': is_visible, |
'world_suffixes': ['', 'ForMainWorld'] if 'PerWorldBindings' in extended_attributes else [''], # [PerWorldBindings], |
} |