Title: [94496] trunk/LayoutTests
Revision
94496
Author
[email protected]
Date
2011-09-03 15:43:00 -0700 (Sat, 03 Sep 2011)

Log Message

Test that document.all.tags() matches IE behavior with too few arguments
https://bugs.webkit.org/show_bug.cgi?id=66535

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

* fast/dom/document-all-tags-expected.txt: Added.
* fast/dom/document-all-tags.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (94495 => 94496)


--- trunk/LayoutTests/ChangeLog	2011-09-03 21:00:17 UTC (rev 94495)
+++ trunk/LayoutTests/ChangeLog	2011-09-03 22:43:00 UTC (rev 94496)
@@ -1,3 +1,13 @@
+2011-09-03  Mark Pilgrim  <[email protected]>
+
+        Test that document.all.tags() matches IE behavior with too few arguments
+        https://bugs.webkit.org/show_bug.cgi?id=66535
+
+        Reviewed by Darin Adler.
+
+        * fast/dom/document-all-tags-expected.txt: Added.
+        * fast/dom/document-all-tags.html: Added.
+
 2011-09-03  Robert Hogan  <[email protected]>
 
         Add platform-specific results for r94492

Added: trunk/LayoutTests/fast/dom/document-all-tags-expected.txt (0 => 94496)


--- trunk/LayoutTests/fast/dom/document-all-tags-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/dom/document-all-tags-expected.txt	2011-09-03 22:43:00 UTC (rev 94496)
@@ -0,0 +1,10 @@
+Test that HTMLAllCollection.tags() matches IE behavior with too few arguments.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.all.tags() threw exception TypeError: Not enough arguments.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/fast/dom/document-all-tags.html (0 => 94496)


--- trunk/LayoutTests/fast/dom/document-all-tags.html	                        (rev 0)
+++ trunk/LayoutTests/fast/dom/document-all-tags.html	2011-09-03 22:43:00 UTC (rev 94496)
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script src=""
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script>
+description('Test that HTMLAllCollection.tags() matches IE behavior with too few arguments.');
+shouldThrow("document.all.tags()");
+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