Closed Bug 641396 Opened 13 years ago Closed 13 years ago

First Firefox tab on a window doesn't fire "ready" event

Categories

(Add-on SDK Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: original.roju, Assigned: irakli)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: 

The tabs.on("ready") handler isn't fired when Firefox is started and the first window+tab opens, or on subsequent new windows.

Reproducible: Always

Steps to Reproduce:
1. require("tabs").on('ready', function(tab) {console.log('tab is loaded', tab.title, tab.url);});

Actual Results:  
No "ready" event is fired when the browser is started and the first tab opens, nor is the even fired if the tab is created along with a new window (e.g. by hitting accel-w).

Expected Results:  
A ready event fires.

Addons SDK 1.0b3
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
Target Milestone: --- → 1.0
Irakli: can you take this one on?
Assignee: nobody → rFobic
Attachment #532665 - Flags: review?(dietrich)
Comment on attachment 532665 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/165

r=me on the tests.
Attachment #532665 - Flags: review?(dietrich) → review+
https://github.com/mozilla/addon-sdk/commit/171933accf3727d26ee0e750ba294c6709a43331
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: