Ticket #5788 (closed bug: invalid)
jquery 1.4rc1
| Reported by: | deckberg | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | event | Version: | 1.4a2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
Change History
Changed 3 years ago by scott_sauyet
-
attachment
screenshot_scott_sauyet_2010-01-12a.png
added
Screenshot of my confirmation
comment:2 Changed 3 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 3 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
- Component changed from unfiled to event
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

validation plugin is version 1.6