Title: [94769] trunk/LayoutTests
Revision
94769
Author
[email protected]
Date
2011-09-08 11:18:57 -0700 (Thu, 08 Sep 2011)

Log Message

Test how animation methods react to too few arguments
https://bugs.webkit.org/show_bug.cgi?id=66539

Patch by Mark Pilgrim <[email protected]> on 2011-09-08
Reviewed by Darin Adler.

* fast/animation/request-animation-frame-missing-arguments-expected.txt: Added.
* fast/animation/request-animation-frame-missing-arguments.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (94768 => 94769)


--- trunk/LayoutTests/ChangeLog	2011-09-08 18:14:59 UTC (rev 94768)
+++ trunk/LayoutTests/ChangeLog	2011-09-08 18:18:57 UTC (rev 94769)
@@ -1,3 +1,13 @@
+2011-09-08  Mark Pilgrim  <[email protected]>
+
+        Test how animation methods react to too few arguments
+        https://bugs.webkit.org/show_bug.cgi?id=66539
+
+        Reviewed by Darin Adler.
+
+        * fast/animation/request-animation-frame-missing-arguments-expected.txt: Added.
+        * fast/animation/request-animation-frame-missing-arguments.html: Added.
+
 2011-09-08  Hayato Ito  <[email protected]>
 
         Add a layout test for the case where an accesskey is defined in shadow DOM.

Added: trunk/LayoutTests/fast/animation/request-animation-frame-missing-arguments-expected.txt (0 => 94769)


--- trunk/LayoutTests/fast/animation/request-animation-frame-missing-arguments-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/animation/request-animation-frame-missing-arguments-expected.txt	2011-09-08 18:18:57 UTC (rev 94769)
@@ -0,0 +1,11 @@
+Test how animation methods react to too few arguments.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS webkitRequestAnimationFrame() threw exception TypeError: Not enough arguments.
+PASS webkitCancelRequestAnimationFrame() threw exception TypeError: Not enough arguments.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/fast/animation/request-animation-frame-missing-arguments.html (0 => 94769)


--- trunk/LayoutTests/fast/animation/request-animation-frame-missing-arguments.html	                        (rev 0)
+++ trunk/LayoutTests/fast/animation/request-animation-frame-missing-arguments.html	2011-09-08 18:18:57 UTC (rev 94769)
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<link rel="stylesheet" href=""
+<script src=""
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script>
+description('Test how animation methods react to too few arguments.');
+shouldThrow("webkitRequestAnimationFrame()");
+shouldThrow("webkitCancelRequestAnimationFrame()");
+successfullyParsed = true;
+</script>
+<script src=""
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to