Title: [132654] trunk/LayoutTests
Revision
132654
Author
commit-qu...@webkit.org
Date
2012-10-26 07:43:32 -0700 (Fri, 26 Oct 2012)

Log Message

[WK2] should enable two postredirect tests
https://bugs.webkit.org/show_bug.cgi?id=100508

Unreviewed gardening.

The EFL results for these tests seem to have been wrong from the beginning.
Update expected results, enable tests for WK2 (based on comment in
TestExpectations these were skipped because efl failed).

Patch by Jussi Kukkonen <jussi.kukko...@intel.com> on 2012-10-26

* platform/efl/http/tests/navigation/postredirect-basic-expected.png:
* platform/efl/http/tests/navigation/postredirect-basic-expected.txt:
* platform/efl/http/tests/navigation/postredirect-goback1-expected.png:
* platform/efl/http/tests/navigation/postredirect-goback1-expected.txt:
* platform/wk2/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (132653 => 132654)


--- trunk/LayoutTests/ChangeLog	2012-10-26 14:30:12 UTC (rev 132653)
+++ trunk/LayoutTests/ChangeLog	2012-10-26 14:43:32 UTC (rev 132654)
@@ -1,3 +1,20 @@
+2012-10-26  Jussi Kukkonen  <jussi.kukko...@intel.com>
+
+        [WK2] should enable two postredirect tests
+        https://bugs.webkit.org/show_bug.cgi?id=100508
+
+        Unreviewed gardening.
+
+        The EFL results for these tests seem to have been wrong from the beginning.
+        Update expected results, enable tests for WK2 (based on comment in
+        TestExpectations these were skipped because efl failed).
+
+        * platform/efl/http/tests/navigation/postredirect-basic-expected.png:
+        * platform/efl/http/tests/navigation/postredirect-basic-expected.txt:
+        * platform/efl/http/tests/navigation/postredirect-goback1-expected.png:
+        * platform/efl/http/tests/navigation/postredirect-goback1-expected.txt:
+        * platform/wk2/TestExpectations:
+
 2012-10-26  Raphael Kubo da Costa  <raphael.kubo.da.co...@intel.com>
 
         [EFL] Skip a few tests which produce wrong pixel expectations.

Modified: trunk/LayoutTests/platform/efl/http/tests/navigation/postredirect-basic-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/platform/efl/http/tests/navigation/postredirect-basic-expected.txt (132653 => 132654)


