Title: [96820] trunk/LayoutTests
- Revision
- 96820
- Author
- commit-qu...@webkit.org
- Date
- 2011-10-06 09:51:39 -0700 (Thu, 06 Oct 2011)
Log Message
Test how media element TimeRange methods react to too few arguments
https://bugs.webkit.org/show_bug.cgi?id=66532
Patch by Mark Pilgrim <pilg...@chromium.org> on 2011-10-06
Reviewed by Adam Barth.
* media/video-buffered-too-few-arguments-expected.txt: Added.
* media/video-buffered-too-few-arguments.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (96819 => 96820)
--- trunk/LayoutTests/ChangeLog 2011-10-06 16:40:47 UTC (rev 96819)
+++ trunk/LayoutTests/ChangeLog 2011-10-06 16:51:39 UTC (rev 96820)
@@ -1,3 +1,13 @@
+2011-10-06 Mark Pilgrim <pilg...@chromium.org>
+
+ Test how media element TimeRange methods react to too few arguments
+ https://bugs.webkit.org/show_bug.cgi?id=66532
+
+ Reviewed by Adam Barth.
+
+ * media/video-buffered-too-few-arguments-expected.txt: Added.
+ * media/video-buffered-too-few-arguments.html: Added.
+
2011-10-06 Cary Clark <carycl...@google.com>
Unreviewed: Update all chromium-mac baseline images that differ only
Added: trunk/LayoutTests/media/video-buffered-too-few-arguments-expected.txt (0 => 96820)
--- trunk/LayoutTests/media/video-buffered-too-few-arguments-expected.txt (rev 0)
+++ trunk/LayoutTests/media/video-buffered-too-few-arguments-expected.txt 2011-10-06 16:51:39 UTC (rev 96820)
@@ -0,0 +1,11 @@
+Test how buffered.start()/end() react to too few arguments.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS v.buffered.start() threw exception TypeError: Not enough arguments.
+PASS v.buffered.end() threw exception TypeError: Not enough arguments.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/media/video-buffered-too-few-arguments.html (0 => 96820)
--- trunk/LayoutTests/media/video-buffered-too-few-arguments.html (rev 0)
+++ trunk/LayoutTests/media/video-buffered-too-few-arguments.html 2011-10-06 16:51:39 UTC (rev 96820)
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script src=""
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script>
+description('Test how buffered.start()/end() react to too few arguments.');
+var v = document.createElement('video');
+shouldThrow("v.buffered.start()");
+shouldThrow("v.buffered.end()");
+successfullyParsed = true;
+</script>
+<script src=""
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes