| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index 584d5e24773be686e89bd7f62c68050be70d5828..500905273907172f0e8f0622653245b62c585992 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -92,7 +92,7 @@ if (UNLIKELY(info.Length() <= {{argument.index}})) {
|
| return;
|
| }
|
| {% endif %}
|
| -{% if method.is_strict_type_checking and argument.is_wrapper_type %}
|
| +{% if argument.has_type_checking_interface %}
|
| {# Type checking for wrapper interface types (if interface not implemented,
|
| throw TypeError), per http://www.w3.org/TR/WebIDL/#es-interface #}
|
| if (info.Length() > {{argument.index}} && {% if argument.is_nullable %}!isUndefinedOrNull(info[{{argument.index}}]) && {% endif %}!V8{{argument.idl_type}}::hasInstance(info[{{argument.index}}], info.GetIsolate())) {
|
|
|