Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#8635 closed bug (fixed)

Firefox: uncaught exception at line 1285

Reported by: ruiz Owned by: Rick Waldron
Priority: blocker Milestone: 1.5.2
Component: support Version: 1.5.2rc1
Keywords: Cc:
Blocked by: Blocking:

Description

I'm getting this error in Firefox 3.6:

uncaught exception: [Exception... "Not enough arguments" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://domain.com/jquery-1.5.2rc1.js :: anonymous :: line 1285" data: no]

Adding null as a second argument for getComputedStyle() in line 1285 corrects it:

jQuery.support.reliableMarginRight = ( parseInt(document.defaultView.getComputedStyle(div,null).marginRight, 10) || 0 ) === 0;

Change History (5)

comment:1 Changed 13 years ago by dmethvin

Component: unfiledsupport
Milestone: 1.next1.5.2
Priority: undecidedblocker

comment:2 Changed 13 years ago by Rick Waldron

Owner: set to Rick Waldron
Status: newassigned

https://github.com/jquery/jquery/pull/289

Adds null arg per recommendation

comment:3 Changed 13 years ago by john

Resolution: fixed
Status: assignedclosed

Landed.

comment:4 Changed 13 years ago by Rick Waldron

#8626 is a duplicate of this ticket.

comment:5 Changed 12 years ago by jaubourg

Fixes #8635 again (fix was lost in rewrite). Also removes unnecessary "manual" garbage collection.

Changeset: 4344d0841756f8572c56490f12739ac204f40966

Note: See TracTickets for help on using tickets.