Closed Bug 1364646 Opened 8 years ago Closed 8 years ago

tab.url is always about:blank in onCreated handler

Categories

(WebExtensions :: Compatibility, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: markh, Unassigned)

Details

In a web extensions with, say: chrome.tabs.onCreated.addListener(function(tab){ console.log(tab.url); }); Firefox always returns about:blank, presumably because the tab is still loading. Chrome reports the correct URL.
This is a documented difference between Firefox and Chrome. See the introductory note at https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/Tabs/onCreated
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.