Closed Bug 921639 Opened 11 years ago Closed 11 years ago

duplicated tab always shows last page of the tabs history

Categories

(Firefox :: Session Restore, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 27
Tracking Status
firefox25 --- unaffected
firefox26 + verified
firefox27 + verified

People

(Reporter: c.ascheberg, Assigned: dao)

References

Details

(Keywords: regression)

Attachments

(1 file)

Duplicated tabs always show the page that is the last one in the tabs history.

STR:
1. open website A
2. klick link or enter URL to open website B in the same tab
3. click back button to go back to page A
4. duplicate the tab (hold ctrl and drag)

Actual:
duplicated tab shows website B

Expected:
duplicated tab should show website A

Regression:
Last good nightly: 2013-08-27
First bad nightly: 2013-08-28

Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e42dce3209da&tochange=416075f77249
The first bad revision is:
changeset:   144568:900eaf8afe73
user:        Georgiana Chelu
date:        Wed Aug 28 00:52:28 2013 +0200
summary:     Bug 898732 - Use SessionStore object instead of getting the nsISessionStore service. r=dao
Blocks: 898732
OS: Windows 7 → All
Hardware: x86_64 → All
Assignee: nobody → dao
Attached patch patchSplinter Review
Not sure whether I should do this for SessionStore, SessionStoreInternal or both.
Attachment #811508 - Flags: review?(ttaubert)
Comment on attachment 811508 [details] [diff] [review]
patch

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

Thanks, doing it for both is best I think. Can you please write a test for this? I could also take over and do that if you like, should be a trivial test.
Attachment #811508 - Flags: review?(ttaubert) → review+
(In reply to Tim Taubert [:ttaubert] from comment #3)
> Comment on attachment 811508 [details] [diff] [review]
> patch
> 
> Review of attachment 811508 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Thanks, doing it for both is best I think. Can you please write a test for
> this? I could also take over and do that if you like, should be a trivial
> test.

I won't have time to write a test for this in the near future.
https://hg.mozilla.org/mozilla-central/rev/295575989d53
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Comment on attachment 811508 [details] [diff] [review]
patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 898732 (the underlying problem existed before that, but we didn't trigger it)
User impact if declined: see comment 0
Testing completed (on m-c, etc.): landed on m-c
Risk to taking this patch (and alternatives if risky): not risky
String or IDL/UUID changes made by this patch: none
Attachment #811508 - Flags: approval-mozilla-aurora?
Attachment #811508 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Keywords: verifyme
Whiteboard: [good first verify]
verified with Nightly build 20131024030204 and latest Aurora build
Status: RESOLVED → VERIFIED
Keywords: verifyme
Whiteboard: [good first verify]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: