Skip to main content

Bug Tracker

Side navigation

#5788 closed bug (invalid)

Opened January 12, 2010 06:20PM UTC

Closed June 13, 2010 11:55PM UTC

jquery 1.4rc1

Reported by: deckberg Owned by:
Priority: major Milestone: 1.4
Component: event Version: 1.4a2
Keywords: Cc:
Blocked by: Blocking:

version rc1 line 4968

I have a login box that uses the remote function to validate the email address. works find in 1.3.2 gives me an "Illegal operation on WrappedNative prototype object" error in firefox 3.5.7 with 1.4rc1

example site: click on a listing to view more details and it will ask you to login.

Attachments (1)
Change History (3)

Changed January 12, 2010 06:22PM UTC by deckberg comment:1

validation plugin is version 1.6

Changed January 12, 2010 08:09PM UTC by scott_sauyet comment:2

Just added a screenshot of FF 3.5.7 having this issue. I get no error unless Firebug is open.

This consistently gets the error for me:

1 Start with Firebug open

2 Load page, wait for loading animation to complete

3 Click on "My Saved Homes" in the top navigation

4 Choose "Sign In"

5 Enter "sc" in the email box

6 Hit TAB: the validation error is shown

7 Hit CTRL-TAB: type ""

8 Error is shown in Firebug

Error text: "uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: :: anonymous :: line 4968" data: no]"

Changed June 13, 2010 11:55PM UTC by dmethvin comment:3

component: unfiledevent
resolution: → invalid
status: newclosed

The referenced page is gone, but the references to NS_ERROR_XPC_BAD_OP_ON_WN_PROTO lead me to believe that they are due to using $(window).error() in an attempt to handle script errors. The error event on window is not supported by jQuery's event system, use window.onerror instead.