Closed
Bug 600703
Opened 15 years ago
Closed 13 years ago
"ASSERTION: mArguments wasn't cleaned up properly" with showModalDialog
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: jruderman, Assigned: bholley)
References
(
URL
)
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
1. Load the testcase (with popup blocking disabled).
2. Press Cmd+Q.
Result:
###!!! ASSERTION: Uh, LeaveModalState() called w/o a reachable top window?: 'Error', file dom/base/nsGlobalWindow.cpp, line 6140
(bug 398103?)
###!!! ASSERTION: mArguments wasn't cleaned up properly!: '!mArguments', file dom/base/nsGlobalWindow.cpp, line 861
| Reporter | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Assigning a url that does it for me without having to quit the app. Just close the modal dialog and shortly thereafter the assert is hit.
URL: data:text/html,<html><body%20onload="...
Comment 3•14 years ago
|
||
(In reply to Nochum Sossonko [:Natch] from comment #2)
> Assigning a url that does it for me without having to quit the app. Just
> close the modal dialog and shortly thereafter the assert is hit.
I can reproduce with the same testcase.
Blocks: 404077
| Reporter | ||
Comment 4•13 years ago
|
||
This assertion was added in https://github.com/mozilla/mozilla-central/commit/0d8b79a0bf88c75d1f4507f07cb5f95228397f73
Author: jst
Date: 2005 Aug 12
Summary: Followup changes to bz's review for bug 296639. Reviews pending, a=drivers
Comment 5•13 years ago
|
||
Isn't this a dup? And IIRC dup of a somewhat invalid bug. We should just remove the assertion.
(maybe change it to NS_WARN_IF_FALSE)
| Reporter | ||
Comment 6•13 years ago
|
||
The only other bug I see that mentions "mArguments wasn't cleaned up properly" is bug 640127, which is still open.
I worked around this in:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d08c12966908
in prep for bug 404077.
That said... if we don't call the cleanup functions (DetachFromDocShell for outers, FreeInnerObjects for inners), can't we end up leaking windows if things aren't easy to clean up? And isn't this assertion a sign that we didn't? (Or is there actually a path from FreeInnerObjects to freeing mArguments?)
and the same to 2 more files in
https://hg.mozilla.org/integration/mozilla-inbound/rev/c7cedc21bdf2
Blocks: 846138
Blocks: 846156
Blocks: 846602
Comment 9•13 years ago
|
||
Maybe I'll get a chance to look at this soon.
Assignee: nobody → continuation
| Assignee | ||
Comment 10•13 years ago
|
||
I recently embarked on an epic quest to make showModalDialog more sane.
Assignee: continuation → bobbyholley+bmo
Depends on: 860941
Comment 11•13 years ago
|
||
Fixed by bug 860941.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•