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    

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 ***