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

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

Issue 2207423002: Implement '[SecureContext]' IDL attribute for interfaces, methods and attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback. Created 4 years, 4 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/tests/idls/core/TestInterface.idl
diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestInterface.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterface.idl
index a5ccf53262b152d81b965acc3240550aee4d5360..0e87b82f71a4eb173a07088f9f6f43035996de8e 100644
--- a/third_party/WebKit/Source/bindings/tests/idls/core/TestInterface.idl
+++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterface.idl
@@ -116,6 +116,19 @@
[LenientThis] attribute any lenientThisAttribute;
[LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInterfaceEmpty testInterfaceEmptyArg);
+
+ [SecureContext] void secureContextMethod();
+ [SecureContext] attribute bool secureContextAttribute;
+ [SecureContext,RuntimeEnabled=SecureFeature] void secureContextRuntimeEnabledMethod();
+ [SecureContext,RuntimeEnabled=SecureFeature] attribute bool secureContextRuntimeEnabledAttribute;
+ [SecureContext,Exposed=Window] void secureContextWindowExposedMethod();
+ [SecureContext,Exposed=Window] attribute bool secureContextWindowExposedAttribute;
+ [SecureContext,Exposed=Worker] void secureContextWorkerExposedMethod();
+ [SecureContext,Exposed=Worker] attribute bool secureContextWorkerExposedAttribute;
+ [SecureContext,Exposed=Window,RuntimeEnabled=SecureFeature] void secureContextWindowExposedRuntimeEnabledMethod();
+ [SecureContext,Exposed=Window,RuntimeEnabled=SecureFeature] attribute bool secureContextWindowExposedRuntimeEnabledAttribute;
+ [SecureContext,Exposed=Worker,RuntimeEnabled=SecureFeature] void secureContextWorkerExposedRuntimeEnabledMethod();
+ [SecureContext,Exposed=Worker,RuntimeEnabled=SecureFeature] attribute bool secureContextWorkerExposedRuntimeEnabledAttribute;
};
TestInterface implements TestImplements;

Powered by Google App Engine
This is Rietveld 408576698