Closed
Bug 752877
Opened 13 years ago
Closed 13 years ago
Cut wrappers after firing [inner,outer]-window-destroyed.
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: khuey, Assigned: khuey)
References
Details
Attachments
(1 file)
4.13 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #621945 -
Flags: review?(bzbarsky)
Comment 2•13 years ago
|
||
Comment on attachment 621945 [details] [diff] [review]
Patch
r=me
Attachment #621945 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Comment 4•13 years ago
|
||
My tiny brain cannot handle this bug's pithiness. Which problem does it address?
Comment 5•13 years ago
|
||
Before this fix we'd post an async event to the event loop, then cut the wrappers from chrome to content. When the event fired some time later, we'd send a notification to chrome that the window is going away. Some chrome (including old addon SDK versions) would then try to run cleanup code that touched the window, and this code would throw because the wrappers had been neutered.
This fix just moves the neutering of the wrappers to run right after the notification, from the async event.
Comment 6•13 years ago
|
||
Thanks! So bug 751466 is less urgent now, good.
Comment 7•13 years ago
|
||
That was the idea, yes. ;)
Comment 8•13 years ago
|
||
But we should perhaps put that information in that bug. Kyle, want to do that, since you did the actual testing here?
Assignee | ||
Comment 9•13 years ago
|
||
I think I already did that in comment 31 ...
Depends on: 753621
Comment 10•13 years ago
|
||
Any chance to to get this solution (and the under-laying bug 695480) elevated to Aurora (mozilla14) ?
With this fix, the win in term of memory and leaks is so much greater than the hassle of (some) breaking Add-ons.
Please correct me if I'm wrong.
Comment 11•13 years ago
|
||
Bug 695480 (and this one as a followup) is quite risky change, so getting it to Aurora
isn't likely.
Comment 12•13 years ago
|
||
> Any chance to to get this solution (and the under-laying bug 695480) elevated to Aurora (mozilla14) ?
Lots of bugfixes landed after bug 695480 -- see the list of dependent bugs. So there's really no way we're going to port this up to Aurora.
Comment 13•13 years ago
|
||
And bug 695480 is a big enough change that we want a full development cycle to shake out any problems it causes. (This very bug is a perfect example of the kind of problem we need to shake out.)
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
•