Closed
Bug 695320
Opened 13 years ago
Closed 13 years ago
TabView::init fails to handle session store window state changes that hide/show the toolbar
Categories
(Firefox Graveyard :: Panorama, defect)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 10
People
(Reporter: Gavin, Assigned: Gavin)
References
Details
Attachments
(1 file)
1.15 KB,
patch
|
ttaubert
:
review+
|
Details | Diff | Splinter Review |
This was brought up by the browser/components/privatebrowsing/test/browser/browser_privatebrowsing_popupmode.js test once I attempted to land bug 692130 - the move to components meant the tabview tests now ran after the private browsing tests. That popupmode tests switching a window from being a popup to not being a popup and back, using ss.setWindowState(). Thanks to http://hg.mozilla.org/mozilla-central/rev/ed6776b1ac0d , setWindowState ends up calling TabView::init again to have the keyboard shortcut disabled correctly. Unfortunately, this only works for the transition from not-popup->popup, and not vice-versa. That results in the shortcut being broken in that window after the browser_privatebrowsing_popupmode test, which causes browser_tabview_bug595518.js to fail. I propose we fix the code, since while browser_privatebrowsing_popupmode is doing something quite unusual, it's not easy to fix (using another window is complicated because of PB mode) and not something entirely unreasonable to expect to work (given behavior of setWindowState and its attempt to half-support that).
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Comment on attachment 567742 [details] [diff] [review] patch Review of attachment 567742 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks!
Attachment #567742 -
Flags: review?(ttaubert) → review+
Assignee | ||
Comment 3•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/160410d0608c
Flags: in-testsuite+
Target Milestone: --- → Firefox 10
Comment 4•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/160410d0608c
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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
•