| Index: Source/bindings/templates/interface_base.cpp
|
| diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp
|
| index f7ef2e3ac0c24f24d3164f9b3c6d379f2df3c0f3..2f9221123d5a28b68d41a6d250e2e974f25f9cc4 100644
|
| --- a/Source/bindings/templates/interface_base.cpp
|
| +++ b/Source/bindings/templates/interface_base.cpp
|
| @@ -137,7 +137,8 @@ bool namedSecurityCheck(v8::Local<v8::Object> host, v8::Local<v8::Value> key, v8
|
| {# Methods #}
|
| {% from 'methods.cpp' import generate_method, overload_resolution_method,
|
| method_callback, origin_safe_method_getter, generate_constructor,
|
| - method_implemented_in_private_script, runtime_determined_length_method
|
| + method_implemented_in_private_script, runtime_determined_length_method,
|
| + runtime_determined_maxarg_method
|
| with context %}
|
| {% for method in methods %}
|
| {% if method.should_be_exposed_to_script %}
|
| @@ -149,6 +150,9 @@ bool namedSecurityCheck(v8::Local<v8::Object> host, v8::Local<v8::Value> key, v8
|
| {% if method.overloads.runtime_determined_lengths %}
|
| {{runtime_determined_length_method(method.overloads)}}
|
| {% endif %}
|
| +{% if method.overloads.runtime_determined_maxargs %}
|
| +{{runtime_determined_maxarg_method(method.overloads)}}
|
| +{% endif %}
|
| {{overload_resolution_method(method.overloads, world_suffix)}}
|
| {% endif %}
|
| {% if not method.overload_index or method.overloads %}
|
|
|