haikuwebkit/LayoutTests/fast/animation/request-animation-frame-mis...

15 lines
341 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Test how animation methods react to too few arguments.');
shouldThrow("requestAnimationFrame()");
shouldThrow("cancelAnimationFrame()");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>