Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: bindings/tests/idls/TestInterface.idl

Issue 581453002: Dartium Roll 38 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Sync'd w/ r 182210 Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bindings/tests/idls/TestDictionary.idl ('k') | bindings/tests/idls/TestInterface2.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « bindings/tests/idls/TestDictionary.idl ('k') | bindings/tests/idls/TestInterface2.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698