Closed Bug 305828 Opened 19 years ago Closed 19 years ago

Changes to tabbrowser.xml for sessionsaver extension

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox1.5

People

(Reporter: bugzilla.mozilla.org-3, Assigned: bugzilla.mozilla.org-3)

References

Details

(Keywords: fixed1.8)

Attachments

(1 file)

The fix for bug 109672 in tabbrowser.xml introduced a problem with the
sessionsaver extension - see bug 109672 comment 23.

This is not really a bug in tabbrowser.xml, at least not in the basic
configuration without the sessionsaver extension. But the code could be made
more robust so that extensions like sessionsaver will nok break.
Pike, could you verify that this fixes the problem with sessionsaver?
(In reply to comment #1)
> Pike, could you verify that this fixes the problem with sessionsaver?

Yes, I can confirm that this patch fixes the problem with SS 0.2.eur ,
(In reply to comment #2)
> Yes, I can confirm that this patch fixes the problem with SS 0.2.eur ,

That was supposed to end: "with SS 0.2.""
Attachment #193750 - Flags: review?(vladimir)
Comment on attachment 193750 [details] [diff] [review]
Updated version of the patch submitted in bug 109672 (attachment 186478 [details] [diff] [review])


Looks good to me; I'd prefer |for each| instead of |for (var i = 0; i <
foo.length; i++) { var p = foo[i]; ... }|, but the rest of the file does the
big for loop, so blah.

r=vladimir
Attachment #193750 - Flags: review?(vladimir) → review+
A lot of these loops could be cleaned up. AFAICS the |if (p)| part can be
omitted everywhere in tabbrowser.xml now that bug 303075 has been fixed. But I
suggest that we do this in another bug. The Sessionsaver people would like this
bug fixed soon.
Attachment #193750 - Flags: approval1.8b4?
Attachment #193750 - Flags: approval1.8b4? → approval1.8b4+
Whiteboard: [checkin needed]
Checked in on trunk.

Checking in tabbrowser.xml;
/cvsroot/mozilla/toolkit/content/widgets/tabbrowser.xml,v  <--  tabbrowser.xml
new revision: 1.105; previous revision: 1.104
done
Status: NEW → RESOLVED
Closed: 19 years ago
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → Firefox1.6-
And the 1.8 branch.

Checking in tabbrowser.xml;
/cvsroot/mozilla/toolkit/content/widgets/tabbrowser.xml,v  <--  tabbrowser.xml
new revision: 1.103.2.2; previous revision: 1.103.2.1
done
Keywords: fixed1.8
Whiteboard: [checkin needed]
Target Milestone: Firefox1.6- → Firefox1.5
v.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050827
Firefox/1.6a1

Thanks Christian (and Vlad and Gavin).
Status: RESOLVED → VERIFIED
Blocks: 306208
filed regression... Bug 306208.
This caused Bug 306243.
Please see Bug 306243 comment 24.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: