[webkit-help] Current URL page in createView

Freerunner Alex freerunneralex at yandex.ru
Tue Jun 7 04:17:58 PDT 2011


Hello.
How can I get the url loading pages in Frame::createView?
I tried to get in such a way:

void  Frame::createView(....)
{

//
KURL currentUrl = frameView->frame()->loader()->url();

    if (isMainFrame) {
        // The code which displays the url to the console
    }

//

}

But I keep getting the address of the previous page.

Tell me please what could be the problem?

Best regards, Alex.


More information about the webkit-help mailing list