Closed Bug 1473851 Opened 7 years ago Closed 5 years ago

Firefox for Android: browser.tabs.getCurrent() returns 'undefined' in first tab

Categories

(WebExtensions :: Android, defect, P3)

61 Branch
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: CoolCmd, Unassigned)

Details

Attachments

(1 file)

1.14 KB, application/x-xpinstall
Details
Attached file coolcmd@coolcmd.xpi
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180621125625 Steps to reproduce: 1. install the attached extension to Firefox for Android version >= 60 2. the tab with address 'moz-extension://.../coolcmd.html' and with word 'OK' is opened 3. close all tabs except one from step 2 4. close Firefox 5. open Firefox 6. switch to first tab (from step 2) Actual results: the page contains the word 'FAIL', because browser.tabs.getCurrent() returns 'undefined'. refresh the page. method is still returns 'undefined'. this bug prevent my extension from working. :( Expected results: the page should contain the word 'OK'.
Component: General → Android
Priority: -- → P3
extensions for Android - an experimental thing that is not supported, and no one fixes bugs? the reported bug is serious, because it does not have a workaround.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: