[Webkit-unassigned] [Bug 42578] [Qt] DRT sideeffect revealed by r63657

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 08:05:43 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42578





--- Comment #24 from Robert Hogan <robert at webkit.org>  2010-10-25 08:05:42 PST ---
(In reply to comment #23)
> 
> Maybe setCache would do the job.

You're onto something there. setCache() won't do the job: QNAM uses QNetworkAccessCache rather than QNetworkCache for caching connections and their associated authenticators. But there is a QNetworkAccessManager::clearCache() that is exported for auto-tests, and this clears down the QNetworkAccessCache. 

However, this will only work if DRT is built against a Qt that has been compiled with "DEFINES += QT_BUILD_INTERNAL". Which will not be the case for most people hacking on QtWebKit I think.

I also suspect that there are other side-effects from not using a new QWebPage for each test - I just don't know what they are.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list