Fenix: FNX2-15929 ⁃ [Bug] mailto url don't work

Created on 4 May 2020  ·  12Comments  ·  Source: mozilla-mobile/fenix

Similar to closed issue #6231

Steps to reproduce

Click on a mailto url, e.g. the "contacte" link at the top left of this page.
imatge

Expected behavior

Email app is opened, as it is in Fennec or Chrome

Actual behavior

Nothing happens

Device information

  • Android device: LG G7 Android 9
  • Fenix version: Firefox Nightly 200502 (40.0.20200430224518)
OpenInApp engverified gv investigation 🐞 bug

Most helpful comment

of this page

which page? Could you share a URL?

Ups, sorry! Post updated, the url is cfagirona.cat

All 12 comments

of this page

which page? Could you share a URL?

of this page

which page? Could you share a URL?

Ups, sorry! Post updated, the url is cfagirona.cat

Investigated this and found a mailto that works (https://daleharvey.github.io/testapp/) and we have the one from the first comment that doesn't work.

For the mailto that works, onLoadRequest from GeckoSession is called and then it propagates to AppLinksUseCases where context.startActivity is called.

For the mailto that does't work, onLoadRequest from GeckoSession is not called at all.

I also tested this in Reference Browser and it has the same behavior as Fenix(mailto from https://daleharvey.github.io/testapp/ works but the mailto from first comment doesn't).

In Fennec it works well on all pages that I tested.

For GeckoViewExample app nothing happens when I tap on those links but I posted below the logs:

  • logs for the mailto that "works"
  • logs for the mailto that "doesn't work"

Hope I'm not wrong but I think is'a a GV bug.

Investigated this and found a mailto that works (https://daleharvey.github.io/testapp/) and we have the one from the first comment that doesn't work.

For the mailto that works, onLoadRequest from GeckoSession is called and then it propagates to AppLinksUseCases where context.startActivity is called.

For the mailto that does't work, onLoadRequest from GeckoSession is not called at all.

I also tested this in Reference Browser and it has the same behavior as Fenix(mailto from https://daleharvey.github.io/testapp/ works but the mailto from first comment doesn't).

In Fennec it works well on all pages that I tested.

For GeckoViewExample app nothing happens when I tap on those links but I posted below the logs:

* [logs](https://pastebin.com/kQ6FMH9q) for the `mailto` that "works"

* [logs](https://pastebin.com/Awrmpb0e) for the `mailto` that "doesn't work"

Hope I'm not wrong but I think is'a a GV bug.

It will be good to open a Bugzilla bug for the GV team to investigate

Seems like there was a bug opened in Bugzilla but now it's closed: https://bugzilla.mozilla.org/show_bug.cgi?id=1629243
Should I open another one?

Yes, please let's open another one!

Seems like the ticket that I created was a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1596825 with Resolution: --- → FIXED. Check this comment.

@ValentinTimisica since the GV issue here has been closed, is there anything on the Fenix side that needs to be done to pull in these changes to onLoadRequest or should that have come with the GV Nightly update? If it's handled automatically by updating GV version, please add a qa-needed label, thank you!

It's working well for me. Adding QA to double check.

Verified as fixed on Firefox Preview Nightly 200606 (Build #21610607) using a OnePlus 6T (Android 9) and Huawei MediaPad M3 (Android 7.0).

Closing this since it's verified as fixed.

Was this page helpful?
0 / 5 - 0 ratings