tabs.query() only returns the "loaded" tabs on Android
Categories
(WebExtensions :: Android, defect)
Tracking
(Not tracked)
People
(Reporter: vhmenino, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
I created an extension (https://github.com/hisetip/xSync) that uses the function tabs.query() to return all the tabs of the browser. This worked perfectly on Firefox Desktop but not on Android (more below).
Actual results:
When calling tabs.query(), Firefox for Android returns only the "loaded" tabs. This means that a tab "X" that hasn't been accessed for a while (and gets "unloaded", as supposed) will not be returned in tabs.query().
Expected results:
tabs.query() should return ALL tabs, not only the "loaded" ones.
To be clear, I wrote this post using Firefox for Mac but the problem only happens in Firefox for Android.
Comment 2•4 years ago
|
||
Which Firefox for Android version?
Updated•4 years ago
|
Comment 4•4 years ago
|
||
You should test against Firefox Nightly it has a year+ of development that is not present in the Release version.
(In reply to Kevin Brosnan [:kbrosnan] from comment #4)
You should test against Firefox Nightly it has a year+ of development that is not present in the Release version.
I used web-ext to run the extension in Firefox Nightly for Android. The deployment went OK however in the Android app it said "xSync - extension unavailable (...)", so I guess that Firefox Nightly doesn't support extensions out of those "reccomended ones" (at least, it seems like it doesn't support mine).
Am I doing anything wrong? Thanks so much for the help.
(In reply to vhmenino from comment #5)
(In reply to Kevin Brosnan [:kbrosnan] from comment #4)
You should test against Firefox Nightly it has a year+ of development that is not present in the Release version.
I used web-ext to run the extension in Firefox Nightly for Android. The deployment went OK however in the Android app it said "xSync - extension unavailable (...)", so I guess that Firefox Nightly doesn't support extensions out of those "reccomended ones" (at least, it seems like it doesn't support mine).
Am I doing anything wrong? Thanks so much for the help.
This is what shows up when I went to run the extension on Firefox Nightly for Android
https://photos.app.goo.gl/RaqK692qFuXdeUYm9
Comment 7•4 years ago
|
||
Hi,
Thank you for taking the time to submit this bug report. Unfortunately I am getting 404 when I try to access the GitHub link. Can you give us the extension to test the issue?
(In reply to Alexandra Martin from comment #7)
Hi,
Thank you for taking the time to submit this bug report. Unfortunately I am getting 404 when I try to access the GitHub link. Can you give us the extension to test the issue?
I had the repository in private mode, sorry. It should work now.
To go directly to the Firefox Extension, head to https://github.com/hisetip/xSync/tree/master/frontend/firefox
Thanks
Updated•4 years ago
|
Description
•