Open
Bug 794771
Opened 13 years ago
Updated 3 years ago
Define properties lazily in the new bindings' prototypes (if prototype has lots of properties)
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: smaug, Unassigned)
Details
Nowadays if CSS2PropertiesPrototype or similar ends up to CC graph,
it adds quite some edges. Lots of getters and setters.
Defining those lazily should help.
![]() |
||
Comment 1•13 years ago
|
||
Hmm. We could, of course, give all the new bindings protos resolve hooks and define properties lazily. The question is whether there are perf costs for that. Especially for cases (very common with CSS2Properties) where lots of expandos are set on the objects. Or do we disable the missing-property IC here anyway because of the proxy?
![]() |
||
Comment 2•13 years ago
|
||
Proxies disable the missing-property IC.
Comment 3•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•