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

Unified Diff: Source/core/html/MediaController.idl

Issue 262753004: Replace all remaining IDL finitude type checks with [TypeChecking=Unrestricted] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unnecessary code (std::isfinite not needed for long) Created 6 years, 8 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: Source/core/html/MediaController.idl
diff --git a/Source/core/html/MediaController.idl b/Source/core/html/MediaController.idl
index 524993864e7785774cff1d126f88be34e5299dbc..8e70a8b0531d87f28b4f6a8ba60aaa20d0ed10bf 100644
--- a/Source/core/html/MediaController.idl
+++ b/Source/core/html/MediaController.idl
@@ -23,16 +23,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#mediacontroller
+
[
Constructor,
ConstructorCallWith=ExecutionContext,
RuntimeEnabled=MediaController,
+ TypeChecking=Unrestricted,
] interface MediaController : EventTarget {
readonly attribute TimeRanges buffered;
readonly attribute TimeRanges seekable;
readonly attribute unrestricted double duration;
- // FIXME: generated bindings should check isfinite: http://crbug.com/354298
[RaisesException=Setter] attribute double currentTime;
readonly attribute boolean paused;
@@ -42,8 +44,8 @@
void pause();
void unpause();
- [RaisesException=Setter] attribute double defaultPlaybackRate;
- [RaisesException=Setter] attribute double playbackRate;
+ attribute double defaultPlaybackRate;
+ attribute double playbackRate;
[RaisesException=Setter] attribute double volume;
attribute boolean muted;

Powered by Google App Engine
This is Rietveld 408576698