Skip to main content

Bug Tracker

Side navigation

#8635 closed bug (fixed)

Opened March 25, 2011 05:45AM UTC

Closed March 28, 2011 04:54PM UTC

Last modified March 17, 2012 08:42PM UTC

Firefox: uncaught exception at line 1285

Reported by: ruiz Owned by: rwaldron
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;
Attachments (0)
Change History (5)

Changed March 25, 2011 03:50PM UTC by dmethvin comment:1

component: unfiledsupport
milestone: 1.next1.5.2
priority: undecidedblocker

Changed March 28, 2011 04:37PM UTC by rwaldron comment:2

owner: → rwaldron
status: newassigned

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

Adds null arg per recommendation

Changed March 28, 2011 04:54PM UTC by john comment:3

resolution: → fixed
status: assignedclosed

Landed.

Changed March 30, 2011 08:07PM UTC by rwaldron comment:4

#8626 is a duplicate of this ticket.

Changed April 13, 2011 04:36PM UTC by jaubourg comment:5

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

Changeset: 4344d0841756f8572c56490f12739ac204f40966