Closed Bug 1383979 Opened 7 years ago Closed 7 years ago

Allow "persistent" for popups (browser action, page action, etc)

Categories

(WebExtensions :: Frontend, enhancement)

56 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: yfdyh000, Unassigned)

References

Details

This could cause memory usage problems, but I hope it is possible.

Bad conditions can be mitigated by hard limits (or dynamic limit and no guarantee), such as 100 MB per popup or extension, or request more via API or permissions.


https://addons.mozilla.org/firefox/addon/fastest-notifier-for-gmail/versions/ has lost one of its features, i.e. keep Gmail popup running in background, immediately open instead of loading every time when clicked.

It once use https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/panel#hide() to achieve this.


Similar requests were made at long ago:
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-extensions/Dn_X_CvMf20
Use the Sidebar API in this case ?
Bug 1376289 Comment 1:

> We've been through this in the past with the SDK and Social API, and come to
> the firm conclusion that this isn't worth the performance and memory
> overhead it causes.
(In reply to Tim Nguyen :ntim from comment #1)
> Use the Sidebar API in this case ?

The size and position of sidebar is limited.


(In reply to Kestrel from comment #2)
> Bug 1376289 Comment 1:
> 
> > We've been through this in the past with the SDK and Social API, and come to
> > the firm conclusion that this isn't worth the performance and memory
> > overhead it causes.

I sympathize this point.

Hope this would have a decent solution.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Since bug 1364404 currently is designed to show one panel per tab (i.e. on tab switch, a different panel would be shown), it doesn't seem capable of fixing this bug, since new tabs would reload the content url.
Flags: needinfo?(ntim.bugs)
Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(ntim.bugs)
Resolution: DUPLICATE → ---
Status: REOPENED → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(mixedpuppy)
Per comment 2 we're going to wontfix this.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago7 years ago
Flags: needinfo?(mixedpuppy)
Resolution: --- → WONTFIX
See Also: → 1389782
I guess bug 675539 can alleviate the problem of resource consumption, although this does not represent the overthrow of this decision.
Depends on: 675539
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.