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

Unified Diff: third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceCheckSecurity.idl

Issue 2439013002: Implement cross-origin attributes using access check interceptors. (Closed)
Patch Set: Clean up named enumerator interceptor. Created 4 years 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/tests/idls/core/TestInterfaceCheckSecurity.idl
diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceCheckSecurity.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceCheckSecurity.idl
index e53b649419987d8f11d5290d3bd32d120fa17918..d9df642f51452bb1fd24f9d4957e380e640c4915 100644
--- a/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceCheckSecurity.idl
+++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceCheckSecurity.idl
@@ -34,12 +34,12 @@
attribute long longAttribute;
void voidMethod();
- [DoNotCheckSecurity] attribute long doNotCheckSecurityLongAttribute;
- [DoNotCheckSecurity] readonly attribute long doNotCheckSecurityReadonlyLongAttribute; // Separate read only attribute to check attribute configuration
- [DoNotCheckSecurity=Setter] attribute long doNotCheckSecurityOnSetterLongAttribute;
- [DoNotCheckSecurity, Replaceable] readonly attribute long doNotCheckSecurityReplaceableReadonlyLongAttribute;
+ [CrossOrigin] attribute long doNotCheckSecurityLongAttribute;
+ [CrossOrigin] readonly attribute long doNotCheckSecurityReadonlyLongAttribute; // Separate read only attribute to check attribute configuration
+ [CrossOrigin=Setter] attribute long doNotCheckSecurityOnSetterLongAttribute;
+ [CrossOrigin, Replaceable] readonly attribute long doNotCheckSecurityReplaceableReadonlyLongAttribute;
- [DoNotCheckSecurity] void doNotCheckSecurityVoidMethod();
- [DoNotCheckSecurity, PerWorldBindings] void doNotCheckSecurityPerWorldBindingsVoidMethod();
- [DoNotCheckSecurity, Unforgeable] void doNotCheckSecurityUnforgeableVoidMethod();
+ [CrossOrigin] void doNotCheckSecurityVoidMethod();
+ [CrossOrigin, PerWorldBindings] void doNotCheckSecurityPerWorldBindingsVoidMethod();
+ [CrossOrigin, Unforgeable] void doNotCheckSecurityUnforgeableVoidMethod();
};

Powered by Google App Engine
This is Rietveld 408576698