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

Unified Diff: LayoutTests/media/video-currentTime-set2-expected.txt

Issue 261783009: Use [TypeChecking=Unrestricted] for HTMLMediaElement (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 | « LayoutTests/media/video-currentTime-set2.html ('k') | LayoutTests/media/video-playbackrate.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/video-currentTime-set2-expected.txt
diff --git a/LayoutTests/media/video-currentTime-set2-expected.txt b/LayoutTests/media/video-currentTime-set2-expected.txt
index 331c08a1d1aaa3eb6f38294656d626657ffa0fd5..e473fad85dada784741fee76b8140e367d3f2613 100644
--- a/LayoutTests/media/video-currentTime-set2-expected.txt
+++ b/LayoutTests/media/video-currentTime-set2-expected.txt
@@ -1,7 +1,7 @@
EVENT(canplaythrough)
-TEST(video.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The value provided is infinite.") OK
-TEST(video.currentTime = Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The value provided is infinite.") OK
-TEST(video.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The value provided is not a number.") OK
+TEST(video.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.") OK
+TEST(video.currentTime = Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.") OK
+TEST(video.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.") OK
EXPECTED (video.currentTime.toFixed(1) == '1.5') OK
EXPECTED (video.currentTime.toFixed(1) == '3.1') OK
END OF TEST
« no previous file with comments | « LayoutTests/media/video-currentTime-set2.html ('k') | LayoutTests/media/video-playbackrate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698