| Index: content/browser/frame_host/navigation_handle_impl.cc
|
| diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
|
| index 9e6c1fc1bd3e8a03ad3babb122673881e34a2ad4..4f024e887254fe4a23cbcc25cc955ddb79c04f2c 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.cc
|
| +++ b/content/browser/frame_host/navigation_handle_impl.cc
|
| @@ -570,6 +570,13 @@ void NavigationHandleImpl::WillStartRequest(
|
| const ThrottleChecksFinishedCallback& callback) {
|
| TRACE_EVENT_ASYNC_STEP_INTO0("navigation", "NavigationHandle", this,
|
| "WillStartRequest");
|
| + // WillStartRequest should only be called once.
|
| + if (state_ != INITIAL) {
|
| + state_ = CANCELING;
|
| + RunCompleteCallback(NavigationThrottle::CANCEL);
|
| + return;
|
| + }
|
| +
|
| if (method != "POST")
|
| DCHECK(!resource_request_body);
|
|
|
|
|