Closed
Bug 230086
Opened 21 years ago
Closed 5 years ago
Destructor of XBL element isn't called when I remove this element from DOM
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: surkov, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
When I remove XBL element from DOM by removeChild() method than XBL destructor
isn't called. I think desctructor should be called.
Reproducible: Always
Steps to Reproduce:
Comment 1•21 years ago
|
||
testcase, please
Reporter | ||
Comment 2•21 years ago
|
||
Reporter | ||
Comment 3•21 years ago
|
||
Comment 4•19 years ago
|
||
This is an automated message, with ID "auto-resolve01".
This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.
While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.
If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.
The latest beta releases can be obtained from:
Firefox: http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey: http://www.mozilla.org/projects/seamonkey/
Updated•19 years ago
|
Assignee: hyatt → general
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•19 years ago
|
||
Unfortunately, detaching bindings when removing from a document would actually
break a good deal of our content. We need to come up with a sane XBL attachment
story...
Reporter | ||
Comment 6•19 years ago
|
||
Should be desctuctor called? Note a bug 265086.
Updated•19 years ago
|
Summary: Desctructor of XBL element isn't called when I remove this element from DOM → Destructor of XBL element isn't called when I remove this element from DOM
Not for firefox 3 unless this is holding back extension developers a lot?
The leak in bug 296474 should be fixable through other means.
Flags: blocking1.9? → blocking1.9-
Comment 9•17 years ago
|
||
(In reply to comment #8)
> Not for firefox 3 unless this is holding back extension developers a lot?
>
> The leak in bug 296474 should be fixable through other means.
>
Will the leak in 296474 show up for others - e.g. is this a place to fix the issue for everyone...
Yeah, most likely.
Comment 11•17 years ago
|
||
Note that we could just have a pending destructor queue (like pending ctors), add bindings to it where we currently tear down the binding implementation, and do all that, plus firing destructor, in either EndUpdate or off an event (like we do constructors).
It's a scary change, though. Really scary. Likely to break some chrome, I bet (due to chrome working around this bug, at least in part).
Yeah, i'm more worried about chrome depending on things working as they currently are, than not being able to implement this "safely".
Updated•15 years ago
|
Assignee: xbl → nobody
QA Contact: ian → xbl
Comment 13•15 years ago
|
||
Are there some concrete examples for how a chrome dependency on this might look like? I'm not sure the dependency actually exists. But if it does, I guess it would be trivial to fix.
Comment 14•5 years ago
|
||
XBL is now disabled in Firefox (Bug 1583314) and is in the process of being removed from Gecko (Bug 1566221), so closing bugs requesting changes to its implementation as wontfix.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•