Changeset 27986 in webkit
- Timestamp:
- Nov 23, 2007, 2:19:17 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r27985 r27986 1 2007-11-23 Alexey Proskuryakov <ap@webkit.org> 2 3 Reviewed by Maciej. 4 5 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but 6 not closed (affects digg.com) 7 8 * fast/loader/meta-refresh-vs-open-expected.txt: Added. 9 * fast/loader/meta-refresh-vs-open.html: Added. 10 Test that HTTP refresh never fires if the document stays open indefinitely. 11 12 * fast/loader/redirect-with-open-subframe-expected.txt: Added. 13 * fast/loader/redirect-with-open-subframe.html: Added. 14 * fast/loader/redirect-with-open-subframe-2-expected.txt: Added. 15 * fast/loader/redirect-with-open-subframe-2.html: Added. 16 Test that setting window.location has effect even if the document is open. 17 18 * http/tests/loading/onload-vs-immediate-refresh-expected.txt: Added. 19 * http/tests/loading/onload-vs-immediate-refresh.pl: Added. 20 Test for <rdar://3829452> - HTTP redirect should only happen after onload fires. 21 22 * platform/mac/http/tests/loading/simple-subframe-expected.txt: 23 It seems that there was a line spilled from the previous test that is now in 24 onload-vs-immediate-refresh-expected.txt - despite my efforts, I couldn't get rid of it. 25 1 26 2007-11-23 Dan Bernstein <mitz@apple.com> 2 27 -
trunk/LayoutTests/platform/mac/http/tests/loading/simple-subframe-expected.txt
r25970 r27986 1 1 main frame - didStartProvisionalLoadForFrame 2 frame "f1" - willCloseFrame3 2 main frame - willCloseFrame 4 3 main frame - didCommitLoadForFrame -
trunk/WebCore/ChangeLog
r27985 r27986 1 2007-11-23 Alexey Proskuryakov <ap@webkit.org> 2 3 Reviewed by Maciej. 4 5 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but 6 not closed (affects digg.com) 7 8 Tests: fast/loader/meta-refresh-vs-open.html 9 fast/loader/redirect-with-open-subframe-2.html 10 fast/loader/redirect-with-open-subframe.html 11 http/tests/loading/onload-vs-immediate-refresh.pl 12 13 * loader/FrameLoader.cpp: 14 (WebCore::FrameLoader::scheduleRedirection): Only check whether the load is complete for 15 HTTP redirects - JavaScript-initiated ones are effective immediately. 16 1 17 2007-11-23 Dan Bernstein <mitz@apple.com> 2 18 -
trunk/WebCore/loader/FrameLoader.cpp
r27760 r27986 1809 1809 stopRedirectionTimer(); 1810 1810 m_scheduledRedirection.set(redirection); 1811 if (m_isComplete) 1811 if (!m_isComplete && redirection->type != ScheduledRedirection::redirection) 1812 completed(); 1813 if (m_isComplete || redirection->type != ScheduledRedirection::redirection) 1812 1814 startRedirectionTimer(); 1813 1815 } -
trunk/WebKitTools/ChangeLog
r27975 r27986 1 2007-11-23 Alexey Proskuryakov <ap@webkit.org> 2 3 Reviewed by Maciej. 4 5 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but 6 not closed (affects digg.com) 7 8 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank 9 one after finishing with a test to avoid having its delayed onload handler firing when 10 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog), 11 but it helps somewhat. 12 1 13 2007-11-22 Mark Rowe <mrowe@apple.com> 2 14 -
trunk/WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm
r27971 r27986 875 875 } 876 876 877 [mainFrame loadHTMLString:@"<html></html>" baseURL:[NSURL URLWithString:@"about:blank"]]; 878 [mainFrame stopLoading]; 879 877 880 [pool release]; 878 881
Note:
See TracChangeset
for help on using the changeset viewer.