blob: 0f503bc821cee5c405992b067d5fe326efdf0c4f [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)
] interface TestInterfaceSecureContext {
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;
};