Closed Bug 1515455 Opened 5 years ago Closed 4 years ago

browser.tabs.duplicate is not a function

Categories

(Developer Documentation Graveyard :: Add-ons, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: skeletonxf, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

When attempting to use WebExtensions for Firefox for Android the function `browser.tabs.duplicate` does not exist. I believe this is a bug because this function is listed as supported by Firefox for Android 54+ on MDN https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/duplicate

I have tested this on Firefox for Android v64.0.1 on Android 4.4.4. I believe this problem does not depend on device because I found it after a user left a review for my addon stating that none of the tab duplicating addons they had tried worked on mobile.

I stripped down my WebExtension to a minimal working example and have included the xpi. On desktop clicking the browser action successfully duplicates the active tab and prints "Duplicate worked" to the browser console. 


Actual results:

On Firefox for Android, using WebIDE and a USB to debug "browser.tabs.duplicate is not a function" is printed to the console when clicking the browser action. The tab is not duplicated.


Expected results:

On desktop clicking the browser action successfully duplicates the active tab and prints "Duplicate worked" to the browser console. If the documentation on MDN is correct this should also work for Android.
Component: General → Android
Product: Firefox for Android → WebExtensions
Version: Firefox 64 → 64 Branch
Keywords: dev-doc-needed
Priority: -- → P3

Just setting dev-doc-needed won't help while the bug is still open. Moving this over to Dev Documentation, the browser compatibility needs to be updated as this function is not actually implemented on Android.

Component: Android → Add-ons
Keywords: dev-doc-needed
Priority: P3 → --
Product: WebExtensions → Developer Documentation
Version: 64 Branch → unspecified
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: