DescriptionLoad web contents after tab is created.
In document mode, we used to start loading the web contents of a newly
opened tab before the chrome tab object is ready. This would result in
chrome intercept delegate not being initialized in time to figure out
whether the loaded URL needs to be sent as an intent instead.
This changes the order of operations to create the chrome tab first with
the given web contents and only then initiate the load.
BUG=432562
Committed: https://crrev.com/4c55f398def3214369aefa9f2f2e8f5940d3799d
Cr-Commit-Position: refs/heads/master@{#313966}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comments #Patch Set 3 : Fix gn build file #Patch Set 4 : findbugs exception #Messages
Total messages: 28 (10 generated)
|