Bug 85969

Summary: New http/tests/loading/post-in-iframe-with-back-navigation.html introduced in r116473 fails
Product: WebKit Reporter: Zoltan Arvai <zarvai>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, darin, jonlee, koivisto, ossy, rniwa, simon.fraser, skyul
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 82658, 87008    

Description Zoltan Arvai 2012-05-09 02:10:23 PDT
New test added in http://trac.webkit.org/changeset/116473 fails on bots.
Comment 1 Csaba Osztrogon√°c 2012-05-09 02:12:24 PDT
It isn't Qt specific, it fails on all platform.
Comment 2 Chris Dumez 2012-05-09 03:07:18 PDT
Yes, we have the same issue on EFL port.
Comment 3 Csaba Osztrogon√°c 2012-05-09 03:11:54 PDT
cc the author and the reviewer of the original change.

fail on Snow Leopard
----------------------

--- /Volumes/Data/slave/snowleopard-intel-release-tests/build/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-expected.txt 
+++ /Volumes/Data/slave/snowleopard-intel-release-tests/build/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-actual.txt 
@@ -2,12 +2,12 @@
 main frame - didCommitLoadForFrame
 main frame - didReceiveTitle: Resending form on back navigation from POST submissions
 frame "frame" - didStartProvisionalLoadForFrame
+main frame - didFinishDocumentLoadForFrame
 frame "frame" - didCommitLoadForFrame
 frame "frame" - didFinishDocumentLoadForFrame
 frame "frame" - didHandleOnloadEventsForFrame
+main frame - didHandleOnloadEventsForFrame
 frame "frame" - didFinishLoadForFrame
-main frame - didFinishDocumentLoadForFrame
-main frame - didHandleOnloadEventsForFrame
 main frame - didFinishLoadForFrame
 frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-2.php 
 frame "frame" - didStartProvisionalLoadForFrame
@@ -40,5 +40,5 @@
 PASS getTitle() is "Page 2"
 PASS getTitle() is "Page 3"
 PASS getTitle() is "Page 2"
-PASS window.frames[0].document.getElementById('submissionTime').innerText is step2output
+FAIL window.frames[0].document.getElementById('submissionTime').innerText should be 0.18471200 1336552678. Was 0.19891300 1336552678.
 

fail on Lion
-------------

--- /Volumes/Data/slave/lion-intel-release-tests/build/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-expected.txt
+++ /Volumes/Data/slave/lion-intel-release-tests/build/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-actual.txt
@@ -40,5 +40,5 @@
 PASS getTitle() is "Page 2"
 PASS getTitle() is "Page 3"
 PASS getTitle() is "Page 2"
-PASS window.frames[0].document.getElementById('submissionTime').innerText is step2output
+FAIL window.frames[0].document.getElementById('submissionTime').innerText should be 0.74512600 1336557501. Was 0.75925900 1336557501.
 

fail on GTK
------------

--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-expected.txt 
+++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-actual.txt 
@@ -1,28 +1,13 @@
 main frame - didStartProvisionalLoadForFrame
 main frame - didCommitLoadForFrame
-main frame - didReceiveTitle: Resending form on back navigation from POST submissions
 frame "frame" - didStartProvisionalLoadForFrame
+main frame - didFinishDocumentLoadForFrame
 frame "frame" - didCommitLoadForFrame
 frame "frame" - didFinishDocumentLoadForFrame
 frame "frame" - didHandleOnloadEventsForFrame
+main frame - didHandleOnloadEventsForFrame
 frame "frame" - didFinishLoadForFrame
-main frame - didFinishDocumentLoadForFrame
-main frame - didHandleOnloadEventsForFrame
 main frame - didFinishLoadForFrame
-frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-2.php 
-frame "frame" - didStartProvisionalLoadForFrame
-frame "frame" - didCancelClientRedirectForFrame
-frame "frame" - didCommitLoadForFrame
-frame "frame" - didFinishDocumentLoadForFrame
-frame "frame" - didHandleOnloadEventsForFrame
-frame "frame" - didFinishLoadForFrame
-frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-3.php 
-frame "frame" - didStartProvisionalLoadForFrame
-frame "frame" - didCancelClientRedirectForFrame
-frame "frame" - didCommitLoadForFrame
-frame "frame" - didFinishDocumentLoadForFrame
-frame "frame" - didHandleOnloadEventsForFrame
-frame "frame" - didFinishLoadForFrame
 frame "frame" - didStartProvisionalLoadForFrame
 frame "frame" - didCommitLoadForFrame
 frame "frame" - didFinishDocumentLoadForFrame
@@ -38,7 +23,4 @@
 TEST COMPLETE
 PASS getTitle() is "Page 1"
 PASS getTitle() is "Page 2"
-PASS getTitle() is "Page 3"
-PASS getTitle() is "Page 2"
-PASS window.frames[0].document.getElementById('submissionTime').innerText is step2output
 

fail on Qt
-----------

--- /ramdisk/qt-linux-release/build/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-expected.txt 
+++ /ramdisk/qt-linux-release/build/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-actual.txt 
@@ -2,12 +2,12 @@
 main frame - didCommitLoadForFrame
 main frame - didReceiveTitle: Resending form on back navigation from POST submissions
 frame "frame" - didStartProvisionalLoadForFrame
+main frame - didFinishDocumentLoadForFrame
 frame "frame" - didCommitLoadForFrame
 frame "frame" - didFinishDocumentLoadForFrame
 frame "frame" - didHandleOnloadEventsForFrame
+main frame - didHandleOnloadEventsForFrame
 frame "frame" - didFinishLoadForFrame
-main frame - didFinishDocumentLoadForFrame
-main frame - didHandleOnloadEventsForFrame
 main frame - didFinishLoadForFrame
 frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-2.php 
 frame "frame" - didStartProvisionalLoadForFrame
@@ -40,5 +40,5 @@
 PASS getTitle() is "Page 2"
 PASS getTitle() is "Page 3"
 PASS getTitle() is "Page 2"
-PASS window.frames[0].document.getElementById('submissionTime').innerText is step2output
+FAIL window.frames[0].document.getElementById('submissionTime').innerText should be 0.69080900 1336557483. Was 0.69855800 1336557483.
Comment 4 Antti Koivisto 2012-05-09 08:16:02 PDT
Skipped for Mac in http://trac.webkit.org/changeset/116524
Comment 5 Simon Fraser (smfr) 2012-09-19 16:42:00 PDT
Still fails on Mac:

--- /Volumes/SSData/Development/OSX/webkit/OpenSource/WebKitBuild/Debug/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-expected.txt
+++ /Volumes/SSData/Development/OSX/webkit/OpenSource/WebKitBuild/Debug/layout-test-results/http/tests/loading/post-in-iframe-with-back-navigation-actual.txt
@@ -2,12 +2,12 @@
 main frame - didCommitLoadForFrame
 main frame - didReceiveTitle: Resending form on back navigation from POST submissions
 frame "frame" - didStartProvisionalLoadForFrame
+main frame - didFinishDocumentLoadForFrame
 frame "frame" - didCommitLoadForFrame
 frame "frame" - didFinishDocumentLoadForFrame
 frame "frame" - didHandleOnloadEventsForFrame
+main frame - didHandleOnloadEventsForFrame
 frame "frame" - didFinishLoadForFrame
-main frame - didFinishDocumentLoadForFrame
-main frame - didHandleOnloadEventsForFrame
 main frame - didFinishLoadForFrame
 frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-2.php 
 frame "frame" - didStartProvisionalLoadForFrame
Comment 6 Kwang Yul Seo 2013-02-07 15:35:20 PST
It seems this case no longer fails on GTK in r142092.
Comment 7 Ryosuke Niwa 2013-05-22 17:40:42 PDT
Still fails on Mac.