Closed
Bug 706430
Opened 13 years ago
Closed 13 years ago
Restoring a session without Panorama data fails with Panorama already loaded
Categories
(Firefox Graveyard :: Panorama, defect)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 11
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(1 file)
5.68 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
Restoring a session that contains no tab groups data over a current session that has Panorama loaded fails and throws errors. STR: 1) Load a clean profile (don't load Panorama). 2) Create two tabs. 3) Save the current session in a variable. 4) Open Panorama and create two groups with one tab per group. 5) Restore the saved session. Actual: Session is not correctly restored and errors are thrown. Expected: We have one group that contains all the tabs from step #2.
Assignee | ||
Comment 1•13 years ago
|
||
Added a simple check to see if we got valid tabData for the given tab. If not, there's no need to validate its groupID. Removed the tabItem._reconnect() call because that is handled by resumeReconnecting() later after GroupItems.reconstitute() has finished.
Attachment #577918 -
Flags: review?(dietrich)
Comment 2•13 years ago
|
||
Comment on attachment 577918 [details] [diff] [review] patch v1 Review of attachment 577918 [details] [diff] [review]: ----------------------------------------------------------------- r=me ::: browser/components/tabview/groupitems.js @@ +2243,5 @@ > > + if (tabData) { > + let parentGroup = GroupItems.groupItem(tabData.groupID); > + > + // correct the tab's groupID if necessary please add more commentary about how and why it needs correction
Attachment #577918 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 3•13 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/020c1f61f9d4
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 11
Assignee | ||
Comment 4•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/020c1f61f9d4
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•