Menu

#87 setSelectionRange cause NS_ERROR_FAILURE

open
nobody
None
5
2010-09-30
2010-09-30
Anonymous
No

in FF 3.6.10 and IE 8 script causes a bug. I get only the first two lines and then nothing is shown.
This is the message shown in the firebug console.
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.setSelectionRange]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: MYPAGE_URL :: anonymous :: line 34" data: no]

Works great in Chrome though.

Discussion

  • Anonymous

    Anonymous - 2010-09-30

    please note that i'm highlighting XML with the patched XML regs file attached

     
  • Anonymous

    Anonymous - 2011-02-26

    I'm getting the exact same exception. It even claims to come from line 34 as well (line 34 in what file??)

    I'm using Firefox 3.6.13. It only happens on one of my pages, though - I've added EditArea to another page and it works fine.

     
  • Jim

    Jim - 2011-04-28

    I am getting the exact same error on firebug. I am using FireFox 3.6.16

    Strangely, I am using the same editarea code on two other sections of my site and they work just fine.

    www.codeeval.com

     

Log in to post a comment.

MongoDB Logo MongoDB