Chromium Code Reviews
DescriptionReland of Set user agent type of transient item the same as pending item
The original CL assumes that a pending item should always exists when
adding a transient item, however this sometimes breaks because as
described in crbug.com/676129, NavigationManagerImpl or
CRWSessionController don't create a pending item if its URL is the same
as the last committed item.
This CL fixes the problem by relaxing the condition to the following:
if pending item exists, use pending item's user agent type, otherwise
use last committed non-native item's user agent type.
BUG=676129
Review-Url: https://codereview.chromium.org/2805453002
Cr-Commit-Position: refs/heads/master@{#462271}
Committed: https://chromium.googlesource.com/chromium/src/+/f2ccf5b200be3027dd7b67346574689fc483500f
Patch Set 1 : Patch original CL #Patch Set 2 : Fix #
Total comments: 2
Patch Set 3 : Address comments #
Total comments: 2
Patch Set 4 : Address comments #Patch Set 5 : Rebase #
Messages
Total messages: 22 (14 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||