Bug Tracker

Modify

Ticket #4947 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

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

jquery132.slice.patch Download (1.4 KB) - added by jnorell 4 years ago.
patch for 1.3.2 that adds missing "start" parameter to Array.prototype.slice() calls

Change History

Changed 4 years ago by jnorell

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

comment:1 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed
  • Component changed from unfilled to core
  • Milestone changed from 1.3.2 to 1.3.3

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

comment:2 Changed 4 years ago by john

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:3 Changed 4 years ago by john

  • Status changed from reopened to closed
  • Resolution set to duplicate

Duplicate of #4942.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.