--- trunk/LayoutTests/platform/efl/http/tests/navigation/postredirect-basic-expected.txt	2012-10-26 14:30:12 UTC (rev 132653)
+++ trunk/LayoutTests/platform/efl/http/tests/navigation/postredirect-basic-expected.txt	2012-10-26 14:43:32 UTC (rev 132654)
@@ -1,110 +1,28 @@
-layer at (0,0) size 785x1666
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x1666
-  RenderBlock {HTML} at (0,0) size 785x1666
-    RenderBody {BODY} at (8,8) size 769x1626
-      RenderBlock (anonymous) at (0,0) size 769x259
-        RenderText {#text} at (0,0) size 749x184
-          text run at (0,0) width 676: "This is test page that we navigate to as part of testing"
-          text run at (0,37) width 333: "various navigation styles. "
-          text run at (333,37) width 416: "It includes a form so that we can"
-          text run at (0,74) width 717: "test saving and restoring of form data, and it needs to be"
-          text run at (0,111) width 745: "long enough that we can test saving and restoring of scroll"
-          text run at (0,148) width 119: "position. "
-        RenderBR {BR} at (119,177) size 0x0
-        RenderBR {BR} at (0,185) size 0x36
-        RenderBR {BR} at (0,222) size 0x36
-      RenderBlock {HR} at (0,275) size 769x2 [border: (1px inset #000000)]
-      RenderBlock {FORM} at (0,293) size 769x540
-        RenderButton {INPUT} at (2,2) size 161x36 [color=#202020]
-          RenderBlock (anonymous) at (15,8) size 131x18
-            RenderText at (0,0) size 131x19
-              text run at (0,0) width 131: "Submit with POST"
-        RenderBR {BR} at (165,25) size 0x0
-        RenderButton {INPUT} at (2,42) size 316x36 [color=#202020]
-          RenderBlock (anonymous) at (15,8) size 286x18
-            RenderText at (0,0) size 286x19
-              text run at (0,0) width 286: "Submit with POST followed by a redirect"
-        RenderBR {BR} at (320,65) size 0x0
-        RenderText {#text} at (0,80) size 376x36
-          text run at (0,80) width 376: "Here are some form elements"
-        RenderTextControl {INPUT} at (378,88) size 195x28 [color=#202020]
-        RenderBR {BR} at (575,109) size 0x0
-        RenderText {#text} at (0,118) size 334x36
-          text run at (0,118) width 334: "that we can use for testing"
-        RenderTextControl {INPUT} at (336,126) size 195x28 [color=#202020]
-          RenderBlock {DIV} at (4,6) size 188x18
-        RenderBR {BR} at (533,147) size 0x0
-        RenderBlock {INPUT} at (4,176) size 12x12
-        RenderText {#text} at (20,156) size 73x36
-          text run at (20,156) width 73: " Male"
-        RenderBR {BR} at (93,185) size 0x0
-        RenderBlock {INPUT} at (4,213) size 12x12
-        RenderText {#text} at (20,193) size 102x36
-          text run at (20,193) width 102: " Female"
-        RenderBR {BR} at (122,222) size 0x0
-        RenderBlock {INPUT} at (4,250) size 12x12
-        RenderText {#text} at (20,230) size 130x36
-          text run at (20,230) width 130: " option #1"
-        RenderBR {BR} at (150,259) size 0x0
-        RenderBlock {INPUT} at (4,287) size 12x12
-        RenderText {#text} at (20,267) size 130x36
-          text run at (20,267) width 130: " option #2"
-        RenderBR {BR} at (150,296) size 0x0
-        RenderMenuList {SELECT} at (2,306) size 355x38 [color=#202020]
-          RenderBlock (anonymous) at (15,10) size 299x18
-            RenderText at (0,0) size 299x19
-              text run at (0,0) width 299: "Value set by User that should be Restored"
-        RenderBR {BR} at (359,331) size 0x0
-        RenderText {#text} at (0,0) size 0x0
-      RenderBlock {HR} at (0,865) size 769x2 [border: (1px inset #000000)]
-      RenderBlock {P} at (0,899) size 769x37
-        RenderText {#text} at (0,0) size 62x36
-          text run at (0,0) width 62: "Now"
-      RenderBlock {P} at (0,968) size 769x37
-        RenderText {#text} at (0,0) size 67x36
-          text run at (0,0) width 67: "some"
-      RenderBlock {P} at (0,1037) size 769x37
-        RenderText {#text} at (0,0) size 63x36
-          text run at (0,0) width 63: "filler"
-      RenderBlock {P} at (0,1106) size 769x37
-        RenderText {#text} at (0,0) size 28x36
-          text run at (0,0) width 28: "so"
-      RenderBlock {P} at (0,1175) size 769x37
-        RenderText {#text} at (0,0) size 39x36
-          text run at (0,0) width 39: "the"
-      RenderBlock {P} at (0,1244) size 769x37
-        RenderText {#text} at (0,0) size 46x36
-          text run at (0,0) width 46: "doc"
-      RenderBlock {P} at (0,1313) size 769x37
-        RenderText {#text} at (0,0) size 21x36
-          text run at (0,0) width 21: "is"
-      RenderBlock {P} at (0,1382) size 769x37
-        RenderText {#text} at (0,0) size 57x36
-          text run at (0,0) width 57: "long"
-      RenderBlock {P} at (0,1451) size 769x37
-        RenderText {#text} at (0,0) size 94x36
-          text run at (0,0) width 94: "enough"
-      RenderBlock {P} at (0,1520) size 769x37
-        RenderText {#text} at (0,0) size 112x36
-          text run at (0,0) width 112: "to scroll."
-      RenderBlock {P} at (0,1589) size 769x37
-        RenderInline {A} at (0,0) size 531x36
-          RenderText {#text} at (0,0) size 531x36
-            text run at (0,0) width 531: "This is an anchor point named \"anchor1\"."
-layer at (390,395) size 188x18 scrollHeight 19
-  RenderBlock {DIV} at (4,6) size 188x18
-    RenderText {#text} at (1,0) size 167x19
-      text run at (1,0) width 167: "New form text from user"
-layer at (10,649) size 292x190
-  RenderTextControl {TEXTAREA} at (2,348) size 292x190 [color=#202020]
-    RenderBlock {DIV} at (4,6) size 285x54
-      RenderText {#text} at (0,0) size 284x55
-        text run at (0,0) width 284: "More new form text from user, which sho"
-        text run at (0,18) width 278: "uld be restored when we return to this p"
-        text run at (0,36) width 31: "age."
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderText {#text} at (0,0) size 747x73
+        text run at (0,0) width 747: "This is just a minimal page that we navigate in response to"
+        text run at (0,37) width 222: "an HTTP POST. "
+      RenderBR {BR} at (0,0) size 0x0
+      RenderBR {BR} at (0,74) size 0x36
+      RenderText {#text} at (0,111) size 763x110
+        text run at (0,111) width 743: "If the next line is empty after the colon, it probably means"
+        text run at (0,148) width 178: "that we made "
+        text run at (178,148) width 585: "a mistake and requested this page with a GET"
+        text run at (0,185) width 436: "with no query instead of a POST. "
+      RenderBR {BR} at (0,0) size 0x0
+      RenderBR {BR} at (0,222) size 0x36
+      RenderText {#text} at (0,259) size 709x36
+        text run at (0,259) width 709: "The first text field contained: New form text from user "
+      RenderBR {BR} at (0,0) size 0x0
+      RenderText {#text} at (0,296) size 575x36
+        text run at (0,296) width 575: "This page was requested with an HTTP GET"
 
 ============== Back Forward List ==============
         http://127.0.0.1:8000/navigation/postredirect-basic.html  **nav target**
-curr->  http://127.0.0.1:8000/navigation/resources/success200.html  **nav target**
+        http://127.0.0.1:8000/navigation/resources/success200.html  **nav target**
+curr->  http://127.0.0.1:8000/navigation/resources/postresult.pl?submitwithpostredirect=Submit%20with%20POST%20followed%20by%20a%20redirect&textfield1=New%20form%20text%20from%20user&textfield2=&radiogroup1=female&checkbox2=on&selectgroup1=fiat&textarea1=More%20new%20form%20text%20from%20user%2C%20which%20should%20be%20restored%20when%20we%20return%20to%20this%20page.&redirectHappened=true  **nav target**
 ===============================================

Modified: trunk/LayoutTests/platform/efl/http/tests/navigation/postredirect-goback1-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/platform/efl/http/tests/navigation/postredirect-goback1-expected.txt (132653 => 132654)


--- trunk/LayoutTests/platform/efl/http/tests/navigation/postredirect-goback1-expected.txt	2012-10-26 14:30:12 UTC (rev 132653)
+++ trunk/LayoutTests/platform/efl/http/tests/navigation/postredirect-goback1-expected.txt	2012-10-26 14:43:32 UTC (rev 132654)
@@ -1,115 +1,29 @@
-layer at (0,0) size 785x1666
-  RenderView at (0,0) size 785x600
-layer at (0,0) size 785x1666
-  RenderBlock {HTML} at (0,0) size 785x1666
-    RenderBody {BODY} at (8,8) size 769x1626
-      RenderBlock (anonymous) at (0,0) size 769x259
-        RenderText {#text} at (0,0) size 749x184
-          text run at (0,0) width 676: "This is test page that we navigate to as part of testing"
-          text run at (0,37) width 333: "various navigation styles. "
-          text run at (333,37) width 416: "It includes a form so that we can"
-          text run at (0,74) width 717: "test saving and restoring of form data, and it needs to be"
-          text run at (0,111) width 745: "long enough that we can test saving and restoring of scroll"
-          text run at (0,148) width 119: "position. "
-        RenderBR {BR} at (119,177) size 0x0
-        RenderBR {BR} at (0,185) size 0x36
-        RenderBR {BR} at (0,222) size 0x36
-      RenderBlock {HR} at (0,275) size 769x2 [border: (1px inset #000000)]
-      RenderBlock {FORM} at (0,293) size 769x540
-        RenderButton {INPUT} at (2,2) size 161x36 [bgcolor=#C0C0C0]
-          RenderBlock (anonymous) at (15,8) size 131x18
-            RenderText at (0,0) size 131x19
-              text run at (0,0) width 131: "Submit with POST"
-        RenderBR {BR} at (165,25) size 0x0
-        RenderButton {INPUT} at (2,42) size 316x36 [bgcolor=#C0C0C0]
-          RenderBlock (anonymous) at (15,8) size 286x18
-            RenderText at (0,0) size 286x19
-              text run at (0,0) width 286: "Submit with POST followed by a redirect"
-        RenderBR {BR} at (320,65) size 0x0
-        RenderText {#text} at (0,80) size 376x36
-          text run at (0,80) width 376: "Here are some form elements"
-        RenderTextControl {INPUT} at (378,88) size 193x28 [bgcolor=#FFFFFF]
-        RenderBR {BR} at (573,109) size 0x0
-        RenderText {#text} at (0,118) size 334x36
-          text run at (0,118) width 334: "that we can use for testing"
-        RenderTextControl {INPUT} at (336,126) size 193x28 [bgcolor=#FFFFFF]
-        RenderBR {BR} at (531,147) size 0x0
-        RenderBlock {INPUT} at (4,176) size 12x12
-        RenderText {#text} at (20,156) size 73x36
-          text run at (20,156) width 73: " Male"
-        RenderBR {BR} at (93,185) size 0x0
-        RenderBlock {INPUT} at (4,213) size 12x12
-        RenderText {#text} at (20,193) size 102x36
-          text run at (20,193) width 102: " Female"
-        RenderBR {BR} at (122,222) size 0x0
-        RenderBlock {INPUT} at (4,250) size 12x12
-        RenderText {#text} at (20,230) size 130x36
-          text run at (20,230) width 130: " option #1"
-        RenderBR {BR} at (150,259) size 0x0
-        RenderBlock {INPUT} at (4,287) size 12x12
-        RenderText {#text} at (20,267) size 130x36
-          text run at (20,267) width 130: " option #2"
-        RenderBR {BR} at (150,296) size 0x0
-        RenderMenuList {SELECT} at (2,306) size 355x38 [bgcolor=#FFFFFF]
-          RenderBlock (anonymous) at (15,10) size 299x18
-            RenderText at (0,0) size 299x19
-              text run at (0,0) width 299: "Value set by User that should be Restored"
-        RenderBR {BR} at (359,331) size 0x0
-        RenderText {#text} at (0,0) size 0x0
-      RenderBlock {HR} at (0,865) size 769x2 [border: (1px inset #000000)]
-      RenderBlock {P} at (0,899) size 769x37
-        RenderText {#text} at (0,0) size 62x36
-          text run at (0,0) width 62: "Now"
-      RenderBlock {P} at (0,968) size 769x37
-        RenderText {#text} at (0,0) size 67x36
-          text run at (0,0) width 67: "some"
-      RenderBlock {P} at (0,1037) size 769x37
-        RenderText {#text} at (0,0) size 63x36
-          text run at (0,0) width 63: "filler"
-      RenderBlock {P} at (0,1106) size 769x37
-        RenderText {#text} at (0,0) size 28x36
-          text run at (0,0) width 28: "so"
-      RenderBlock {P} at (0,1175) size 769x37
-        RenderText {#text} at (0,0) size 39x36
-          text run at (0,0) width 39: "the"
-      RenderBlock {P} at (0,1244) size 769x37
-        RenderText {#text} at (0,0) size 46x36
-          text run at (0,0) width 46: "doc"
-      RenderBlock {P} at (0,1313) size 769x37
-        RenderText {#text} at (0,0) size 21x36
-          text run at (0,0) width 21: "is"
-      RenderBlock {P} at (0,1382) size 769x37
-        RenderText {#text} at (0,0) size 57x36
-          text run at (0,0) width 57: "long"
-      RenderBlock {P} at (0,1451) size 769x37
-        RenderText {#text} at (0,0) size 94x36
-          text run at (0,0) width 94: "enough"
-      RenderBlock {P} at (0,1520) size 769x37
-        RenderText {#text} at (0,0) size 112x36
-          text run at (0,0) width 112: "to scroll."
-      RenderBlock {P} at (0,1589) size 769x37
-        RenderInline {A} at (0,0) size 531x36
-          RenderText {#text} at (0,0) size 531x36
-            text run at (0,0) width 531: "This is an anchor point named \"anchor1\"."
-layer at (390,395) size 186x18 scrollHeight 19
-  RenderBlock {DIV} at (4,6) size 186x18
-    RenderText {#text} at (0,0) size 167x19
-      text run at (0,0) width 167: "New form text from user"
-layer at (348,433) size 186x18
-  RenderBlock {DIV} at (4,6) size 186x18
-layer at (10,649) size 292x190
-  RenderTextControl {TEXTAREA} at (2,348) size 292x190 [bgcolor=#FFFFFF]
-    RenderBlock {DIV} at (4,6) size 285x54
-      RenderText {#text} at (0,0) size 266x55
-        text run at (0,0) width 254: "More new form text from user, which"
-        text run at (254,0) width 4: " "
-        text run at (0,18) width 262: "should be restored when we return to"
-        text run at (262,18) width 4: " "
-        text run at (0,36) width 69: "this page."
-scrolled to 0,50
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderText {#text} at (0,0) size 747x73
+        text run at (0,0) width 747: "This is just a minimal page that we navigate in response to"
+        text run at (0,37) width 222: "an HTTP POST. "
+      RenderBR {BR} at (0,0) size 0x0
+      RenderBR {BR} at (0,74) size 0x36
+      RenderText {#text} at (0,111) size 763x110
+        text run at (0,111) width 743: "If the next line is empty after the colon, it probably means"
+        text run at (0,148) width 178: "that we made "
+        text run at (178,148) width 585: "a mistake and requested this page with a GET"
+        text run at (0,185) width 436: "with no query instead of a POST. "
+      RenderBR {BR} at (0,0) size 0x0
+      RenderBR {BR} at (0,222) size 0x36
+      RenderText {#text} at (0,259) size 709x36
+        text run at (0,259) width 709: "The first text field contained: New form text from user "
+      RenderBR {BR} at (0,0) size 0x0
+      RenderText {#text} at (0,296) size 575x36
+        text run at (0,296) width 575: "This page was requested with an HTTP GET"
 
 ============== Back Forward List ==============
         http://127.0.0.1:8000/navigation/postredirect-goback1.html  **nav target**
-curr->  http://127.0.0.1:8000/navigation/resources/success200.html  **nav target**
+        http://127.0.0.1:8000/navigation/resources/success200.html  **nav target**
+curr->  http://127.0.0.1:8000/navigation/resources/postresult.pl?submitwithpostredirect=Submit%20with%20POST%20followed%20by%20a%20redirect&textfield1=New%20form%20text%20from%20user&textfield2=&radiogroup1=female&checkbox2=on&selectgroup1=fiat&textarea1=More%20new%20form%20text%20from%20user%2C%20which%20should%20be%20restored%20when%20we%20return%20to%20this%20page.&redirectHappened=true  **nav target**
         http://127.0.0.1:8000/navigation/resources/otherpage.html  **nav target**
 ===============================================

Modified: trunk/LayoutTests/platform/wk2/TestExpectations (132653 => 132654)


--- trunk/LayoutTests/platform/wk2/TestExpectations	2012-10-26 14:30:12 UTC (rev 132653)
+++ trunk/LayoutTests/platform/wk2/TestExpectations	2012-10-26 14:43:32 UTC (rev 132654)
@@ -720,10 +720,6 @@
 http/tests/navigation/success200-subframeload.html
 http/tests/navigation/timerredirect-subframeload.html
 
-# Redirected to unexpected page. Might be EFL port specific issue.
-http/tests/navigation/postredirect-basic.html
-http/tests/navigation/postredirect-goback1.html
-
 # Unexpected output from scrolling. Might be EFL port specific issue.
 http/tests/navigation/relativeanchor-frames.html
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to