blob: c53fc8e119a216686b8fc6c2131bdd95b76417f6 [file] [log] [blame]
// Copyright 2018 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=SecureContextnessFeature,
Exposed=(Window,Worker)
] interface TestInterfaceConditionalSecureContext {
void secureContextMethod();
attribute boolean secureContextAttribute;
[RuntimeEnabled=SecureFeature] void secureContextRuntimeEnabledMethod();
[RuntimeEnabled=SecureFeature] attribute boolean secureContextRuntimeEnabledAttribute;
[Exposed=Window] void secureContextWindowExposedMethod();
[Exposed=Window] attribute boolean secureContextWindowExposedAttribute;
[Exposed=Worker] void secureContextWorkerExposedMethod();
[Exposed=Worker] attribute boolean secureContextWorkerExposedAttribute;
[Exposed=Window,RuntimeEnabled=SecureFeature] void secureContextWindowExposedRuntimeEnabledMethod();
[Exposed=Window,RuntimeEnabled=SecureFeature] attribute boolean secureContextWindowExposedRuntimeEnabledAttribute;
[Exposed=Worker,RuntimeEnabled=SecureFeature] void secureContextWorkerExposedRuntimeEnabledMethod();
[Exposed=Worker,RuntimeEnabled=SecureFeature] attribute boolean secureContextWorkerExposedRuntimeEnabledAttribute;
};