mozilla-mobile / fenix

⚠️ Fenix (Firefox for Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android

Home Page:https://github.com/mozilla-mobile/firefox-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] WebExtension options page opens multiple times/tabs

Offerel opened this issue · comments

Steps to reproduce

  • On Firefox Desktop, install WebExtension with an options page, which uses the method chrome.runtime.openOptionsPage(); and open the options in a separate tab (instead of embedded)

  • Open the options page with chrome.runtime.openOptionsPage(); -> a new tab will be opened with the options page

  • Dont close the tab

  • Open options page again with the same function

  • The already open tab with options is re-used

  • Install the same WebExtension on Firefox Android

  • Open options page -> a new tab with options is opened

  • Dont close the tab

  • Open options page again -> another new tab with options is opened -> The already opened tab is not re-used or closed

Expected behavior

Using the function *.runtime.openOptionsPage(); should re-use the already opened tab also on Firefox Android, like on the Desktop.

Actual behavior

  • In my opinion it works correctly on Desktop, but not on Android

Device information

  • Android device: Samsung Galaxy S9
  • Fenix version: 83 (Nightly)

┆Issue is synchronized with this Jira Task

commented

See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

So we have to live with this issue?

commented

See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.