Bug 143203 - HTMLCollection caches incorrect length if item(0) is called before length on an empty collection
Summary: HTMLCollection caches incorrect length if item(0) is called before length on ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-29 17:28 PDT by Darin Adler
Modified: 2018-12-03 19:43 PST (History)
5 users (show)

See Also:


Attachments
Patch (3.88 KB, patch)
2015-03-29 17:29 PDT, Darin Adler
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>