Closed
Bug 342543
Opened 20 years ago
Closed 20 years ago
cancellation of session-restore prompt does not work
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 2 beta2
People
(Reporter: dietrich, Assigned: dietrich)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
|
1.21 KB,
patch
|
Details | Diff | Splinter Review |
Responses to bug 342142 indicated that there's also problem with canceling the prompt on multiple platforms.
I am able to reproduce the problem on a Mac, and ispiked is able to reproduce on linux.
I'm getting an exception from the prompt service:
TypeError: this.getTabBrowser() has no properties
Here's where the exception is caught:
http://lxr.mozilla.org/mozilla/source/browser/components/sessionstore/src/nsSessionStartup.js#272
The promptService.confirmEx() call is what throws the exception. I can't reproduce in an isolated prompt, so it must be related to the session restore code somehow.
Comment 1•20 years ago
|
||
I am seeing this as well on Mac with 2006062404 on the Bon Echo branch. This worked fairly recently, so I'm wondering if this is fallout from the checkin for bug 254021 or another session-service change in the past week or so. If it would be helpful, I can try to narrow down the regression window.
Setting OS to All/All.
OS: Mac OS X 10.3 → All
Updated•20 years ago
|
Flags: blocking-firefox2?
Comment 2•20 years ago
|
||
The crash I'm seeing is bug 341595. Don't know if that's true for everyone else...
Updated•20 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Target Milestone: --- → Firefox 2 beta1
| Assignee | ||
Comment 3•20 years ago
|
||
So, this is most likely not the way to handle this, but it fixes the problem. The safebrowsing peeps should look at this and determine the proper fix.
Attachment #227272 -
Flags: review?(tony)
Comment 4•20 years ago
|
||
Does this happen on all macs? I'll try to repro today and have a proper fix.
Depends on: 339416
| Assignee | ||
Comment 5•20 years ago
|
||
Tony,
I see it both of my Macs. Thanks for looking into it.
Updated•20 years ago
|
Target Milestone: Firefox 2 beta1 → Firefox 2 beta2
Comment 6•20 years ago
|
||
The attached patch does not fix this bug. Sessions are still restored even when the cancel button is pressed.
| Assignee | ||
Comment 7•20 years ago
|
||
(In reply to comment #6)
> The attached patch does not fix this bug. Sessions are still restored even when
> the cancel button is pressed.
>
Hey Zach,
Which OS?
Also, can you try Tony's patch in bug 339416 to see if it works for you? Both of the patches solved this problem for me on Mac.
Comment 8•20 years ago
|
||
Platform is mac and I'm using the branch. I'm reproducing the problem with:
1. Launch, open up some pages in various tabs
2. kill -HUP firefox_PID
3. Relaunch
4. Hit cancel
The pages I had open in step 1 open up again, even though the session shouldn't be restored.
I'll try the patch in bug 339416.
Comment 9•20 years ago
|
||
I lie. The patch does work...
Comment 10•20 years ago
|
||
Should be fixed with the patch on bug 339416.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 11•20 years ago
|
||
Tested latest branch build, and this is fixed.
Keywords: fixed1.8.1
Comment 12•20 years ago
|
||
Comment on attachment 227272 [details] [diff] [review]
safebrowsing should try to watch null browsers
no longer applicable
Attachment #227272 -
Flags: review?(tony)
You need to log in
before you can comment on or make changes to this bug.
Description
•