[webkit-qt] How to access included js files in the DOM
Sergey Shekyan
sergio_arm at yahoo.com
Tue Nov 29 20:24:36 PST 2011
Hi there.
Is there a way to access external javascript through QWebElement or something else ?
On Nov 29, 2011, at 8:10 PM, webkit-qt-request at lists.webkit.org wrote:
> 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. ??: about concurrent http connection restriction (???)
> 2. Re: Minutes from the Status Meeting in #qtwebkit on Freenode
> IRC network (Alexis Menard)
> 3. Where to put my plugin so library when I do test using the QT
> TEST BROWSER? (Jeffrey Hua)
> 4. Re: Minutes from the Status Meeting in #qtwebkit on Freenode
> IRC network (Rafael Brandao)
> 5. Re: Where to put my plugin so library when I do test using
> the QT TEST BROWSER? (Jeffrey Hua)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 30 Nov 2011 09:22:42 +0800
> From: ??? <chenmh at cn.fujitsu.com>
> To: "'Jocelyn Turcotte'" <jocelyn.turcotte at nokia.com>
> Cc: webkit-qt at lists.webkit.org
> Subject: [webkit-qt] ??: about concurrent http connection restriction
> Message-ID: <006201ccaefe$8ef5ee70$a68ca70a at chenminhua>
> Content-Type: text/plain; charset="gb2312"
>
> Hello Jocelyn,
>
> This really helps me to understand the connection handling in Qtwebkit,
> thanks a lot.
>
> All the best!
>
>> -----????-----
>> ???: Jocelyn Turcotte [mailto:jocelyn.turcotte at nokia.com]
>> ????: 2011?11?29? 20:26
>> ???: ext ???
>> ??: webkit-qt at lists.webkit.org
>> ??: Re: [webkit-qt] about concurrent http connection restriction
>>
>> Hello,
>> comments below.
>>
>> On Tue, 29 Nov 2011 14:21:27 +0800
>> ext ??? <chenmh at cn.fujitsu.com> wrote:
>>
>>> Hello everyone?
>>>
>>> I just want to figure out how Qtwebkit handle for concurrent http
> connections,
>> and I have found some relevant code from file "ResourceRequestQt.cpp. The
> code
>> is as follows, but I can't understand it well.
>>>
>>> // Currently Qt allows three connections per host on symbian and six
>>> // for everyone else. The limit can be found in
> qhttpnetworkconnection.cpp.
>>> // To achieve the best result we want WebKit to schedule the jobs so we
>>> // are using the limit as found in Qt. To allow Qt to fill its queue
>>> // and prepare jobs we will schedule two more downloads.
>>> // Per TCP connection there is 1 current processed, 3 possibly pipelined
>>> // and 2 ready to re-fill the pipeline.
>>> unsigned initializeMaximumHTTPConnectionCountPerHost()
>>> {
>>> #ifdef Q_OS_SYMBIAN
>>> return 3 * (1 + 3 + 2);
>>> #else
>>> return 6 * (1 + 3 + 2);
>>> #endif
>>> }
>>>
>>> My question is as follows:
>>> 1. Does the maximum number of concurrent http connection for each host
> equal
>> to 36?
>> The name of this WebCore methods can be misleading, the roles of each is
> that
>> WebCore sends requests to Qt, and Qt establish connections to send those
>> requests. So in this case, there would be maximum 36 requests distributed
> on
>> 6 parallel connections to each host. If more requests are pending, WebCore
> will
>> keep them for itself instead of throwing all of them at Qt.
>>
>>> 2. Is there any restriction for overall number of http connection that
> can
>> be hold by Qtwebkit at any time?
>> I didn't verify but I think we don't, though the OS might have some limits
> of
>> its own.
>>
>>> 3. Http 1.1 has a concept called "persistent connection", does QtWebkit
>> support this feature? If so? what's the relationship between the number
> of
>> http request& reponse that have been made and the number of tcp sockets
>> established?
>> The 6 parallel connections per host held by QNetworkAccessManager are
>> persistent connections, when a pending request is fed to Qt, any already
> opened
>> connection will be used if available instead of establishing a new one.
>>
>>> Does anybody can help me solve this problem?
>>> Thank you very much.
>> Hope this helps.
>>
>> Jocelyn
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 29 Nov 2011 23:21:20 -0300
> From: Alexis Menard <alexis.menard at openbossa.org>
> To: Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org>
> Cc: QtWebkit Mailing List <webkit-qt at lists.webkit.org>
> Subject: Re: [webkit-qt] Minutes from the Status Meeting in #qtwebkit
> on Freenode IRC network
> Message-ID:
> <CACh0f5g5tjpk1Ua4bXeLoX233eL7s_vjPvFB8ynNuB1GMUCxag at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> darktears status : traveling to dev days, worked on the navigation
> history. Will upload something today or tomorrow :p
>
> On Tue, Nov 29, 2011 at 2:11 PM, Caio Marcelo de Oliveira Filho
> <caio.oliveira at openbossa.org> wrote:
>> The bot had a trouble sending the email today :)
>>
>> Updates:
>> * hugopl status: Qt-WTR doesn't send the last mouse event if we have a
>> leapForward call before, prepare a patch + test for it.
>> * torarne status: random buildsystem stuff
>> * zalbisser status: playing with distcc and bonjour
>> * jturcotte status: fixing the build in scratchbox.
>> * cmarcelo status: popupmenu in qml, opengl stuff now in background
>> * andris88 status: I tried build Qt5 to ARM
>> * igoroliveira status: fixing failing transition layout test after AC
>> animations patch
>> * rtakacs status: try to make parallel gc on QT platform
>> * zherczeg status: debugging webworkers
>> * zalan status: looking at the qmltest failure about about the zero
>> sized viewport.
>> * Smith status I try to fix my pixel_test/unittest patch
>> * Zoltan status: profiling TextDecoders with gprof
>> * jeez_ status: fixed panning, looking for a clean way to avoid
>> downloads. Later, perhaps, the final episode of The Art of Refactoring
>> QtWebPageProxy.
>> * loki04 status: updated meta package at
>> https://launchpad.net/~u-szeged/+archive/sedkit
>> * azbest_hu status successfully built Harmattan environment with
>> Resworb Scripts
>> * Savago status new patch for #59200
>> * akiss status fiddling around with Amazon AWS: created account and
>> users to experiment with bots in the cloud
>> * reni status: making external resources work in SVG
>> * kling status: debugging an element cloning regression
>> * bbandix status: pushing flickable patches to gerrit, continuous
>> struggle with scratchbox to be able to test the toolbar+pinch usecase
>> on the device
>> * hnandor status: implementing dumpWillResponseCallback method in
>> LayoutTestControllerQt.cpp
>> * tronical_ status: messing with V8
>> * tronical status: messing with V8
>> * ahf status Rebasing my patches on top of trunk and thus upgrading qt
>> * kenneth_ status: working on suspend/resume
>> * laknudse status just got my machine up and running again (wiped) :-(
>> - setting up env
>>
>>
>> Cheers,
>>
>> --
>> Caio Marcelo de Oliveira Filho
>> OpenBossa - INdT
>> _______________________________________________
>> webkit-qt mailing list
>> webkit-qt at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>>
>
>
>
> --
> Alexis Menard (darktears)
> Software Engineer
> INdT Recife Brazil
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 29 Nov 2011 22:29:45 -0500
> From: Jeffrey Hua <jeffreyhwa316 at gmail.com>
> To: webkit-qt at lists.webkit.org
> Subject: [webkit-qt] Where to put my plugin so library when I do test
> using the QT TEST BROWSER?
> Message-ID:
> <CAC2aBfqndvVVx=dsUop6-qTf=RrDCdrv81b2LZ+7aHWM4pySVQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Where to put my plugin so library when I do test using the QT TEST BROWSER?
>
> Jeffrey
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20111129/56f2bb51/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 30 Nov 2011 01:05:10 -0300
> From: Rafael Brandao <rafael.lobo at openbossa.org>
> To: Alexis Menard <alexis.menard at openbossa.org>
> Cc: QtWebkit Mailing List <webkit-qt at lists.webkit.org>
> Subject: Re: [webkit-qt] Minutes from the Status Meeting in #qtwebkit
> on Freenode IRC network
> Message-ID:
> <CAGmH78FQH-7BVuiKY2OXBhA6mfuGPJsuAh4Wyz5a4TydZfAQRA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> rafaelbrandao status : I was working on a webicon element on top of a
> qquickimage... personal feeling that it looks good and overall patch looks
> cleaner. will send a patch with this new version tomorrow.
>
> On Tue, Nov 29, 2011 at 11:21 PM, Alexis Menard <alexis.menard at openbossa.org
>> wrote:
>
>> darktears status : traveling to dev days, worked on the navigation
>> history. Will upload something today or tomorrow :p
>>
>> On Tue, Nov 29, 2011 at 2:11 PM, Caio Marcelo de Oliveira Filho
>> <caio.oliveira at openbossa.org> wrote:
>>> The bot had a trouble sending the email today :)
>>>
>>> Updates:
>>> * hugopl status: Qt-WTR doesn't send the last mouse event if we have a
>>> leapForward call before, prepare a patch + test for it.
>>> * torarne status: random buildsystem stuff
>>> * zalbisser status: playing with distcc and bonjour
>>> * jturcotte status: fixing the build in scratchbox.
>>> * cmarcelo status: popupmenu in qml, opengl stuff now in background
>>> * andris88 status: I tried build Qt5 to ARM
>>> * igoroliveira status: fixing failing transition layout test after AC
>>> animations patch
>>> * rtakacs status: try to make parallel gc on QT platform
>>> * zherczeg status: debugging webworkers
>>> * zalan status: looking at the qmltest failure about about the zero
>>> sized viewport.
>>> * Smith status I try to fix my pixel_test/unittest patch
>>> * Zoltan status: profiling TextDecoders with gprof
>>> * jeez_ status: fixed panning, looking for a clean way to avoid
>>> downloads. Later, perhaps, the final episode of The Art of Refactoring
>>> QtWebPageProxy.
>>> * loki04 status: updated meta package at
>>> https://launchpad.net/~u-szeged/+archive/sedkit
>>> * azbest_hu status successfully built Harmattan environment with
>>> Resworb Scripts
>>> * Savago status new patch for #59200
>>> * akiss status fiddling around with Amazon AWS: created account and
>>> users to experiment with bots in the cloud
>>> * reni status: making external resources work in SVG
>>> * kling status: debugging an element cloning regression
>>> * bbandix status: pushing flickable patches to gerrit, continuous
>>> struggle with scratchbox to be able to test the toolbar+pinch usecase
>>> on the device
>>> * hnandor status: implementing dumpWillResponseCallback method in
>>> LayoutTestControllerQt.cpp
>>> * tronical_ status: messing with V8
>>> * tronical status: messing with V8
>>> * ahf status Rebasing my patches on top of trunk and thus upgrading qt
>>> * kenneth_ status: working on suspend/resume
>>> * laknudse status just got my machine up and running again (wiped) :-(
>>> - setting up env
>>>
>>>
>>> Cheers,
>>>
>>> --
>>> Caio Marcelo de Oliveira Filho
>>> OpenBossa - INdT
>>> _______________________________________________
>>> webkit-qt mailing list
>>> webkit-qt at lists.webkit.org
>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>>>
>>
>>
>>
>> --
>> Alexis Menard (darktears)
>> Software Engineer
>> INdT Recife Brazil
>> _______________________________________________
>> webkit-qt mailing list
>> webkit-qt at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>>
>
>
>
> --
> Rafael Brandao @ INdT
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20111130/458b40e9/attachment-0001.html>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 29 Nov 2011 23:10:55 -0500
> From: Jeffrey Hua <jeffreyhwa316 at gmail.com>
> To: webkit-qt at lists.webkit.org
> Subject: Re: [webkit-qt] Where to put my plugin so library when I do
> test using the QT TEST BROWSER?
> Message-ID:
> <CAC2aBfq2RDR6+10GjBdwOG+iscZOYb6V0O=kHUhOtAvrPNPgbQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I got this information.
> http://doc.trolltech.com/4.5/qtwebkit.html#netscape-plugin-support
>
>
> 2011/11/29 Jeffrey Hua <jeffreyhwa316 at gmail.com>
>
>> Where to put my plugin so library when I do test using the QT TEST BROWSER?
>>
>> Jeffrey
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20111129/57c10dd3/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> 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 26, Issue 38
> *****************************************
More information about the webkit-qt
mailing list