Chrome Version: 68.0.3418.2 (Official Build) dev (64-bit)
OS: MacOS
What steps will reproduce the problem?
(1) copy a URL in a MacOS app that (conceivably incorrectly) provides valid (i.e. URL bearing) pasteboard flavours for
* public.url (WebURLsWithTitlesPboardType)
* public.url-name (Apple URL pasteboard type)
* NSLinkStringPboardType
but an empty string for
* NSStringPboardType / public.utf8-plain-text
(2) paste it in the omnibar
What is the expected result?
The URL string should appear in the omnibar
What happens instead?
No URL string appears in the omnibar.
I hypothesize that we are reading only the NSStringPboardType from the pasteboard and not checking if there is one of the other URL-specific flavours. We should probably check if public.url flavour is an URL? Safari does the right thing here and inserts this pasteboard flavour into the URL bar.
Comment 1 by lgrey@chromium.org
, May 7 2018Status: Available (was: Untriaged)