Closed
Bug 946641
Opened 11 years ago
Closed 11 years ago
Drop delayed events associated with a document when it's closed
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla28
Tracking | Status | |
---|---|---|
firefox28 | --- | fixed |
People
(Reporter: shu, Assigned: shu)
References
Details
(Whiteboard: [qa-])
Attachments
(2 files, 1 obsolete file)
6.67 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
3.86 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
No reason for delayed events to hold documents alive, since it's pretty hard get right in chrome JS to make sure we don't race the call to unsuppress with tab/window closures.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8343006 -
Flags: review?(bugs)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → shu
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 years ago
|
||
Left in a superfluous change in the last version.
Attachment #8343009 -
Flags: review?(bugs)
Assignee | ||
Updated•11 years ago
|
Attachment #8343006 -
Attachment is obsolete: true
Attachment #8343006 -
Flags: review?(bugs)
Comment 3•11 years ago
|
||
Comment on attachment 8343009 [details] [diff] [review]
Clear delayed events on closed documents.
This may overlap some stuff mrbkap has been doing lately.
Update uuid of nsIFocusManager
Attachment #8343009 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8343315 -
Flags: review?(past)
Comment 5•11 years ago
|
||
Comment on attachment 8343315 [details] [diff] [review]
Part 2: Revert in Debugger frontend to balance event suppression/unsuppression.
Review of attachment 8343315 [details] [diff] [review]:
-----------------------------------------------------------------
I haven't tested the patch as it needs some rebasing, but does this fix the leak? If so, this is great!
::: browser/devtools/debugger/test/browser.ini
@@ +85,5 @@
> [browser_dbg_breakpoints-pane.js]
> [browser_dbg_chrome-debugging.js]
> [browser_dbg_clean-exit-window.js]
> # Disabled because of leaks - See Bug 933950.
> +#skip-if = true
Just remove both comment lines.
::: toolkit/devtools/server/actors/webbrowser.js
@@ -797,5 @@
> postNest: function BTA_postNest(aNestData) {
> if (!this.window) {
> // The tab is already closed.
> - dbg_assert(this._nestedEventLoopDepth === 0,
> - "window shouldn't be closed before all nested event loops have been popped");
You will also have to revert my changes from bug 942931 here.
Attachment #8343315 -
Flags: review?(past) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Assignee | ||
Comment 7•11 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/80db40e98167
http://hg.mozilla.org/mozilla-central/rev/b7186d67c952
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → mozilla28
Comment 8•11 years ago
|
||
Shu, are you going to uplift this fix to beta (Firefox 27)? The hang-on-close in bug 942931 is still present there.
Flags: needinfo?(shu)
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Panos Astithas [:past] from comment #8)
> Shu, are you going to uplift this fix to beta (Firefox 27)? The
> hang-on-close in bug 942931 is still present there.
To uplift this to beta without re-causing the leaks, we will also need to uplift:
- bug 951413 (me)
- bug 933483 (mrbkap)
NI mrbkap for status of uplift.
Flags: needinfo?(shu) → needinfo?(mrbkap)
Comment 10•11 years ago
|
||
(In reply to Shu-yu Guo [:shu] from comment #9)
> - bug 933483 (mrbkap)
Note that bug 933483 caused bug 959585 (and bug 956704). It was already uplifted to Aurora, but we shouldn't uplift it to beta (for sure) until we shake out the rest of the regressions.
Flags: needinfo?(mrbkap)
status-firefox28:
--- → fixed
Whiteboard: [qa-]
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•