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).
*** This bug has been marked as a duplicate of bug 148092 ***