blob: e23496aeaf7530d312e9ad3173c324c53ad84b18 [file] [log] [blame]
// 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 boolean partialSecureContextAttribute;
[RuntimeEnabled=SecureFeature] void partialSecureContextRuntimeEnabledMethod();
[RuntimeEnabled=SecureFeature] attribute boolean partialSecureContextRuntimeEnabledAttribute;
[Exposed=Window] void partialSecureContextWindowExposedMethod();
[Exposed=Window] attribute boolean partialSecureContextWindowExposedAttribute;
[Exposed=Worker] void partialSecureContextWorkerExposedMethod();
[Exposed=Worker] attribute boolean partialSecureContextWorkerExposedAttribute;
[Exposed=Window,RuntimeEnabled=SecureFeature] void partialSecureContextWindowExposedRuntimeEnabledMethod();
[Exposed=Window,RuntimeEnabled=SecureFeature] attribute boolean partialSecureContextWindowExposedRuntimeEnabledAttribute;
[Exposed=Worker,RuntimeEnabled=SecureFeature] void partialSecureContextWorkerExposedRuntimeEnabledMethod();
[Exposed=Worker,RuntimeEnabled=SecureFeature] attribute boolean partialSecureContextWorkerExposedRuntimeEnabledAttribute;
};