blob: cc08409f61bf4c186acc7bc368b505fa38429f02 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Setting undefined to playbackRate and defaultPlaybackRate</title>
</head>
<body>
<video></video>
<script src="video-test.js"></script>
<script>
testException(
"video.playbackRate = undefined",
"'TypeError: The provided value is non-finite'"
);
testException(
"video.defaultPlaybackRate = undefined",
"'TypeError: The provided value is non-finite'"
);
endTest();
</script>
</body>
</html>