#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
Component: | unfiled → support |
---|---|
Milestone: | 1.next → 1.5.2 |
Priority: | undecided → blocker |
comment:2 Changed 13 years ago by
Owner: | set to Rick Waldron |
---|---|
Status: | new → assigned |
comment:5 Changed 12 years ago by
Fixes #8635 again (fix was lost in rewrite). Also removes unnecessary "manual" garbage collection.
Changeset: 4344d0841756f8572c56490f12739ac204f40966
Note: See
TracTickets for help on using
tickets.
https://github.com/jquery/jquery/pull/289
Adds
null
arg per recommendation