Variations on theme redirection_anchor (was: kdelibs/khtml)
Koos Vriezen
koos.vriezen at xs4all.nl
Sun Feb 13 18:39:03 GMT 2005
Hi,
Two more regression tests for redirecting to same url. As was pointed
out in the thread in this regression test, there should be a reload if
one sets location.href=same-url and that fails ATM (see
redirection_anchor2.html).
Koos
From: David Faure <faure at kde.org>
To: kde-cvs at kde.org
Date: Sun, 13 Feb 2005 11:26:02 +0100 (CET)
Cc: khtml-cvs at kde.org
Subject: kdelibs/khtml
CVS commit by faure:
No reload should happen when redirecting to sameurl#anchor via Javascript or
META refresh. This happened due to the setRedirectedRequest(true), which
wasn't necessary for the webmin tree.cgi fix - setRedirectedRequest is called
by KonqRun for that one.
The other redirectedRequest check was used for adding cross-domain, I simply
moved that code from urlSelected to slotRedirect.
Waldo: please check but AFAICS this keeps the same cross-domain logic as before.
Testcases in tests/ecma/redirection* (but no testcase for the webmin issue since
it needs a HTTP redirect)
M +9 -0 ChangeLog 1.375
M +19 -25 khtml_part.cpp 1.1090
_______________________________________________
Khtml-cvs mailing list
Khtml-cvs at kde.org
https://mail.kde.org/mailman/listinfo/khtml-cvs
----- End forwarded message -----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050213/bd0da20f/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050213/bd0da20f/attachment-0001.html>
More information about the kfm-devel
mailing list