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

Unified Diff: LayoutTests/media/media-controller-volume.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
Index: LayoutTests/media/media-controller-volume.html
diff --git a/LayoutTests/media/media-controller-volume.html b/LayoutTests/media/media-controller-volume.html
index 1f61534c6bce59c4b9630e5ab7ffd90d529a5707..774ff4c35732bee937d58a81577bbf3326bf4a09 100644
--- a/LayoutTests/media/media-controller-volume.html
+++ b/LayoutTests/media/media-controller-volume.html
@@ -24,9 +24,9 @@
testDOMException("video.controller.volume = 1.5", "DOMException.INDEX_SIZE_ERR");
testDOMException("video.controller.volume = -0.5", "DOMException.INDEX_SIZE_ERR");
- testException("video.controller.volume = -Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The value provided is infinite."');
- testException("video.controller.volume = Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The value provided is infinite."');
- testException("video.controller.volume = NaN", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The value provided is not a number."');
+ testException("video.controller.volume = -Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."');
+ testException("video.controller.volume = Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."');
+ testException("video.controller.volume = NaN", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."');
endTest();
};
« no previous file with comments | « LayoutTests/media/media-controller-playbackrate-expected.txt ('k') | LayoutTests/media/media-controller-volume-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698