Closed
Bug 655909
Opened 14 years ago
Closed 11 years ago
Sort out whether DOM File objects need to own their wrappers
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 827823
People
(Reporter: khuey, Unassigned)
References
Details
Consider:
<input>.files[0].expando = foo;
... gc ...
alert(<input>.files[0].expando);
Currently expando will not exist because the wrapper was GCd. Do we need to make Files hold on to their wrappers?
Per sicking, there are a number of other DOM objects this applies to. I'm filing this here to start thinking about it.
![]() |
||
Comment 1•14 years ago
|
||
Our long-term plan is to wrapper-cache everything in the DOM. See bug 648801 comment 10.
Reporter | ||
Comment 2•11 years ago
|
||
The answer to this is "yes" and it'll be done in bug 827823.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Assignee | ||
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
•