[webkit-qt] window.locattion issu in QWebKit

Sergey Shekyan sergio_arm at yahoo.com
Sat Feb 27 22:42:46 PST 2010


Hi all, 

I am not sure if I am asking in the right place. I noticed that if there is a window.location.href through javascript in the html, webkit stops parsing the content as soon as it finds  "window.location =.." pattern, and starts to load the new resource. 
Is there a way to catch that event before it starts to load new resource?

Thanks




________________________________
From: "webkit-qt-request at lists.webkit.org" <webkit-qt-request at lists.webkit.org>
To: webkit-qt at lists.webkit.org
Sent: Sat, February 27, 2010 7:00:03 AM
Subject: webkit-qt Digest, Vol 5, Issue 21

Send webkit-qt mailing list submissions to
    webkit-qt at lists.webkit.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
or, via email, send a message with subject or body 'help' to
    webkit-qt-request at lists.webkit.org

You can reach the person managing the list at
    webkit-qt-owner at lists.webkit.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of webkit-qt digest..."


Today's Topics:

   1. Performance regression in the image_cycling (Holger Freyther)
   2. Re: Performance regression in the image_cycling
      (tonikitoo (Antonio Gomes))
   3. Re: Performance regression in the image_cycling (Holger Freyther)
   4. Re: Performance regression in the image_cycling (Ariya Hidayat)
   5. Re: Performance regression in the image_cycling (Ariya Hidayat)


----------------------------------------------------------------------

Message: 1
Date: Fri, 26 Feb 2010 19:47:57 +0100
From: Holger Freyther <zecke at selfish.org>
To: webkit-qt at lists.webkit.org
Subject: [webkit-qt] Performance regression in the image_cycling
Message-ID: <201002261947.57418.zecke at selfish.org>
Content-Type: text/plain;  charset="iso-8859-1"

Hi All,

I was using some of my spare time to compile Qt origin/master and I was 
executing my image_cycling test case.

I have compared a Qt4.6 build with my public image branch, with a plain 4.7 
build. In both cases same Qt configure switches were used.

One iteration on the test went from 38msec to 104msec. It would be nice if 
someone could confirm this measurement.


z.


------------------------------

Message: 2
Date: Fri, 26 Feb 2010 15:12:17 -0400
From: "tonikitoo (Antonio Gomes)" <tonikitoo at gmail.com>
To: Holger Freyther <zecke at selfish.org>
Cc: webkit-qt at lists.webkit.org
Subject: Re: [webkit-qt] Performance regression in the image_cycling
Message-ID:
    <7eb9ad711002261112g1932058cl98aa60c3a81e404c at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Wow. that is a big jump. If it is as bad as that, I think it might
even be a relase blocker =/

On Fri, Feb 26, 2010 at 2:47 PM, Holger Freyther <zecke at selfish.org> wrote:
> Hi All,
>
> I was using some of my spare time to compile Qt origin/master and I was
> executing my image_cycling test case.
>
> I have compared a Qt4.6 build with my public image branch, with a plain 4.7
> build. In both cases same Qt configure switches were used.
>
> One iteration on the test went from 38msec to 104msec. It would be nice if
> someone could confirm this measurement.
>
>
> z.
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>



-- 
--Antonio Gomes


------------------------------

Message: 3
Date: Fri, 26 Feb 2010 21:16:42 +0100
From: Holger Freyther <zecke at selfish.org>
To: webkit-qt at lists.webkit.org
Subject: Re: [webkit-qt] Performance regression in the image_cycling
Message-ID: <201002262116.43196.zecke at selfish.org>
Content-Type: Text/Plain;  charset="iso-8859-1"

On Friday 26 February 2010 20:12:17 tonikitoo (Antonio Gomes) wrote:
> Wow. that is a big jump. If it is as bad as that, I think it might
> even be a relase blocker =/

Well, it is just image decoding. Our bottlenecks are somewhere else.


The main purposes of this mail were:
    1.) Find someone at Nokia to escalate and look into it.
    2.) Create awareness that doing a perf change without
             looking at runtime and memory consumption is a rather
             bad idea.


z.


------------------------------

Message: 4
Date: Fri, 26 Feb 2010 14:24:32 -0800
From: Ariya Hidayat <ariya.hidayat at gmail.com>
To: webkit-qt at lists.webkit.org
Subject: Re: [webkit-qt] Performance regression in the image_cycling
Message-ID:
    <ba035dd11002261424u642172b2o917d2d29e928700 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I hope this is not due to my commit: http://trac.webkit.org/changeset/54623


------------------------------

Message: 5
Date: Fri, 26 Feb 2010 14:28:03 -0800
From: Ariya Hidayat <ariya.hidayat at gmail.com>
To: webkit-qt at lists.webkit.org
Subject: Re: [webkit-qt] Performance regression in the image_cycling
Message-ID:
    <ba035dd11002261428h297d0454qaf1104cf69af3a00 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

> I hope this is not due to my commit: http://trac.webkit.org/changeset/54623

Never mind, /me can't read properly (it's image_cycling not some page
loading/cycler).


------------------------------

_______________________________________________
webkit-qt mailing list
webkit-qt at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt


End of webkit-qt Digest, Vol 5, Issue 21
****************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100227/dfff5945/attachment.html>


More information about the webkit-qt mailing list