Support WebCore's memory cache reusing main resources in unit tests.
commit4d11a5e11f1dc08a00c3c3bc098de0b685e36787
authorjaphet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jan 2013 00:03:59 +0000 (17 00:03 +0000)
committerjaphet@chromium.org <japhet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jan 2013 00:03:59 +0000 (17 00:03 +0000)
tree8c9534bed8c7222ab36ef2b2e81e343f7d15a39d
parentffe2b2113c22f442393f9517ce259d959eb0e6cb
Support WebCore's memory cache reusing main resources in unit tests.
* Spin the message loop, in case an asynchronous cache load is waiting
* Clear the memory cache when unregistering mocked urls.

BUG=170171
TEST=Everything stays green, webkit bug 105667 will use this soon

Review URL: https://chromiumcodereview.appspot.com/11940002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177276 0039d316-1c4b-4281-b951-d872f2087c98
webkit/support/weburl_loader_mock_factory.cc