Title: [97544] trunk/LayoutTests
Revision
97544
Author
[email protected]
Date
2011-10-15 00:03:43 -0700 (Sat, 15 Oct 2011)

Log Message

[File API] URL methods required arguments
https://bugs.webkit.org/show_bug.cgi?id=69692

Patch by Mark Pilgrim <[email protected]> on 2011-10-15
Reviewed by Adam Barth.

* fast/files/url-required-arguments-expected.txt: Added.
* fast/files/url-required-arguments.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (97543 => 97544)


--- trunk/LayoutTests/ChangeLog	2011-10-15 07:02:11 UTC (rev 97543)
+++ trunk/LayoutTests/ChangeLog	2011-10-15 07:03:43 UTC (rev 97544)
@@ -1,3 +1,13 @@
+2011-10-15  Mark Pilgrim  <[email protected]>
+
+        [File API] URL methods required arguments
+        https://bugs.webkit.org/show_bug.cgi?id=69692
+
+        Reviewed by Adam Barth.
+
+        * fast/files/url-required-arguments-expected.txt: Added.
+        * fast/files/url-required-arguments.html: Added.
+
 2011-10-14  Mark Pilgrim  <[email protected]>
 
         [File API] Test how FileReader substitutes illegal UTF-8 characters

Added: trunk/LayoutTests/fast/files/url-required-arguments-expected.txt (0 => 97544)


--- trunk/LayoutTests/fast/files/url-required-arguments-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/files/url-required-arguments-expected.txt	2011-10-15 07:03:43 UTC (rev 97544)
@@ -0,0 +1,10 @@
+Test required arguments of URL object.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS webkitURL.createObjectURL() threw exception TypeError: Type error.
+PASS webkitURL.revokeObjectURL() threw exception TypeError: Not enough arguments.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/fast/files/url-required-arguments.html (0 => 97544)


--- trunk/LayoutTests/fast/files/url-required-arguments.html	                        (rev 0)
+++ trunk/LayoutTests/fast/files/url-required-arguments.html	2011-10-15 07:03:43 UTC (rev 97544)
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+    <link rel="stylesheet" href=""
+    <script src=""
+ </head>
+ <body>
+    <div id="description"></div>
+    <div id="console"></div>
+<script>
+description("Test required arguments of URL object.");
+
+shouldThrow("webkitURL.createObjectURL()");
+shouldThrow("webkitURL.revokeObjectURL()");
+var 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