Bug 131448

Summary: HTMLCollection::updateNamedElementCach iterates over items twice
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: New BugsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, commit-queue, esprehn+autocc, gyuyoung.kim, kling, koivisto
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Cleanup kling: review+

Ryosuke Niwa
Reported 2014-04-09 12:27:10 PDT
HTMLCollection::updateNamedElementCach iterates over items twice
Attachments
Cleanup (1.80 KB, patch)
2014-04-09 12:27 PDT, Ryosuke Niwa
kling: review+
Ryosuke Niwa
Comment 1 2014-04-09 12:27:48 PDT
Andreas Kling
Comment 2 2014-04-09 12:31:06 PDT
Comment on attachment 228973 [details] Cleanup View in context: https://bugs.webkit.org/attachment.cgi?id=228973&action=review Well that was silly. > Source/WebCore/ChangeLog:8 > + Comptue the length first and go through the cache interface to traverse through items. Compute
Ryosuke Niwa
Comment 3 2014-04-09 12:33:22 PDT
Note You need to log in before you can comment on or make changes to this bug.