Bug 148116
Summary: | Make HTMLCollection.length cacheable for performance | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
Component: | DOM | Assignee: | Chris Dumez <cdumez> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 110611, 147980 |
Chris Dumez
Make HTMLCollection.length cacheable for performance. It currently isn't cached because getOwnPropertySlot() is marked as impure for IDL interfaces that have a named getter.
After Bug 148092, this will no longer be necessary for interfaces that do not have the 'OverrideBuiltins' IDL extended attribute (such as HTMLCollection).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Chris Dumez
*** This bug has been marked as a duplicate of bug 148092 ***