| Index: third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceSecureContext.idl
|
| diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceSecureContext.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceSecureContext.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e43c2b2ec953a4116a36cca7bd38ab8346f52fa0
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceSecureContext.idl
|
| @@ -0,0 +1,21 @@
|
| +// 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 bool secureContextAttribute;
|
| + [RuntimeEnabled=SecureFeature] void secureContextRuntimeEnabledMethod();
|
| + [RuntimeEnabled=SecureFeature] attribute bool secureContextRuntimeEnabledAttribute;
|
| + [Exposed=Window] void secureContextWindowExposedMethod();
|
| + [Exposed=Window] attribute bool secureContextWindowExposedAttribute;
|
| + [Exposed=Worker] void secureContextWorkerExposedMethod();
|
| + [Exposed=Worker] attribute bool secureContextWorkerExposedAttribute;
|
| + [Exposed=Window,RuntimeEnabled=SecureFeature] void secureContextWindowExposedRuntimeEnabledMethod();
|
| + [Exposed=Window,RuntimeEnabled=SecureFeature] attribute bool secureContextWindowExposedRuntimeEnabledAttribute;
|
| + [Exposed=Worker,RuntimeEnabled=SecureFeature] void secureContextWorkerExposedRuntimeEnabledMethod();
|
| + [Exposed=Worker,RuntimeEnabled=SecureFeature] attribute bool secureContextWorkerExposedRuntimeEnabledAttribute;
|
| +};
|
|
|