DescriptionPerform navigation policy check on UI thread for --site-per-process.
This CL adds a NavigateFrameToURL method, which will allow browser tests to navigate specific (sub)frames and more precise out-of-process iframes tests can be written.
It also changes how cross-site transition is done for --site-per-process. It used to depend on the Referer header, but if there is a navigation to data URL, it will be empty and there will always be a transfer to new renderer.
I'm changing it to do the check on the UI thread and for now to be a very simplistic one - is the URL in the same SiteInstance as the current renderer.
BUG=357747
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266267
Patch Set 1 #Patch Set 2 : Some code clean up and adding test observer. #Patch Set 3 : Don't hop to UI thread if transfer is already required and use WeakPtr. #Patch Set 4 : Some minor cleanup. #
Total comments: 34
Patch Set 5 : Changes based on Charlie's review. #
Total comments: 4
Patch Set 6 : Fixing nits. #Patch Set 7 : Rebase on ToT. #Patch Set 8 : Move NavigateFrameToURL to be internal to content/ #
Total comments: 6
Patch Set 9 : Fixing nits. #Patch Set 10 : Rebase on ToT. #Messages
Total messages: 24 (0 generated)
|