Bug 148116 - Make HTMLCollection.length cacheable for performance
Summary: Make HTMLCollection.length cacheable for performance
Status: RESOLVED DUPLICATE of bug 148092
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks: 110611 147980
  Show dependency treegraph
 
Reported: 2015-08-17 20:08 PDT by Chris Dumez
Modified: 2015-08-18 11:55 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-08-17 20:08:53 PDT
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).
Comment 1 Chris Dumez 2015-08-18 11:55:47 PDT

*** This bug has been marked as a duplicate of bug 148092 ***