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

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

Issue 217053009: Validate finiteness of HTMLMediaElement properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add more FIXMEs. Created 6 years, 9 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 | « Source/core/html/MediaController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaController.idl
diff --git a/Source/core/html/MediaController.idl b/Source/core/html/MediaController.idl
index ad46115d889b0327ef17e83867aa803a96a8b591..b05e2d982df0195a0f232fcc7cc249642edbb051 100644
--- a/Source/core/html/MediaController.idl
+++ b/Source/core/html/MediaController.idl
@@ -32,6 +32,7 @@
readonly attribute TimeRanges seekable;
readonly attribute double duration;
+ // FIXME: generated bindings should check isfinite: http://crbug.com/354298
[RaisesException=Setter] attribute double currentTime;
readonly attribute boolean paused;
@@ -41,8 +42,8 @@
void pause();
void unpause();
- attribute double defaultPlaybackRate;
- attribute double playbackRate;
+ [RaisesException=Setter] attribute double defaultPlaybackRate;
+ [RaisesException=Setter] attribute double playbackRate;
[RaisesException=Setter] attribute double volume;
attribute boolean muted;
« no previous file with comments | « Source/core/html/MediaController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698