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

Unified Diff: LayoutTests/media/media-controller-playback.html

Issue 265743010: Use [TypeChecking=Unrestricted] for MediaController (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/media/media-controller-playback-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/media-controller-playback.html
diff --git a/LayoutTests/media/media-controller-playback.html b/LayoutTests/media/media-controller-playback.html
index 6b7b4f73cc07e7b52a660127bbfe26e0b6babd0e..8b7f86efc929327e779decebd05b4d0a650aee60 100644
--- a/LayoutTests/media/media-controller-playback.html
+++ b/LayoutTests/media/media-controller-playback.html
@@ -23,9 +23,9 @@
consoleWrite("EVENT(canplaythrough)");
controller.removeEventListener('canplaythrough', canplaythrough, true);
- testException("controller.currentTime = -Infinity", '"TypeError: Failed to set the \'currentTime\' property on \'MediaController\': The value provided is infinite."');
- testException("controller.currentTime = Infinity", '"TypeError: Failed to set the \'currentTime\' property on \'MediaController\': The value provided is infinite."');
- testException("controller.currentTime = NaN", '"TypeError: Failed to set the \'currentTime\' property on \'MediaController\': The value provided is not a number."');
+ testException("controller.currentTime = -Infinity", '"TypeError: Failed to set the \'currentTime\' property on \'MediaController\': The provided double value is non-finite."');
+ testException("controller.currentTime = Infinity", '"TypeError: Failed to set the \'currentTime\' property on \'MediaController\': The provided double value is non-finite."');
+ testException("controller.currentTime = NaN", '"TypeError: Failed to set the \'currentTime\' property on \'MediaController\': The provided double value is non-finite."');
controller.addEventListener('playing', playing, true);
run('controller.play()');
« no previous file with comments | « no previous file | LayoutTests/media/media-controller-playback-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698