Add a single-window implementation of the windows API
Categories
(GeckoView :: Extensions, enhancement, P3)
Tracking
(firefox70 wontfix, firefox71 ?)
People
(Reporter: Fallen, Unassigned, Mentored)
References
(Blocks 1 open bug)
Details
As far as I am aware, there are a few bits within WebExtensions that depends on the windows API. It seems GeckoView already has the windowTracker, so most of the work is likely already done. To finish this off, I feel GeckoView should expose a windows API that provides access to that single window that is available, and throws on attempting to create new windows.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Mass moving bugs to the Extension component.
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Agi says we probably already have this API. He will confirm.
Comment 3•6 years ago
|
||
P3, not P1 because this bug isn't blocking anything right now.
Updated•6 years ago
|
Comment 4•6 years ago
|
||
We don't need this for ad blocks but it might be useful to do in general for compatibility with desktop.
Updated•6 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•2 years ago
|
||
I've noticed that currently each tab in Android has a different windowId (and they all have index: 0, so separate windows?).
When this is implemented, they will all share the same windowId, right?
Interestingly though, the way it is implemented now, it allows one to create a simple polyfill for the missing browser.window API:
https://gist.github.com/Juraj-Masiar/cadb8fa0a8f556a0ad06aa3e588a7bfc
Comment 9•2 years ago
|
||
(In reply to juraj.masiar from comment #8)
I've noticed that currently each tab in Android has a different
windowId(and they all haveindex: 0, so separate windows?).
This is the current implementation, but not necessarily a desired end-state in the API. The one-tab-per-window implementation prevents the implementation of tabs.move, for example.
Description
•