Bug Tracker

Opened 14 years ago

Closed 13 years ago

#5788 closed bug (invalid)

jquery 1.4rc1

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

Description

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. http://www.realestatehomepages.com/livedevpropertysearch/index.asp?p=105658&i=10805

Attachments (1)

screenshot_scott_sauyet_2010-01-12a.png (103.3 KB) - added by scott_sauyet 14 years ago.
Screenshot of my confirmation

Download all attachments as: .zip

Change History (4)

comment:1 Changed 14 years ago by deckberg

validation plugin is version 1.6

Changed 14 years ago by scott_sauyet

Screenshot of my confirmation

comment:2 Changed 14 years ago by scott_sauyet

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 "scott.sauyet@…" 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 :: http://www.realestatehomepages.com/includes/cachablescripts/js/jquery/1.4rc1/jquery.js :: anonymous :: line 4968" data: no]"

comment:3 Changed 13 years ago by dmethvin

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.

Note: See TracTickets for help on using tickets.