Summary: | REGRESSION(r154586): Past names map should only be used when named item is empty | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, darin, kling, koivisto, sam | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 120277, 120328 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Ryosuke Niwa
2013-08-28 11:39:22 PDT
Created attachment 209913 [details]
Fixes the bug
Comment on attachment 209913 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=209913&action=review > Source/WebCore/html/HTMLFormElement.cpp:684 > + else if (elementFromPast && !namedItems.size()) Please use namedItems.isEmpty() instead. Committed r154765: <http://trac.webkit.org/changeset/154765> |