Skip to main content

Bug Tracker

Side navigation

#8692 closed bug (fixed)

Opened March 29, 2011 12:42PM UTC

Closed March 30, 2011 04:55PM UTC

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

Fiddle:

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

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

Attachments (0)
Change History (3)

Changed March 29, 2011 02:17PM UTC by timmywil comment:1

Confirmed. This is an issue in jQuery git.

Changed March 30, 2011 03:53PM UTC by jaubourg comment:2

component: unfiledcore
milestone: 1.next1.5.2
owner: → jaubourg
priority: undecidedblocker
status: newassigned

Changed March 30, 2011 04:55PM UTC by jaubourg comment:3

resolution: → fixed
status: assignedclosed

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