Closed
Bug 1325818
Opened 8 years ago
Closed 8 years ago
tab.openerTabId is null in tabs.onCreated callback
Categories
(WebExtensions :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1238314
People
(Reporter: zmstefan, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Steps to reproduce:
I have this code in background script of my Firefox WebExtension:
chrome.tabs.onCreated.addListener(function (tab) {
console.log("OPENER ID: " + tab.openerTabId);
});
And yes, openerTab is still present when new tab is created (new tab is created by clicking on some link in openerTab).
Actual results:
Console output is : "OPENER ID: undefined" each time new tab is created.
Expected results:
It should be : "OPENER ID: " + tab.openerTabId each time new tab is created.
Updated•8 years ago
|
Component: Untriaged → WebExtensions: General
Product: Firefox → Toolkit
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•