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

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

Issue 77453002: IDL compiler: [CheckSecurity=Frame] interface + [DoNotCheckSecurity] members (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Other extended attribute combinations Created 7 years, 1 month 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
Index: Source/bindings/scripts/unstable/v8_interface.py
diff --git a/Source/bindings/scripts/unstable/v8_interface.py b/Source/bindings/scripts/unstable/v8_interface.py
index 746de7a505841da2e8dc3d041c1aabf26e563b92..6ab450d907ba5741e183e1a98a9f9e50a11bbbdf 100644
--- a/Source/bindings/scripts/unstable/v8_interface.py
+++ b/Source/bindings/scripts/unstable/v8_interface.py
@@ -108,6 +108,9 @@ def generate_interface(interface):
('overload_index' not in method or method['overload_index'] == 1))
template_contents.update({
+ 'has_domain_safe_method_setter': any(
+ method['is_check_security_for_frame'] and not method['is_read_only']
+ for method in methods),
'has_method_configuration': any(method['do_generate_method_configuration'] for method in methods),
'has_per_context_enabled_methods': any(method['per_context_enabled_function_name'] for method in methods),
'methods': methods,

Powered by Google App Engine
This is Rietveld 408576698