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 { |
}; |