| // 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; |
| }; |