Closed
Bug 1475501
Opened 6 years ago
Closed 6 years ago
undoCloseTab calls addTab with bogus options object
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 63
People
(Reporter: dao, Assigned: dao)
References
Details
(Keywords: regression)
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
mikedeboer
:
review+
lizzard
:
approval-mozilla-beta+
|
Details |
undoCloseTab calls addTab with an internal "state" object, as the userContextId property happens to be set there. Aside from that the object only contains garbage as far as addTab is concerned, including a (history) index property that addTab will interpret differently.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #0)
> only contains garbage as far as addTab is concerned, including a (history)
> index property that addTab will interpret differently.
This was introduced in bug 1449700, btw.
status-firefox61:
--- → wontfix
See Also: → 1449700
Assignee | ||
Comment 3•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #0)
> undoCloseTab calls addTab with an internal "state" object, as the
> userContextId property happens to be set there.
pinned too...
Comment hidden (mozreview-request) |
Comment 5•6 years ago
|
||
mozreview-review |
Comment on attachment 8991832 [details]
Bug 1475501 - Clean up addTab call in undoCloseTab.
https://reviewboard.mozilla.org/r/256714/#review264308
Attachment #8991832 -
Flags: review?(mdeboer) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/17b9d8f5ca3a
Clean up addTab call in undoCloseTab. r=mikedeboer
Comment 7•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Updated•6 years ago
|
status-firefox-esr52:
--- → wontfix
status-firefox-esr60:
--- → wontfix
Assignee | ||
Updated•6 years ago
|
Flags: qe-verify-
Assignee | ||
Comment 8•6 years ago
|
||
Comment on attachment 8991832 [details]
Bug 1475501 - Clean up addTab call in undoCloseTab.
Approval Request Comment
[Feature/Bug causing the regression]: bug 1274461 and bug 1449700
[User impact if declined]: reopening a closed tab is inefficient as addTab will move the tab to a random location before it moves to the right place
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: /
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: /
[Is the change risky?]: no
[Why is the change risky/not risky?]: straightforward cleanup, covered by tests
[String changes made/needed]: /
Attachment #8991832 -
Flags: approval-mozilla-beta?
Updated•6 years ago
|
Keywords: regression
Comment 9•6 years ago
|
||
Comment on attachment 8991832 [details]
Bug 1475501 - Clean up addTab call in undoCloseTab.
Fix for closed tabs in session restore, let's uplift for beta 11.
Attachment #8991832 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 10•6 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•