[Webkit-unassigned] [Bug 25867] [QT] Implement original_url getter method to the API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 12:16:00 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25867





--- Comment #20 from Antonio Gomes (tonikitoo) <tonikitoo at gmail.com>  2009-07-28 12:15:59 PDT ---
(In reply to comment #19)
> Why the check for d->frameLoaderClient->m_loadSucceeded when deciding which url
> to return?

mwenge, when the load is not successful (e.g. user loads an non-existent url)
the d->loader()->activeDocumentLoader stays referring the latest successful
load (not to the latest failing one). so we could not query the originalUrl off
of it.

please see details in bug 27444 .

given that, I used this m_loadSucceeded flag to identify if the load was
successful or not. If it is not, we do a special handler for it.

> This check happens to break my use-case of this feature, which is to handle SSL
> failures that occur as the result of redirects (e.g. https://hotmail.com). When
> the failure occurs m_loadSucceeded is not yet true, and won't be until the ssl
> failure is accepted by the user.

so it is not TRUE yet BUT load has not finished ... hum ... right I will think
of something for it. we could have another bug for it, maybe

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list