Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: third_party/WebKit/Source/bindings/scripts/v8_interface.py

Issue 2321073002: binding: Let indexed interceptor falls through to named interceptor. (Closed)
Patch Set: Updated global-interface-listing expectations. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (C) 2013 Google Inc. All rights reserved. 1 # Copyright (C) 2013 Google Inc. All rights reserved.
2 # coding=utf-8 2 # coding=utf-8
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 context.update({ 572 context.update({
573 'has_conditional_attributes_on_prototype': 573 'has_conditional_attributes_on_prototype':
574 has_conditional_attributes_on_prototype, 574 has_conditional_attributes_on_prototype,
575 }) 575 })
576 576
577 context.update({ 577 context.update({
578 'indexed_property_getter': property_getter(interface.indexed_property_ge tter, ['index']), 578 'indexed_property_getter': property_getter(interface.indexed_property_ge tter, ['index']),
579 'indexed_property_setter': property_setter(interface.indexed_property_se tter, interface), 579 'indexed_property_setter': property_setter(interface.indexed_property_se tter, interface),
580 'indexed_property_deleter': property_deleter(interface.indexed_property_ deleter), 580 'indexed_property_deleter': property_deleter(interface.indexed_property_ deleter),
581 'is_override_builtins': 'OverrideBuiltins' in extended_attributes, 581 'is_override_builtins': 'OverrideBuiltins' in extended_attributes,
582 'named_property_getter': property_getter(interface.named_property_getter , ['propertyName']), 582 'named_property_getter': property_getter(interface.named_property_getter , ['name']),
583 'named_property_setter': property_setter(interface.named_property_setter , interface), 583 'named_property_setter': property_setter(interface.named_property_setter , interface),
584 'named_property_deleter': property_deleter(interface.named_property_dele ter), 584 'named_property_deleter': property_deleter(interface.named_property_dele ter),
585 }) 585 })
586 context.update({ 586 context.update({
587 'has_named_properties_object': is_global and context['named_property_get ter'], 587 'has_named_properties_object': is_global and context['named_property_get ter'],
588 }) 588 })
589 589
590 # Origin Trials 590 # Origin Trials
591 context.update({ 591 context.update({
592 'origin_trial_features': origin_trial_features(interface, context['const ants'], context['attributes'], context['methods']), 592 'origin_trial_features': origin_trial_features(interface, context['const ants'], context['attributes'], context['methods']),
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
1404 extended_attributes = deleter.extended_attributes 1404 extended_attributes = deleter.extended_attributes
1405 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete r, 'CallWith', 'ScriptState') 1405 is_call_with_script_state = v8_utilities.has_extended_attribute_value(delete r, 'CallWith', 'ScriptState')
1406 is_ce_reactions = 'CEReactions' in extended_attributes 1406 is_ce_reactions = 'CEReactions' in extended_attributes
1407 return { 1407 return {
1408 'is_call_with_script_state': is_call_with_script_state, 1408 'is_call_with_script_state': is_call_with_script_state,
1409 'is_ce_reactions': is_ce_reactions, 1409 'is_ce_reactions': is_ce_reactions,
1410 'is_custom': 'Custom' in extended_attributes, 1410 'is_custom': 'Custom' in extended_attributes,
1411 'is_raises_exception': 'RaisesException' in extended_attributes, 1411 'is_raises_exception': 'RaisesException' in extended_attributes,
1412 'name': cpp_name(deleter), 1412 'name': cpp_name(deleter),
1413 } 1413 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698