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

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

Issue 2218863002: Implement '[SecureContext]' IDL attribute for partial interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@secure1
Patch Set: This might work? 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/TestInterfacePartialSecureContext.idl
diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfacePartialSecureContext.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfacePartialSecureContext.idl
new file mode 100644
index 0000000000000000000000000000000000000000..ed17e59cb062975ab27d4aecdd165c5a18e4efd1
--- /dev/null
+++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfacePartialSecureContext.idl
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ SecureContext,
+ Exposed=(Window,Worker),
+ ImplementedAs=TestInterfacePartialSecureContext, // Conflicts with default partial interface class name
+] partial interface TestInterface {
+ void partialSecureContextMethod();
+ attribute bool partialSecureContextAttribute;
+ [RuntimeEnabled=SecureFeature] void partialSecureContextRuntimeEnabledMethod();
+ [RuntimeEnabled=SecureFeature] attribute bool partialSecureContextRuntimeEnabledAttribute;
+ [Exposed=Window] void partialSecureContextWindowExposedMethod();
+ [Exposed=Window] attribute bool partialSecureContextWindowExposedAttribute;
+ [Exposed=Worker] void partialSecureContextWorkerExposedMethod();
+ [Exposed=Worker] attribute bool partialSecureContextWorkerExposedAttribute;
+ [Exposed=Window,RuntimeEnabled=SecureFeature] void partialSecureContextWindowExposedRuntimeEnabledMethod();
+ [Exposed=Window,RuntimeEnabled=SecureFeature] attribute bool partialSecureContextWindowExposedRuntimeEnabledAttribute;
+ [Exposed=Worker,RuntimeEnabled=SecureFeature] void partialSecureContextWorkerExposedRuntimeEnabledMethod();
+ [Exposed=Worker,RuntimeEnabled=SecureFeature] attribute bool partialSecureContextWorkerExposedRuntimeEnabledAttribute;
+};

Powered by Google App Engine
This is Rietveld 408576698