2010-10-15 Martin Robinson <mrobinson@igalia.com>
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Oct 2010 15:56:18 +0000 (15:56 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Oct 2010 15:56:18 +0000 (15:56 +0000)
        Fix my rebaseline sanfu.

        * fast/forms/mailto/advanced-get.html:
        * fast/forms/mailto/advanced-put.html:
        * platform/gtk/fast/forms/mailto/advanced-get-expected.txt: Copied from LayoutTests/fast/forms/mailto/advanced-get-expected.txt.
        * platform/gtk/fast/forms/mailto/advanced-put-expected.txt: Copied from LayoutTests/fast/forms/mailto/advanced-put-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69855 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/forms/mailto/advanced-get.html
LayoutTests/fast/forms/mailto/advanced-put.html
LayoutTests/platform/gtk/fast/forms/mailto/advanced-get-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/fast/forms/mailto/advanced-put-expected.txt [new file with mode: 0644]

index 5d71788..539f3c2 100644 (file)
@@ -1,5 +1,14 @@
 2010-10-15  Martin Robinson  <mrobinson@igalia.com>
 
+        Fix my rebaseline sanfu.
+
+        * fast/forms/mailto/advanced-get.html:
+        * fast/forms/mailto/advanced-put.html:
+        * platform/gtk/fast/forms/mailto/advanced-get-expected.txt: Copied from LayoutTests/fast/forms/mailto/advanced-get-expected.txt.
+        * platform/gtk/fast/forms/mailto/advanced-put-expected.txt: Copied from LayoutTests/fast/forms/mailto/advanced-put-expected.txt.
+
+2010-10-15  Martin Robinson  <mrobinson@igalia.com>
+
         Rebaseline a few other failing tests. They differ because
         dumpAsText output depends on whether or not certain content
         reaches the edge of the view and wraps.
index 35fdd05..9db9040 100644 (file)
@@ -1,4 +1,29 @@
-Policy delegate: attempt to load mailto:?to=to1%40site.com%2Cto2%40site.com%2Cto3%40site.com&cc=cc1%40site.com%2Ccc2%40site.com%2Ccc3%40site.com&bcc=bcc1%40site.com%2Cbcc2%40site.com%2Cbcc3%40site.com&subject=m%26m%3B%3F%3D&body=line1%0D%0Aline2%0D%0Aline3%0D%0Aline4 with navigation type 'form submitted'
-Press Compose button and check that the created e-mail has correct headers and body.
-
-         
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>action="mailto" GET method</title>
+        <script>
+            function test() {
+              if (window.layoutTestController) {
+                layoutTestController.dumpAsText();
+                layoutTestController.waitForPolicyDelegate();
+                document.getElementsByTagName("form")[0].submit();
+              }
+            }
+        </script>
+    </head>
+    <body onload="test()">
+        <p>Press Compose button and check that the created e-mail has correct headers and body.</p>
+        <form action="mailto:" method="get">
+            <input name="to" value="to1@site.com,to2@site.com,to3@site.com">
+            <input name="cc" value="cc1@site.com,cc2@site.com,cc3@site.com">
+            <input name="bcc" value="bcc1@site.com,bcc2@site.com,bcc3@site.com">
+            <input name="subject" value="m&amp;m;?=">
+<textarea name="body">line1
+line2
+line3
+line4</textarea>
+            <input type="submit" value="Compose">
+        </form>
+    </body>
+</html>
index 35fdd05..d2aec50 100644 (file)
@@ -1,4 +1,29 @@
-Policy delegate: attempt to load mailto:?to=to1%40site.com%2Cto2%40site.com%2Cto3%40site.com&cc=cc1%40site.com%2Ccc2%40site.com%2Ccc3%40site.com&bcc=bcc1%40site.com%2Cbcc2%40site.com%2Cbcc3%40site.com&subject=m%26m%3B%3F%3D&body=line1%0D%0Aline2%0D%0Aline3%0D%0Aline4 with navigation type 'form submitted'
-Press Compose button and check that the created e-mail has correct headers and body.
-
-         
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>action="mailto" PUT method</title>
+        <script>
+            function test() {
+              if (window.layoutTestController) {
+                layoutTestController.dumpAsText();
+                layoutTestController.waitForPolicyDelegate();
+                document.getElementsByTagName("form")[0].submit();
+              }
+            }
+        </script>
+    </head>
+    <body onload="test()">
+        <p>Press Compose button and check that the created e-mail has correct headers and body.</p>
+        <form action="mailto:" method="put">
+            <input name="to" value="to1@site.com,to2@site.com,to3@site.com">
+            <input name="cc" value="cc1@site.com,cc2@site.com,cc3@site.com">
+            <input name="bcc" value="bcc1@site.com,bcc2@site.com,bcc3@site.com">
+            <input name="subject" value="m&amp;m;?=">
+<textarea name="body">line1
+line2
+line3
+line4</textarea>
+            <input type="submit" value="Compose">
+        </form>
+    </body>
+</html>
diff --git a/LayoutTests/platform/gtk/fast/forms/mailto/advanced-get-expected.txt b/LayoutTests/platform/gtk/fast/forms/mailto/advanced-get-expected.txt
new file mode 100644 (file)
index 0000000..35fdd05
--- /dev/null
@@ -0,0 +1,4 @@
+Policy delegate: attempt to load mailto:?to=to1%40site.com%2Cto2%40site.com%2Cto3%40site.com&cc=cc1%40site.com%2Ccc2%40site.com%2Ccc3%40site.com&bcc=bcc1%40site.com%2Cbcc2%40site.com%2Cbcc3%40site.com&subject=m%26m%3B%3F%3D&body=line1%0D%0Aline2%0D%0Aline3%0D%0Aline4 with navigation type 'form submitted'
+Press Compose button and check that the created e-mail has correct headers and body.
+
+         
diff --git a/LayoutTests/platform/gtk/fast/forms/mailto/advanced-put-expected.txt b/LayoutTests/platform/gtk/fast/forms/mailto/advanced-put-expected.txt
new file mode 100644 (file)
index 0000000..35fdd05
--- /dev/null
@@ -0,0 +1,4 @@
+Policy delegate: attempt to load mailto:?to=to1%40site.com%2Cto2%40site.com%2Cto3%40site.com&cc=cc1%40site.com%2Ccc2%40site.com%2Ccc3%40site.com&bcc=bcc1%40site.com%2Cbcc2%40site.com%2Cbcc3%40site.com&subject=m%26m%3B%3F%3D&body=line1%0D%0Aline2%0D%0Aline3%0D%0Aline4 with navigation type 'form submitted'
+Press Compose button and check that the created e-mail has correct headers and body.
+
+