Bug 144261 - Array#shift doesn't always move elements
Summary: Array#shift doesn't always move elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-27 08:06 PDT by Till Schneidereit
Modified: 2015-04-27 21:15 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schneidereit 2015-04-27 08:06:28 PDT
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.