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

Unified Diff: Source/bindings/scripts/v8_interface.py

Issue 862403002: IDL: Support [TypeChecking=Interface] correctly on indexed setters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/v8_interface.py
diff --git a/Source/bindings/scripts/v8_interface.py b/Source/bindings/scripts/v8_interface.py
index ea2e4368cf708d3a6b7dd7b0371852466b8858a2..535ebeca1b601909de9d568f57766cf1c338f5ed 100644
--- a/Source/bindings/scripts/v8_interface.py
+++ b/Source/bindings/scripts/v8_interface.py
@@ -1184,8 +1184,8 @@ def property_setter(interface, setter):
has_extended_attribute_value(setter, 'TypeChecking', 'Unrestricted'))
return {
'has_type_checking_interface':
- # FIXME: check interface's [TypeChecking] attribute too.
- has_extended_attribute_value(setter, 'TypeChecking', 'Interface') and
+ (has_extended_attribute_value(interface, 'TypeChecking', 'Interface') or
+ has_extended_attribute_value(setter, 'TypeChecking', 'Interface')) and
idl_type.is_wrapper_type,
'idl_type': idl_type.base_type,
'is_custom': 'Custom' in extended_attributes,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698