Bug 148116

Summary: Make HTMLCollection.length cacheable for performance
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: 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
Reported 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).
Attachments
Note You need to log in before you can comment on or make changes to this bug.
Chris Dumez
Comment 1 2015-08-18 11:55:47 PDT
*** This bug has been marked as a duplicate of bug 148092 ***