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)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: CoolCmd, Unassigned)
Details
Attachments
(1 file)
|
1.14 KB,
application/x-xpinstall
|
Details |
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'.
Updated•7 years ago
|
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.
Duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1410749 ?
Comment 3•5 years ago
|
||
We have a passing test for this scenario: https://searchfox.org/mozilla-central/rev/0c97a6410ff018c22e65a0cbe4e5f2ca4581b22e/mobile/android/components/extensions/test/mochitest/test_ext_tabs_getCurrent.html
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.
Description
•