| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index f1f0fdb5593b5155d4e13acf141d648f200f3ca3..f329f780609227cd9f63269a1105aed04c4985bf 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -351,6 +351,7 @@ static void {{overloads.name}}Method{{world_suffix}}(const v8::FunctionCallbackI
|
| {# Then resolve by testing argument #}
|
| {% for test, method in tests_methods %}
|
| {# 10. If i = d, then: #}
|
| + {% filter runtime_enabled(not overloads.runtime_enabled_function_all and method.runtime_enabled_function) %}
|
| if ({{test}}) {
|
| {% if method.measure_as and not overloads.measure_all_as %}
|
| UseCounter::count(callingExecutionContext(isolate), UseCounter::{{method.measure_as}});
|
| @@ -361,6 +362,7 @@ static void {{overloads.name}}Method{{world_suffix}}(const v8::FunctionCallbackI
|
| {{method.name}}{{method.overload_index}}Method{{world_suffix}}(info);
|
| return;
|
| }
|
| + {% endfilter %}
|
| {% endfor %}
|
| break;
|
| {% endfor %}
|
|
|