Closed Bug 650573 Opened 13 years ago Closed 13 years ago

Panorama hangs when restoring a session

Categories

(Firefox Graveyard :: Panorama, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 6

People

(Reporter: ttaubert, Assigned: ttaubert)

References

Details

Attachments

(1 file, 3 obsolete files)

Session restore re-uses (overwrites) opened tabs when restoring a session. Panorama closes all groups not present in the to-be-restored session. If those include re-used tabs, these tabs get closed and SR / Panorama wait until these (now closed) tabs get restored.
Attached patch patch v1 (obsolete) — Splinter Review
Changes:

* bug624727.js: disabling private browsing if it wasn't enabled caused this test to fail
* bug629195.js: the test must call setWindowState() with aOverwrite = true to meet the test's expectations

Passed try:

http://tbpl.mozilla.org/?tree=MozillaTry&pusher=tim.taubert@gmx.de&rev=97fb08e090ab
Attachment #526580 - Flags: feedback?(raymond)
Blocks: 636279
Comment on attachment 526580 [details] [diff] [review]
patch v1

Looks good
Attachment #526580 - Flags: feedback?(raymond) → feedback+
Attachment #526580 - Flags: review?(ian)
Attached patch patch v2 (obsolete) — Splinter Review
Attachment #526580 - Attachment is obsolete: true
Attachment #526580 - Flags: review?(ian)
Attachment #526651 - Flags: review?(ian)
Attached patch patch v3 (obsolete) — Splinter Review
Attachment #526651 - Attachment is obsolete: true
Attachment #526651 - Flags: review?(ian)
Attachment #526749 - Flags: review?(ian)
Blocks: 650280
Blocks: 595020
Comment on attachment 526749 [details] [diff] [review]
patch v3

Paul, can you review this? I'm phasing out my review duties, and would like to spread the Panorama code knowledge around.
Attachment #526749 - Flags: review?(ian) → review?(paul)
Blocks: 645461
Blocks: 603789
Blocks: 631952
Blocks: 651643
No longer blocks: 603789
Blocks: 653099
No longer blocks: 595020
Comment on attachment 526749 [details] [diff] [review]
patch v3

Review of attachment 526749 [details] [diff] [review]:
-----------------------------------------------------------------

r=sdwilsh

::: browser/base/content/test/tabview/browser_tabview_bug624727.js
@@ +63,5 @@
>      let prefix = 'enter';
>      ok(!pb.privateBrowsingEnabled, prefix + ': private browsing is disabled');
> +    registerCleanupFunction(function () {
> +      if (pb.privateBrowsingEnabled)
> +        pb.privateBrowsingEnabled = false

Why do you need the condition here?
Attachment #526749 - Flags: review?(sdwilsh) → review+
(In reply to comment #8)
> ::: browser/base/content/test/tabview/browser_tabview_bug624727.js
> @@ +63,5 @@
> >      let prefix = 'enter';
> >      ok(!pb.privateBrowsingEnabled, prefix + ': private browsing is disabled');
> > +    registerCleanupFunction(function () {
> > +      if (pb.privateBrowsingEnabled)
> > +        pb.privateBrowsingEnabled = false
> 
> Why do you need the condition here?

That's just because of bug 651643. Seems we'll not get it before this one because I still experience some strange try failures there.
Attachment #526749 - Attachment is obsolete: true
Attachment #526749 - Flags: review?(paul)
Keywords: checkin-needed
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [fixed in cedar]
Pushed:
http://hg.mozilla.org/mozilla-central/rev/24438e77a538
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in cedar]
Target Milestone: --- → Firefox 6
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: