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

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

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: 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
Index: bindings/tests/idls/TestInterfaceConstructor.idl
diff --git a/core/animation/Player.idl b/bindings/tests/idls/TestInterfaceConstructor.idl
similarity index 71%
rename from core/animation/Player.idl
rename to bindings/tests/idls/TestInterfaceConstructor.idl
index 1243c39262e12a3bdbfb62ceaed78301a42042af..102754eae02d025f42721719ee37bb80d02c3beb 100644
--- a/core/animation/Player.idl
+++ b/bindings/tests/idls/TestInterfaceConstructor.idl
@@ -28,19 +28,20 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// Note that length == 0 and overloaded; need other tests for other cases.
[
- RuntimeEnabled=WebAnimationsAPI,
-] interface Player {
- attribute TimedItem? source;
- attribute double startTime;
- attribute double currentTime;
- readonly attribute double timeLag;
- attribute double playbackRate;
- readonly attribute boolean paused;
- readonly attribute boolean finished;
- void cancel();
- [RaisesException] void finish();
- void play();
- void pause();
- void reverse();
+ Constructor,
+ Constructor(
+ double doubleArg,
+ DOMString stringArg,
+ TestInterfaceEmpty testInterfaceEmptyArg,
+ Dictionary dictionaryArg,
+ sequence<DOMString> sequenceStringArg,
+ sequence<Dictionary> sequenceDictionaryArg,
+ optional Dictionary optionalDictionaryArg,
+ [Default=Undefined] optional TestInterfaceEmpty optionalTestInterfaceEmptyArg),
+ ConstructorCallWith=ExecutionContext&Document,
+ MeasureAs=TestFeature,
+ RaisesException=Constructor,
+] interface TestInterfaceConstructor {
};
« no previous file with comments | « bindings/tests/idls/TestInterfaceCheckSecurity.idl ('k') | bindings/tests/idls/TestInterfaceConstructor2.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698