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

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 LayoutTests. 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
« LayoutTests/media/video-test.js ('K') | « 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..fa1ca3fee07fc7fc6737f81c735c16115a3a37cd 100644
--- a/Source/core/html/MediaController.idl
+++ b/Source/core/html/MediaController.idl
@@ -41,8 +41,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;
« LayoutTests/media/video-test.js ('K') | « Source/core/html/MediaController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698