Closed
Bug 1365628
Opened 8 years ago
Closed 7 years ago
[geckoview] Add API for handling new "tabs"
Categories
(GeckoView :: General, enhancement)
GeckoView
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: snorp, Unassigned)
Details
Right now if you click a link with target=_blank, or someone does window.open(), we either do nothing or load it in the current view. We need to allow the application do whatever they want here.
Ostensibly, this should be handled via nsIBrowserDOMWindow, but it turns out that sometimes we are not really getting what we need. For instance, in the target=_blank case, we get a null URI in nsIBrowserDOMWindow::openURI(). Also, nsIBrowserDOMWindow::openURIInFrame() might not make sense at all for this sort of thing, as
A perfect solution would allow an application (like Fennec) to use a GeckoView for each tab without losing any web functionality like window.opener, etc. As part of this bug we need to evaluate how close we can get to that with the current Gecko pieces.
| Reporter | ||
Updated•8 years ago
|
Component: Embedding: APIs → GeckoView
Product: Core → Firefox for Android
Version: unspecified → Trunk
| Reporter | ||
Comment 1•7 years ago
|
||
This was handled in bug 1432485
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox for Android → GeckoView
You need to log in
before you can comment on or make changes to this bug.
Description
•