Closed Bug 580901 Opened 14 years ago Closed 14 years ago

Directly call loadOneTab instead of Tabs.open

Categories

(Firefox Graveyard :: Panorama, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

Attachments

(1 file)

Can also avoid making use of the wrapped tab tab.
Attached patch v1Splinter Review
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #459323 - Flags: review?(ian)
Depends on: 580870
http://hg.mozilla.org/users/edward.lee_engineering.uiuc.edu/tabcandy-central/rev/1832de5a5a95
Remove Tabs.open and BrowserWindow.addTab and directly deal with xul tabs.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Attachment #459323 - Flags: review?(ian) → feedback?(ian)
Comment on attachment 459323 [details] [diff] [review]
v1

Looks good. One comment: you're using "let" instead of "var" at one point; I thought we had settled to stick with var?
Attachment #459323 - Flags: feedback?(ian) → feedback+
Oh, I guess we can switch it back to var. But "let is the new var" ;) Most new code in firefox is using let I believe.
(In reply to comment #4)
> Oh, I guess we can switch it back to var. But "let is the new var" ;) Most new
> code in firefox is using let I believe.

Just discussed it with mitcho and gavin. Gavin's recommendation is to leave all the existing vars but use let for all new code. Sounds good to me.
Mass moving all Tab Candy bugs from Mozilla Labs to Firefox::Tab Candy.  Filter the bugmail spam with "tabcandymassmove".
Product: Mozilla Labs → Firefox
Target Milestone: -- → ---
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: