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

Unified Diff: LayoutTests/media/video-volume.html

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-playbackrate-expected.txt ('k') | LayoutTests/media/video-volume-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/video-volume.html
diff --git a/LayoutTests/media/video-volume.html b/LayoutTests/media/video-volume.html
index 3e7d343c6d822ffd95704b49d779636699a4af3e..82e6937c71fc63e08d6a73a991c829de7843c3fe 100644
--- a/LayoutTests/media/video-volume.html
+++ b/LayoutTests/media/video-volume.html
@@ -12,9 +12,9 @@
testExpected("video.volume", 0);
testDOMException("video.volume = 1.5", "DOMException.INDEX_SIZE_ERR");
testDOMException("video.volume = -0.5", "DOMException.INDEX_SIZE_ERR");
- testException("video.volume = -Infinity", '"TypeError: Failed to set the \'volume\' property on \'HTMLMediaElement\': The value provided is infinite."');
- testException("video.volume = Infinity", '"TypeError: Failed to set the \'volume\' property on \'HTMLMediaElement\': The value provided is infinite."');
- testException("video.volume = NaN", '"TypeError: Failed to set the \'volume\' property on \'HTMLMediaElement\': The value provided is not a number."');
+ testException("video.volume = -Infinity", '"TypeError: Failed to set the \'volume\' property on \'HTMLMediaElement\': The provided double value is non-finite."');
+ testException("video.volume = Infinity", '"TypeError: Failed to set the \'volume\' property on \'HTMLMediaElement\': The provided double value is non-finite."');
+ testException("video.volume = NaN", '"TypeError: Failed to set the \'volume\' property on \'HTMLMediaElement\': The provided double value is non-finite."');
video.src = findMediaFile("video", "content/test");
run("video.load()");
waitForEvent("canplaythrough", function () {
« no previous file with comments | « LayoutTests/media/video-playbackrate-expected.txt ('k') | LayoutTests/media/video-volume-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698