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

Unified Diff: LayoutTests/media/media-controller-playback-expected.txt

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
Index: LayoutTests/media/media-controller-playback-expected.txt
diff --git a/LayoutTests/media/media-controller-playback-expected.txt b/LayoutTests/media/media-controller-playback-expected.txt
index 31050930447e3e458fba88930663a1913dd8cefd..6400d658f6cb3c7d693256fce931aa2aae384e02 100644
--- a/LayoutTests/media/media-controller-playback-expected.txt
+++ b/LayoutTests/media/media-controller-playback-expected.txt
@@ -1,9 +1,9 @@
RUN(controller = video.controller)
EVENT(canplaythrough)
-TEST(controller.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The value provided is infinite.") OK
-TEST(controller.currentTime = Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The value provided is infinite.") OK
-TEST(controller.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The value provided is not a number.") OK
+TEST(controller.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
+TEST(controller.currentTime = Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
+TEST(controller.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
RUN(controller.play())
EVENT(playing)
EXPECTED (controller.paused == 'false') OK
« no previous file with comments | « LayoutTests/media/media-controller-playback.html ('k') | LayoutTests/media/media-controller-playbackrate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698