Chromium Code Reviews| Index: Source/bindings/scripts/v8_interface.py |
| diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py |
| index 9cb32a59af27c5984346bf23bf7c82a820cc6830..2381a310cb9144a269ebe557eabf930fc693912e 100644 |
| --- a/Source/bindings/scripts/v8_interface.py |
| +++ b/Source/bindings/scripts/v8_interface.py |
| @@ -753,6 +753,11 @@ def resolution_tests_methods(effective_overloads): |
| test = 'V8{idl_type}::hasInstance({cpp_value}, info.GetIsolate())'.format(idl_type=idl_type.base_type, cpp_value=cpp_value) |
| yield test, method |
| + for argument, method in arguments_methods: |
| + if argument['idl_type_object'].is_wrapper_type and method['number_of_required_arguments'] == method['number_of_arguments']: |
|
yunchao
2014/10/02 10:51:56
both number_of_required_arguments and number_of_ar
|
| + argument['type_checked_already'] = True |
| + |
| + |
| # 8. Otherwise: if V is any kind of object except for a native Date object, |
| # a native RegExp object, and there is an entry in S that has one of the |
| # following types at position i of its type list, |