Skip to main content

Bug Tracker

Side navigation

#4947 closed bug (duplicate)

Opened July 22, 2009 08:23PM UTC

Closed July 23, 2009 01:24PM UTC

Array.prototype.slice() required argument

Reported by: jnorell Owned by:
Priority: minor Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Arra.prototype.slice slice Cc:
Blocked by: Blocking:
Description

In ECMA-262 15.4.4.10, slice is required to have a "start" argument, but jquery sometimes calls it with no arguments. It seems to work fine in iceape, but errors in Ant Galio browser.

Attachments (1)
  • jquery132.slice.patch (1.4 KB) - added by jnorell July 22, 2009 08:24PM UTC.

    patch for 1.3.2 that adds missing "start" parameter to Array.prototype.slice() calls

Change History (3)

Changed July 23, 2009 01:24PM UTC by john comment:1

component: unfilled → core
milestone: 1.3.2 → 1.3.3
resolution: → fixed
status: new → closed

Fixed in SVN rev [6484]. (I missed your patch - but it ended up missing a couple cases, and I've fixed those.)

Changed July 23, 2009 01:24PM UTC by john comment:2

resolution: fixed
status: closed → reopened

Changed July 23, 2009 01:24PM UTC by john comment:3

resolution: → duplicate
status: reopened → closed

Duplicate of #4942.