Closed Bug 336605 Opened 19 years ago Closed 19 years ago

Crash going offline and visiting other url (using window.close on offline event handler)

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: crash, testcase)

Attachments

(1 file)

See upcoming testcase, which crashes current trunk Mozilla build when following the steps in the testcase. - Click on the button in the testcase to open a new window. - Go offline by selecting that option in the File menu (after you've done that, this window should have disappeared) - Now visit another url by clicking on one of your bookmarks Result: crash Talkback ID: TB18290268M PresShell::InitialReflow nsContentSink::StartLayout 0x024d7244
Attached file testcase
Severity: normal → critical
(In reply to comment #0) > - Click on the button in the testcase to open a new window. > - Go offline by selecting that option in the File menu > (after you've done that, this window should have disappeared) For me, this step doesn't close the window until I click on the window (separate bug that I've already tracked down, not mine I think...), and then it doesn't crash. Let me fix this other bug first.
With the patch for 336674, the window closes on time, but I still don't crash. Martijn, can you get me a better stack with gdb?
Preferably after applying the patch in bug 336674.
(In reply to comment #2) > For me, this step doesn't close the window until I click on the window > (separate bug that I've already tracked down, not mine I think...), and then it > doesn't crash. Let me fix this other bug first. Sorry, I wasn't clear enough, that's what I meant. The window should have disappeared, but that doesn't happen in current trunk builds. So when that is fixed, the crash bug is also fixed. So nothing to worry about after that.
Martijn, given that Bug 336674 landed, is this bug still applicable?
(In reply to comment #6) > Martijn, given that Bug 336674 landed, is this bug still applicable? No, I guess I forgot about this bug, thanks. This works fine now.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: