Closed Bug 1655057 Opened 4 years ago Closed 4 years ago

tabs.query() only returns the "loaded" tabs on Android

Categories

(WebExtensions :: Android, defect)

68 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1583281

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.

Which Firefox for Android version?

(In reply to Kevin Brosnan [:kbrosnan] from comment #2)

Which Firefox for Android version?

68.10.1

Component: General → Android
Product: Firefox for Android → WebExtensions
Version: Firefox 68 → 68 Branch

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

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?

Flags: needinfo?(vhmenino)

(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

Flags: needinfo?(vhmenino)
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.