Bug Tracker

Modify

Ticket #8692 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

$.when doesn't set arguments on Firefox 4

Reported by: zeljko Owned by: jaubourg
Priority: blocker Milestone: 1.5.2
Component: core Version: 1.5.2rc1
Keywords: Cc:
Blocking: Blocked by:

Description

Fiddle:

 http://jsfiddle.net/GEGb5/1/

On Firefox 4.0 it will alert undefined! With jQuery 1.5.1 everything works as expected.

Change History

comment:1 Changed 3 years ago by timmywil

Confirmed. This is an issue in jQuery git.

comment:2 Changed 3 years ago by jaubourg

  • Owner set to jaubourg
  • Priority changed from undecided to blocker
  • Status changed from new to assigned
  • Component changed from unfiled to core
  • Milestone changed from 1.next to 1.5.2

comment:3 Changed 3 years ago by jaubourg

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixes #8692. Strange FF4 bug: values changed onto the arguments object sometimes end up as undefined values outside the $.when method. Cloning the object into a fresh array solves the issue.

Changeset: f2ce87df8ef933dc3372b7d7ab8ea6e54dcd66b6

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.