FAIL! : tst_QWebFrame::setUrlWithPendingLoads() Received a fatal error.
Loc: [Unknown file(0)]
Marked as expected fails: http://trac.webkit.org/changeset/89561
Cause for this failure:
1. setHtml is done first and this makes request to cache loader to load the image. This in turn makes an asynchronous request and even before the asynchronous call is completed setUrl is called.
2. setUrl does not cancel the previous request before loading the new url. Hence the problem.
Would it be acceptable to cancel the request before actually going on to clear the frame like:
void QWebFrame::setUrl(const QUrl &url)
Alternately the test case would pass if we add waitForSignal between the setHtml and setUrl calls.
Created attachment 174131 [details]
Comment on attachment 174131 [details]
Clearing flags on attachment: 174131
Committed r134596: <http://trac.webkit.org/changeset/134596>
All reviewed patches have been landed. Closing bug.