Title: [101478] trunk/LayoutTests
- Revision
- 101478
- Author
- commit-qu...@webkit.org
- Date
- 2011-11-30 03:22:52 -0800 (Wed, 30 Nov 2011)
Log Message
Test how HTMLButtonElement.setCustomValidity reacts to too few arguments
https://bugs.webkit.org/show_bug.cgi?id=66524
This patch combines tests from this bug, bug 66525, bug 66526, and bug 66528
and puts them in a single file under fast/forms/
Patch by Mark Pilgrim <pilg...@chromium.org> on 2011-11-30
Reviewed by Adam Barth.
* fast/forms/setCustomValidity-arguments-expected.txt: Added.
* fast/forms/setCustomValidity-arguments.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (101477 => 101478)
--- trunk/LayoutTests/ChangeLog 2011-11-30 11:17:46 UTC (rev 101477)
+++ trunk/LayoutTests/ChangeLog 2011-11-30 11:22:52 UTC (rev 101478)
@@ -1,3 +1,16 @@
+2011-11-30 Mark Pilgrim <pilg...@chromium.org>
+
+ Test how HTMLButtonElement.setCustomValidity reacts to too few arguments
+ https://bugs.webkit.org/show_bug.cgi?id=66524
+
+ This patch combines tests from this bug, bug 66525, bug 66526, and bug 66528
+ and puts them in a single file under fast/forms/
+
+ Reviewed by Adam Barth.
+
+ * fast/forms/setCustomValidity-arguments-expected.txt: Added.
+ * fast/forms/setCustomValidity-arguments.html: Added.
+
2011-11-30 Mike Reed <r...@google.com>
[skia] update expectations for mac-skia results
Added: trunk/LayoutTests/fast/forms/setCustomValidity-arguments-expected.txt (0 => 101478)
--- trunk/LayoutTests/fast/forms/setCustomValidity-arguments-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/setCustomValidity-arguments-expected.txt 2011-11-30 11:22:52 UTC (rev 101478)
@@ -0,0 +1,13 @@
+Test how setCustomValidity reacts to too few arguments.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS b.setCustomValidity() threw exception TypeError: Not enough arguments.
+PASS fs.setCustomValidity() threw exception TypeError: Not enough arguments.
+PASS i.setCustomValidity() threw exception TypeError: Not enough arguments.
+PASS k.setCustomValidity() threw exception TypeError: Not enough arguments.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/fast/forms/setCustomValidity-arguments.html (0 => 101478)
--- trunk/LayoutTests/fast/forms/setCustomValidity-arguments.html (rev 0)
+++ trunk/LayoutTests/fast/forms/setCustomValidity-arguments.html 2011-11-30 11:22:52 UTC (rev 101478)
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<link rel="stylesheet" href=""
+<script src=""
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script>
+description('Test how setCustomValidity reacts to too few arguments.');
+var b = document.createElement('button');
+shouldThrow("b.setCustomValidity()");
+var fs = document.createElement('fieldset');
+shouldThrow("fs.setCustomValidity()");
+var i = document.createElement('input');
+shouldThrow("i.setCustomValidity()");
+var k = document.createElement('keygen');
+shouldThrow("k.setCustomValidity()");
+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