Commit f57d74bf authored by Andras Becsi's avatar Andras Becsi Committed by Michael Bruning
Browse files

Fix an assertion in net/url_request/url_request.cc:656


Instead of cancelling the request we have to set error to
net::ERR_ABORTED since URLRequest::BeforeRequestComplete
enforces not receiving cancelled requests with an assertion.
Our API requires the symmetric LoadStarten - LoadStopped
signals even on an ignored request so cancelling the request
and returning early would not be a solution, since it would
not emit any LoadStopped signal.

Change-Id: I1b13fe6520121805bcf420e810999c520c12bd5c
Reviewed-by: default avatarPeter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: default avatarMichael Bruning <michael.bruning@digia.com>
parent 1f95d666
Showing with 1 addition and 3 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment