Closed
Bug 1134699
Opened 10 years ago
Closed 7 years ago
tabs.activeTab returns wrapper object when no window is open
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jamie, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18
Steps to reproduce:
Call `tabs.activeTab` with no window open. (Our add-on code uses a WebSocket connection and needs to check for the activeTab exists to know how to handle messages).
Actual results:
When logging tabs.activeTab to console, it shows `[object Tab]`. All properties I poked at (id, index, url, title) were undefined.
Expected results:
tabs.activeTab should be null or undefined if no tab is open
Reporter | ||
Updated•10 years ago
|
Summary: tabs.activeTab returns wrapper object when no tab is open → tabs.activeTab returns wrapper object when no window is open
Updated•10 years ago
|
Whiteboard: [good first bug]
Updated•10 years ago
|
QA Contact: evold
Comment 1•9 years ago
|
||
I would like to take this bug up as my first contribution and submit the patch. How do I get started?
Reporter | ||
Comment 2•9 years ago
|
||
This appears no longer to be the case. I see now that tabs.activeTab returns null when there is no open window in Firefox 48.0a2
Comment 3•8 years ago
|
||
Because of the difficulty finding mentors and the expected life span of the SDK, we are removing [good first bug] from remaining SDK bugs.
Updated•8 years ago
|
Whiteboard: [good first bug]
Comment 4•7 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•