Closed
Bug 586147
Opened 15 years ago
Closed 15 years ago
Restore visible tabs (and hide hidden ones)
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 4.0b4
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
Attachments
(1 file, 1 obsolete file)
|
6.70 KB,
patch
|
beltzner
:
approval2.0+
|
Details | Diff | Splinter Review |
With bug 582116, m-c will have an api to hide/show tabs. tabcandy-central has augmented sessionstore to restore that information with bug 583306.
Comment 1•15 years ago
|
||
Should this block bug 574217?
Comment 2•15 years ago
|
||
(In reply to comment #1)
> Should this block bug 574217?
Yes.
Comment 3•15 years ago
|
||
Mardak, do you think you can take this? It should be pretty simple (the code change is already there, you only need to write a test for it.) I'm trying to work on debugging the leaks...
| Assignee | ||
Comment 4•15 years ago
|
||
Comment 5•15 years ago
|
||
Comment on attachment 464698 [details] [diff] [review]
v1
>+ browser_hidden_tabs.js \
Please name the test browser_586147.js. While it would be great to have a filename that indicates a feature it's testing, we don't roll like that.
It looks fine, it's just missing something. My concern is that the tab loading order is going to be wrong now - that is, the order we load history into tabs & actually kick off the requests is going to include !visible tabs, and those should be last. As is, if you have 50 !visible tabs "first" and then your other tabs, it's quite possible that those 50 !visible tabs are going to load first or at least before some of your visible tabs, which is suboptimal.
The tests for bug 480148 don't do any checks for !visible tabs, but we should probably add at least one.
Attachment #464698 -
Flags: review?(paul) → review-
Comment 6•15 years ago
|
||
Comment on attachment 464698 [details] [diff] [review]
v1
I said as much on IRC, but I'll say it here for a nice record.
It's not the worst thing to break (temporarily). Bug 586211 has been filed for a followup and Aza has assured me it will be fixed in a week.
r=zpao with test file name change.
Attachment #464698 -
Flags: review- → review+
| Assignee | ||
Comment 7•15 years ago
|
||
Attachment #464698 -
Attachment is obsolete: true
Attachment #464734 -
Flags: approval2.0?
Comment 8•15 years ago
|
||
(In reply to comment #5)
> Please name the test browser_586147.js. While it would be great to have a
> filename that indicates a feature it's testing, we don't roll like that.
Why shouldn't we roll like that, for new tests? I don't think consistency in test file naming is important.
Comment 9•15 years ago
|
||
Comment on attachment 464734 [details] [diff] [review]
v1.1
a=beltzner, a momentous occasion!
Attachment #464734 -
Flags: approval2.0? → approval2.0+
Comment 10•15 years ago
|
||
(In reply to comment #8)
> (In reply to comment #5)
> > Please name the test browser_586147.js. While it would be great to have a
> > filename that indicates a feature it's testing, we don't roll like that.
>
> Why shouldn't we roll like that, for new tests? I don't think consistency in
> test file naming is important.
Meh, it's not important - I opted for consistency. I could do with some boat rocking though. If you leave it as is, just make sure you add a comment in the test file indicating which bug it originated in to save having to look at hg annotate.
| Assignee | ||
Comment 11•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/90b492f96ceb
Port (copy) sessionstore changes from bug 583306 and add tests.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b4
You need to log in
before you can comment on or make changes to this bug.
Description
•