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

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

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
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 6885e23d0261fa19a96ee964f1da0b34d4436b6f..1a579a8ef6963969f17b8164c37f371b2ecc57ae 100644
--- a/LayoutTests/media/media-controller-playback-expected.txt
+++ b/LayoutTests/media/media-controller-playback-expected.txt
@@ -1,6 +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
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