| Index: bindings/tests/idls/TestInterface.idl
|
| diff --git a/bindings/tests/idls/TestInterface.idl b/bindings/tests/idls/TestInterface.idl
|
| index 479b0165270f3806e674a28ac36ae98727737dbe..7dfed9a9bb6e7461c5dcd94526a15c383c402969 100644
|
| --- a/bindings/tests/idls/TestInterface.idl
|
| +++ b/bindings/tests/idls/TestInterface.idl
|
| @@ -39,7 +39,8 @@
|
| ImplementedAs=TestInterfaceImplementation,
|
| RuntimeEnabled=FeatureName,
|
| SetWrapperReferenceTo(TestInterface referencedName),
|
| - TypeChecking=Interface|Nullable|Unrestricted,
|
| + TypeChecking=Interface|Unrestricted,
|
| + Exposed=(Worker,Window),
|
| ] interface TestInterface : TestInterfaceEmpty {
|
| // members needed to test [ImplementedAs], as this affect attribute
|
| // configuration and method configuration, and [TypeChecking]
|
| @@ -69,6 +70,23 @@
|
| getter DOMString (DOMString name);
|
| setter DOMString (DOMString name, DOMString value);
|
| deleter boolean (DOMString name);
|
| +
|
| + [NotEnumerable] stringifier;
|
| +
|
| + // Per-method [Exposed] annotation support.
|
| + void alwaysExposedMethod();
|
| + [Exposed=Worker] void workerExposedMethod();
|
| + [Exposed=Window] void windowExposedMethod();
|
| +
|
| + static void alwaysExposedStaticMethod();
|
| + [Exposed=Worker] static void workerExposedStaticMethod();
|
| + [Exposed=Window] static void windowExposedStaticMethod();
|
| +
|
| + attribute long alwaysExposedAttribute;
|
| + [Exposed=Worker] attribute long workerExposedAttribute;
|
| + [Exposed=Window] attribute long windowExposedAttribute;
|
| +
|
| + [Exposed=(Window,ServiceWorker)] void windowAndServiceWorkerExposedMethod();
|
| };
|
|
|
| TestInterface implements TestImplements;
|
|
|