Bug 39568
Summary: | [Qt] Stuck in modal event loop on synchronous HTTP OPTIONS request | ||
---|---|---|---|
Product: | WebKit | Reporter: | arvid2.nilsson |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | kling |
Priority: | P3 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.hulu.com |
arvid2.nilsson
In ResourceHandleQt.cpp, ResourceHandle::loadResourceSynchronously.
The QNetworkReplyHandler constructor call to start() fails in Qt 4.6 when the HTTP method is OPTIONS, or any other unsupported method.
The surrounding code does not check the status of the newly created QNetworkReplyHandler, and goes on to enter a modal event loop waiting for completion of a network operation that was never started.
We are then stuck forever in this modal event loop.
Specific use case: synchronous XMLHttpRequest with OPTIONS verb as found when leaving a video playing on Hulu.com.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Andreas Kling
*** This bug has been marked as a duplicate of bug 34647 ***