Bug 143203

Summary: HTMLCollection caches incorrect length if item(0) is called before length on an empty collection
Product: WebKit Reporter: Darin Adler <darin>
Component: DOMAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ddkilzer, esprehn+autocc, jeffrey+webkit, kangil.han
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=192347
Attachments:
Description Flags
Patch koivisto: review+

Description Darin Adler 2015-03-29 17:28:01 PDT
HTMLCollection caches incorrect length if item(0) is called before length on an empty collection
Comment 1 Darin Adler 2015-03-29 17:29:34 PDT
Created attachment 249705 [details]
Patch
Comment 2 Darin Adler 2015-03-29 17:30:34 PDT
<rdar://problem/18460462>
Comment 3 Darin Adler 2015-03-29 17:33:52 PDT
Committed r182125: <http://trac.webkit.org/changeset/182125>