Chromium Code Reviews| 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..8ca46d1936fe78d934560d11fc32add61d92efef |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterfaceSecureContext.idl |
| @@ -0,0 +1,19 @@ |
| +// 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. |
| + |
| +[Exposed=(Window,Worker)] |
| +interface TestInterfaceSecureContext { |
|
haraken
2016/08/04 13:51:17
Instead of adding a new IDL file, can we add these
Mike West
2016/08/04 17:38:15
Is there really a cost to more test result files?
bashi
2016/08/04 23:16:13
Don't we need to have a test for an interface whic
haraken
2016/08/05 04:05:38
Yeah, good point. So shall we add:
- these attrib
Mike West
2016/08/05 07:42:47
Done.
|
| + [SecureContext] void secureContextMethod(); |
| + [SecureContext] attribute bool secureContextAttribute; |
| + [SecureContext,RuntimeEnabled=SecureFeature] void secureContextRuntimeEnabledMethod(); |
| + [SecureContext,RuntimeEnabled=SecureFeature] attribute bool secureContextRuntimeEnabledAttribute; |
| + [SecureContext,Exposed=Window] void secureContextWindowExposedMethod(); |
| + [SecureContext,Exposed=Window] attribute bool secureContextWindowExposedAttribute; |
| + [SecureContext,Exposed=Worker] void secureContextWorkerExposedMethod(); |
| + [SecureContext,Exposed=Worker] attribute bool secureContextWorkerExposedAttribute; |
| + [SecureContext,Exposed=Window,RuntimeEnabled=SecureFeature] void secureContextWindowExposedRuntimeEnabledMethod(); |
| + [SecureContext,Exposed=Window,RuntimeEnabled=SecureFeature] attribute bool secureContextWindowExposedRuntimeEnabledAttribute; |
| + [SecureContext,Exposed=Worker,RuntimeEnabled=SecureFeature] void secureContextWorkerExposedRuntimeEnabledMethod(); |
| + [SecureContext,Exposed=Worker,RuntimeEnabled=SecureFeature] attribute bool secureContextWorkerExposedRuntimeEnabledAttribute; |
| +}; |