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

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

Issue 423473002: Add a new attribute [Unintercept] to prohibit the interceptor of [length] to improve the binding pe… Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 | « Source/bindings/IDLExtendedAttributes.txt ('k') | Source/core/html/HTMLCollection.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/v8_attributes.py
diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py
index 485991d8860483eee00f66dbb1d3a7236d874f38..84f617e50f72eccd3c2bd5dcf335cb1ea0afd682 100644
--- a/Source/bindings/scripts/v8_attributes.py
+++ b/Source/bindings/scripts/v8_attributes.py
@@ -454,6 +454,8 @@ def access_control_list(attribute):
access_control.append('v8::ALL_CAN_WRITE')
if 'Unforgeable' in extended_attributes:
access_control.append('v8::PROHIBITS_OVERWRITING')
+ if 'Unintercept' in extended_attributes:
+ access_control.append('v8::PROHIBITS_INTERCEPT | v8::DEFAULT')
return access_control or ['v8::DEFAULT']
« no previous file with comments | « Source/bindings/IDLExtendedAttributes.txt ('k') | Source/core/html/HTMLCollection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698