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

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_attributes.py

Issue 2640123006: Use the current context as the creation context for cross-origin objects. (Closed)
Patch Set: Add comment Created 3 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
Index: third_party/WebKit/Source/bindings/scripts/v8_attributes.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
index 7e24cc05bbbe2ae89ad628e426080051e9702e94..4ff2d5107f7ccf66eebd38071e6db183f96fceba 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
@@ -198,8 +198,6 @@ def attribute_context(interface, attribute, interfaces):
# [CrossOrigin] is incompatible with a number of other attributes, so check
# for them here.
if is_cross_origin:
- if context['has_cross_origin_getter'] and context['has_custom_getter']:
- raise Exception('[CrossOrigin] and [Custom] are incompatible on the same getter: %s.%s', interface.name, attribute.name)
if context['has_cross_origin_setter'] and context['has_custom_setter']:
raise Exception('[CrossOrigin] and [Custom] are incompatible on the same setter: %s.%s', interface.name, attribute.name)
if context['is_per_world_bindings']:

Powered by Google App Engine
This is Rietveld 408576698