Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1286)

Issue 1225593003: OOPIF: Fix willSendRequest in A-B-A nested case. (Closed)

Created:
5 years, 5 months ago by Charlie Reis
Modified:
5 years, 5 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

OOPIF: willSendRequest in A-B-A nested case. Before, we weren't using the transferred request IDs from the correct frame, so the transfer failed and we were waiting for the network stack to time out and issue the request again. As a result, the inner A request was very slow. This CL also expands test coverage for auto subframe navigations. BUG=236848 TEST=A-B-A nested OOPIFs are no longer slow. Committed: https://crrev.com/6d58b4f33a0bd7d92b044ab16784aae69d517594 Cr-Commit-Position: refs/heads/master@{#340003}

Patch Set 1 #

Patch Set 2 : Fix compile #

Total comments: 3

Patch Set 3 : Also fix cross-process location.replace #

Total comments: 8

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Drop location.replace fixes for now. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -21 lines) Patch
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 5 2 chunks +66 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 3 chunks +14 lines, -18 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Charlie Reis
Nate, can you take a look at the render_frame_impl.cc change? You did something similar in ...
5 years, 5 months ago (2015-07-07 23:32:24 UTC) #2
Nate Chapin
On 2015/07/07 23:32:24, Charlie Reis wrote: > Nate, can you take a look at the ...
5 years, 5 months ago (2015-07-07 23:36:33 UTC) #3
Avi (use Gerrit)
Same here. This looks plausible, but I'm not sure enough to say "this is definitely ...
5 years, 5 months ago (2015-07-08 18:49:23 UTC) #4
Charlie Reis
Hmm. I'm not sure who knows it better. I'll try to take a closer look ...
5 years, 5 months ago (2015-07-08 20:27:03 UTC) #5
Avi (use Gerrit)
https://codereview.chromium.org/1225593003/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/1225593003/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode1398 content/browser/frame_host/navigation_controller_impl_browsertest.cc:1398: LoadCommittedCapturer capturer(shell()->web_contents()); On 2015/07/08 20:27:03, Charlie Reis wrote: > ...
5 years, 5 months ago (2015-07-08 20:36:15 UTC) #6
Charlie Reis
Good news: I looked more closely at the willSendRequest code affected by this, and I ...
5 years, 5 months ago (2015-07-09 17:40:12 UTC) #7
Avi (use Gerrit)
This looks reasonable, and since it causes all the cross-process tests to yield the same ...
5 years, 5 months ago (2015-07-09 19:05:53 UTC) #8
Charlie Reis
Avi, would you mind taking another look? I rebased and effectively rolled this back to ...
5 years, 5 months ago (2015-07-22 21:23:54 UTC) #9
Avi (use Gerrit)
On 2015/07/22 21:23:54, Charlie Reis wrote: > Avi, would you mind taking another look? I ...
5 years, 5 months ago (2015-07-22 21:36:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225593003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1225593003/100001
5 years, 5 months ago (2015-07-22 22:47:58 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-23 00:22:54 UTC) #13
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 00:24:25 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6d58b4f33a0bd7d92b044ab16784aae69d517594
Cr-Commit-Position: refs/heads/master@{#340003}

Powered by Google App Engine
This is Rietveld 408576698