The first step would be to stop using WebURLLoader for CommitNavigation path:
1. Do not rely on WebLocalFrameClient callbacks (WillSendRequest and DidReceiveResponse).
2. Do not rely on RequestExtraData for navigation requests.
3. Pass the data (currently NavigationResponseOverrideParameters) directly to CommitNavigation and make direct calls to ResourceFetcher from FrameLoader.
Comment 1 by dgozman@chromium.org
, Jul 25