Chromium Code Reviews
DescriptionURLRequestHttpJob::StartTransaction should honour network delegate.
If a network delegate returns net::ERR_BLOCKED_BY_CLIENT inside URLRequestHttpJob::StartTransaction() the job is not cancelled. This does not happen, e.g., when ERR_BLOCKED_BY_CLIENT is returned within URLRequestHttpJob::OnStartCompleted(). This CL attempts to change the behaviour of StartTransaction() to cancel the job on the error signal from the delegate.
BUG=146816
TEST=This is not testable in the browser without custom code changes yet.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158984
Patch Set 1 #Patch Set 2 : Removing accidentally commited code change #
Total comments: 2
Patch Set 3 : Added a unit-test, not fully working yet #
Total comments: 1
Patch Set 4 : onBeforeUrlRequest case fixed in the unit test #Patch Set 5 : Migrated to the new BlockingDelegate + added test for synchronous cancellation #Patch Set 6 : Remove code duplication + disable *CancelRequest* tests in Chrome Frame #
Total comments: 2
Patch Set 7 : 2 tests split into 6 and only 4 disabled for CF #
Total comments: 2
Messages
Total messages: 22 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||