Closed
Bug 481560
Opened 16 years ago
Closed 16 years ago
tab closes and location bar clears before the window closes
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
VERIFIED
FIXED
Firefox 3.6a1
People
(Reporter: sayrer, Assigned: dao)
References
Details
(Keywords: perf, regression, verified1.9.1, Whiteboard: [calm-ui])
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
Gavin
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
str:
1.) visit an SSL site
2.) close window with keyboard command (cmd-w, etc)
Comment 1•16 years ago
|
||
Strange. We also unload the document and clear the location bar here. This might be marginally more visible with the SSL UI, but isn't a regression from bug 480357. Change the pref back to 0 and you'll still see the unload/clear behaviour before window close, so the SSL indicator is just part of a larger bit of weirdness. We definitely close a window much slower now, in 3.0 this is basically instantaneous. Also happens on non-SSL sites.
cc-ing dao, since he's done a bunch of tab stuff, wondering if there's a change that's responsible for this alteration of behaviour. Suspect we're doing something like clearing the existing tab before window.close() now...
No longer blocks: 480357
Component: Location Bar and Autocomplete → Tabbed Browser
Keywords: regressionwindow-wanted
QA Contact: location.bar → tabbed.browser
Summary: SSL tld display reverts to normal before the window closes → tab closes and location bar clears before the window closes
Assignee | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> Suspect we're doing
> something like clearing the existing tab before window.close() now...
That's right, it was needed for cases such as dragging the last tab to a different window.
Assignee | ||
Comment 3•16 years ago
|
||
... but I think that can be special-cased. I'll look into that.
Assignee | ||
Comment 4•16 years ago
|
||
Attachment #365644 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•16 years ago
|
Assignee | ||
Updated•16 years ago
|
Flags: blocking-firefox3.1?
Comment 6•16 years ago
|
||
Don't think it blocks release, but definitely wanted. Thanks for putting together a patch, Dao.
Flags: blocking-firefox3.1? → blocking-firefox3.1-
Assignee | ||
Comment 7•16 years ago
|
||
test added
Attachment #365644 -
Attachment is obsolete: true
Attachment #369069 -
Flags: review?(gavin.sharp)
Attachment #365644 -
Flags: review?(gavin.sharp)
Comment 8•16 years ago
|
||
Why does this behavior need to be optional (i.e. why do you need aCloseWindowFastpath)? I don't see offhand why other _beginRemoveTab callers wouldn't want this behavior.
Assignee | ||
Comment 9•16 years ago
|
||
It would regress bug 456002 otherwise.
Assignee | ||
Comment 10•16 years ago
|
||
updated to latest trunk
Attachment #369069 -
Attachment is obsolete: true
Attachment #369344 -
Flags: review?(gavin.sharp)
Attachment #369069 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 11•16 years ago
|
||
updated to latest trunk
Attachment #369344 -
Attachment is obsolete: true
Attachment #370281 -
Flags: review?(gavin.sharp)
Attachment #369344 -
Flags: review?(gavin.sharp)
Updated•16 years ago
|
Attachment #370281 -
Flags: review?(gavin.sharp) → review+
Comment 12•16 years ago
|
||
Comment on attachment 370281 [details] [diff] [review]
patch
Ah, right. Seems like we should still be able to skip some of the work in endRemoveTab in the window-closing cases, but no need to fix that here.
Assignee | ||
Comment 13•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.6a1
Assignee | ||
Updated•16 years ago
|
Attachment #370281 -
Flags: approval1.9.1?
Assignee | ||
Updated•16 years ago
|
Flags: in-testsuite? → in-testsuite+
Reporter | ||
Comment 14•16 years ago
|
||
It looks like this patch is causing or exacerbating intermittent Linux test failures in test_Browser.js.
TEST-PASS | chrome://mochikit/content/browser/browser/fuel/test/browser_Browser.js | Checking index after moving tab
TEST-PASS | chrome://mochikit/content/browser/browser/fuel/test/browser_Browser.js | Checking event handler for tab move
TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/browser/fuel/test/browser_Browser.js | Timed out
Assignee | ||
Comment 15•16 years ago
|
||
That test was broken before and should have been disabled a while ago -- see bug 458688. I did that now.
Updated•16 years ago
|
Attachment #370281 -
Flags: approval1.9.1? → approval1.9.1+
Comment 16•16 years ago
|
||
Comment on attachment 370281 [details] [diff] [review]
patch
a191=beltzner
Updated•16 years ago
|
Whiteboard: [calm-ui]
Assignee | ||
Comment 17•16 years ago
|
||
Keywords: fixed1.9.1
Comment 18•15 years ago
|
||
verified FIXED when at https://bugzilla.mozilla.org on builds:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090604 Shiretoko/3.5pre (.NET CLR 3.5.30729) ID:20090604045218
and
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090604 Minefield/3.6a1pre (.NET CLR 3.5.30729) ID:20090604042555
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•