mailto links don't spawn web-based email client if href is set after page load
Reported by
ben.barn...@brushfiredesign.net,
Jun 29 2018
|
|||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 Steps to reproduce the problem: 1. Open Chrome in a Windows OS 2. Associate mailto handlers with web based email client, such as Gmail 3. Click anchor with `mailto:` href set two seconds after page load What is the expected behavior? The associated email client should be invoked with the given mailto: parameters. What went wrong? A blank tab is opened with no URI in address bar, the email client does not open when the href is set 2 seconds after page load. When the href is set immediately (per the test case), the email client is correctly invoked with the given mailto parameters. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 67.0.3396.87 Channel: stable OS Version: 10 Flash Version: N/A The test case is available on jsfiddle: https://jsfiddle.net/459rnd0m/10/ This works as expected on Linux and OSX systems.
,
Jul 5
Tested this issue on reported chrome version 67.0.3396.87 and latest stable 67.0.3396.99, latest chrome version 69.0.3481.0 and also M-60 using Windows 10. Attaching screen-cast for reference. Steps: --------- 1. Launched reported chrome version 2. Logged into gmail account and Opened new tab and dropped given html file in new tab 3. Navigated both URL's ""mailto href set straight away"" and ""mailto href set after 2 seconds"". As we are able to see the url and observed outlook popup. @Reporter: Could you please review the attached screen-cast and confirm if anything being missed here and also Can you please upgrade to latest chrome stable 67.0.3396.99, you can download latest chrome builds here:""https://www.chromium.org/getting-involved/dev-channel"". Let us know whether issue still persists. Thanks.!
,
Jul 5
@phanindra the screencast you have provided doesn't appear to work, and is only 262 bytes? > "As we are able to see the url and observed outlook popup." - You should not see an Outlook popup, you should see a new Gmail compose tab opened in the browser.
,
Jul 5
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 19
,
Jul 20
> 2. Associate mailto handlers with web based email client, such as Gmail How did you do this?
,
Jul 20
,
Jul 20
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 20
Thanks. I did the navigator.registerProtocolHandler() stuff, and couldn't reproduce this issue. The second link in https://jsfiddle.net/459rnd0m/10/ opened Gmail compose view with "What a 'wonderful' email" and "https://www.test.com". Did you see any difference of URLs opened by 2 links in https://jsfiddle.net/459rnd0m/10/ ?
,
Jul 20
Thanks @tkent On several Windows machines I've tried, the first one opens as expected, but the second link just opens a blank tab in the browser and no compose view is shown. These tests all work absolutely fine on a Mac. Rather odd!
,
Jul 20
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 22
Reporter, Did you see any difference of URLs opened by 2 links in https://jsfiddle.net/459rnd0m/10/ ? Have your Chrome installed any Chrome extensions?
,
Jul 23
"Issue 865081 has been merged into this issue." - can you please unmerge that issue from this ticket as issue seems to be completely (as stated in recent comments) and also reproducible not only on Win as here but on Mac as well.
,
Jul 23
We have tried this on a Chrome incognito window, with no extensions, and the same behaviour is shown. For the first link, the URL is: https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&source=mailto&su=What+a+%E2%80%98wonderful%E2%80%99+email&body=https://www.test.com For the second link, the URL is: mailto:?subject=What%20a%20%E2%80%98wonderful%E2%80%99%20email&body=https%3A%2F%2Fwww.test.com This was tested on an incognito window.
,
Jul 23
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 24
Ok, it seems the mailto: URL produced with the second <a href=""> is correct. So this would be a custom protocol handler issue or a browser navigation issue. I still can't reproduce this on Windows 10. I'm not sure if we can investigate this issue furthermore.
,
Jul 24
,
Jul 24
Ok that's helpful. I will try to look deeper into the protocol handler. Thanks very much for looking into it.
,
Jul 25
As per comment #18 adding Needs-Feedback label to it and waiting for the response from reporter. Thanks..!
,
Sep 26
Closing no activity issues. Please feel free to re-open if there is update. |
|||||||||||||
►
Sign in to add a comment |
|||||||||||||
Comment 1 by viswa.karala@chromium.org
, Jul 1