Bug 144261
| Summary: | Array#shift doesn't always move elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Till Schneidereit <till> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | fpizlo, ggaren |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Till Schneidereit
When calling shift on a huge, mostly empty Array, other elements sometimes keep their index, even though the shift operation seemingly succeeds.
See the test case in https://bugzilla.mozilla.org/show_bug.cgi?id=1158767.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |