Bug Tracker

Opened 15 years ago

Closed 14 years ago

#2999 closed bug (worksforme)

Exception when using .poistion()

Reported by: jrvan Owned by: brandon
Priority: major Milestone: 1.3
Component: offset Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:


I'm using the latest nightly build, and it's also present in release build. I'm calling the new .position() function and getting this exception:

Error: uncaught exception: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :

Change History (3)

comment:1 in reply to:  description Changed 15 years ago by jrvan

Replying to jrvan:

I done some testing on it, I identified line 3464 as the problem (In the nightly build). This line:

	// Get correct offsets
			offset       = this.offset(),
			parentOffset = /^body|html$/i.test(offsetParent[0].tagName) ? { top: 0, left: 0 } : offsetParent.offset();

Specifically I think it is this part of that line causing the exception:


comment:2 Changed 15 years ago by flesler

Component: coreoffset
need: ReviewTest Case
Owner: set to brandon

Your details are not quite enough to be able to handle this. Could you provide a test case ? a minimalistic html file with the requires html and js to reproduce the problem. Thanks.

comment:3 Changed 14 years ago by brandon

Resolution: worksforme
Status: newclosed

I can't seem to reproduce this issue. Feel free to reopen with a test case.

Note: See TracTickets for help on using tickets.