Title: [96824] trunk/LayoutTests
Revision
96824
Author
commit-qu...@webkit.org
Date
2011-10-06 10:05:09 -0700 (Thu, 06 Oct 2011)

Log Message

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

Patch by Mark Pilgrim <pilg...@chromium.org> on 2011-10-06
Reviewed by Darin Adler.

* fast/filesystem/filesystem-missing-arguments-expected.txt: Added.
* fast/filesystem/filesystem-missing-arguments.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (96823 => 96824)


--- trunk/LayoutTests/ChangeLog	2011-10-06 17:04:49 UTC (rev 96823)
+++ trunk/LayoutTests/ChangeLog	2011-10-06 17:05:09 UTC (rev 96824)
@@ -1,3 +1,13 @@
+2011-10-06  Mark Pilgrim  <pilg...@chromium.org>
+
+        Test how filesystem methods react to too few arguments
+        https://bugs.webkit.org/show_bug.cgi?id=66538
+
+        Reviewed by Darin Adler.
+
+        * fast/filesystem/filesystem-missing-arguments-expected.txt: Added.
+        * fast/filesystem/filesystem-missing-arguments.html: Added.
+
 2011-10-06  Konstantin Scheglov  <scheg...@google.com>
 
         REGRESSION (r95852?): Disappearing Border on bugs.webkit.org attachments <table>

Added: trunk/LayoutTests/fast/filesystem/filesystem-missing-arguments-expected.txt (0 => 96824)


--- trunk/LayoutTests/fast/filesystem/filesystem-missing-arguments-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/filesystem/filesystem-missing-arguments-expected.txt	2011-10-06 17:05:09 UTC (rev 96824)
@@ -0,0 +1,12 @@
+Test how file system methods react to too few arguments.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS webkitRequestFileSystem() threw exception TypeError: Not enough arguments.
+PASS webkitRequestFileSystem(TEMPORARY) threw exception TypeError: Not enough arguments.
+PASS webkitResolveLocalFileSystemURL() threw exception TypeError: Not enough arguments.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/fast/filesystem/filesystem-missing-arguments.html (0 => 96824)


--- trunk/LayoutTests/fast/filesystem/filesystem-missing-arguments.html	                        (rev 0)
+++ trunk/LayoutTests/fast/filesystem/filesystem-missing-arguments.html	2011-10-06 17:05:09 UTC (rev 96824)
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<link rel="stylesheet" href=""
+<script src=""
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script>
+description('Test how file system methods react to too few arguments.');
+shouldThrow("webkitRequestFileSystem()");
+shouldThrow("webkitRequestFileSystem(TEMPORARY)");
+shouldThrow("webkitResolveLocalFileSystemURL()");
+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

Reply via email to