mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.14k stars 2.91k forks source link

[regression] Tapping a YouTube link both loads the YouTube page and opens the YouTube app #18749

Open cpeterso opened 6 months ago

cpeterso commented 6 months ago

Steps to reproduce

  1. Install the YouTube app.
  2. Open a web page with a link to a YouTube video page, like this one: https://youtu.be/AU4S2efc_B0
  3. Tap the YouTube link.
  4. The link will open in the YouTube app.
  5. Switch back to Firefox.

Expected behavior

The page with the link to the YouTube video page should still be loaded in the current tab.

Actual behavior

The YouTube video page itself is open in the current tab.

Or Firefox should open the YouTube video page instead of the YouTube app, but not both the page and the app.

Device & build information

┆Issue is synchronized with this Jira Task

data-sync-user commented 6 months ago

➤ Laurie Marceau commented:

Note This task was put in triage meeting under the “Webview refactor part 3” epic as this relates to webview deeplink related code that currently lives under the Firefox iOS client.

cpeterso commented 5 months ago

The bug isn’t specific to YouTube. I see it with other apps that intercept web links, such as Amazon or Trip Advisor.