Bug 81098 - QWebView blocks main loop on blocking ajax requests
Summary: QWebView blocks main loop on blocking ajax requests
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-14 06:15 PDT by hellagot
Modified: 2022-07-29 10:44 PDT (History)
0 users

See Also:


Attachments
example on how to block full qt application by using blocking ajax requests (1.81 KB, application/octet-stream)
2012-03-14 06:17 PDT, hellagot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description hellagot 2012-03-14 06:15:31 PDT
QWebView blocks the main loop when executing blocking (aka synchronous) ajax reqeusts.

I do not know the WebKit version in use, release note says WebKit 2.2.1, not sure how this translates to 528+ an similar.

Attached is a small qtcreater (should compile from commandline though) example that shows the problem. I was told there is no way around this problem other then using asynchronous ajax requests in the forums, but there has to be, no other webkit browser (other then qt based) blocks the whole application on slow responding scripts.
Comment 1 hellagot 2012-03-14 06:17:09 PDT
Created attachment 131834 [details]
example on how to block full qt application by using blocking ajax requests

another attempt to attach example
Comment 2 Alexey Proskuryakov 2022-07-29 10:44:25 PDT
The Qt port has been removed from WebKit, resolving.