DescriptionExpand the interface to WebURLLoaderTestDelegate.
To implement FOUC tests we need to be able to control both the
didReceiveData and the didFinishLoading callbacks to have precise
control over when resources finish loading.
This patch expands the interface of WebURLLoaderTestDelegate to delegate
all the steps called in WebURLLoaderMock::ServeAsynchronousRequest. It
also provides a default implementation of each one so tests don't need to
add each proxy method. It also allows this patch to avoid being multiple
steps to handle the Chromium changes.
The next patch in Chromium will update ServeAsynchronousRequest
to use the new methods.
BUG=521692
R=pdr@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201003
Patch Set 1 #Patch Set 2 : Add missing files. #
Messages
Total messages: 30 (14 generated)
|