DescriptionDisable 'duplicate tab' functionality on interstitial pages
Currently, duplicating a tab that is showing an interstitial page will
duplicate the last committed navigation entry, which will likely not be
what the user expects. This CL simply disables the Duplicate Tab
functionality on interstitial pages. This matches the behavior when
there is no previously committed navigation entry before an
interstitial. (For example, navigate to https://badssl.com,
right-click on "expired", and open link in new tab. Note that Duplicate
Tab is disabled.)
BUG=310812
TEST=Visit https://badssl.com. Click "expired" and observe an SSL
page. Right-click on the tab at the top and observe that "Duplicate Tab"
is disabled.
Committed: https://crrev.com/9ecf2edac44ee510b7ec81267e4b6610e7c0a812
Cr-Commit-Position: refs/heads/master@{#332614}
Patch Set 1 #
Total comments: 8
Patch Set 2 : msw comments #
Total comments: 6
Patch Set 3 : test tweaks #Patch Set 4 : style fix #
Messages
Total messages: 12 (3 generated)
|