Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#8635 closed bug (fixed)

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:


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 6 years ago by dmethvin

  • Component changed from unfiled to support
  • Milestone changed from 1.next to 1.5.2
  • Priority changed from undecided to blocker

comment:2 Changed 6 years ago by rwaldron

  • Owner set to rwaldron
  • Status changed from new to assigned


Adds null arg per recommendation

comment:3 Changed 6 years ago by john

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


comment:4 Changed 6 years ago by rwaldron

#8626 is a duplicate of this ticket.

comment:5 Changed 6 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.