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)

x86
Linux
defect

Tracking

()

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.
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?
Proxies disable the missing-property IC.
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
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.