Bug 75757
Summary: | JSArray::pop() should compare SparseArrayValueMap::find() to SparseArrayValueMap::notFound() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Saboff <msaboff> |
Component: | JavaScriptCore | Assignee: | Michael Saboff <msaboff> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | Unspecified |
Michael Saboff
In JSArray::pop(), the results of SparseArrayValueMap::find() (a SparseArrayValueMap::iterator) is compared against SparseArrayValueMap::end() (a SparseArrayValueMap::const_iterator). This fails to compile on some platforms. It should be compared against SparseArrayValueMap::notFound().
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Saboff
Committed r104355: <http://trac.webkit.org/changeset/104355>