www.webdeveloper.com
Results 1 to 1 of 1

Thread: FireFox hangs on executing a Javascript. Help!!!

  1. #1
    Join Date
    Oct 2005
    Posts
    1

    FireFox hangs on executing a Javascript. Help!!!

    Hi everybody!
    Please, help me to cope with a bug in FireFox.

    I have prepared example of Online Help (http://yshindin.narod.ru/Help/testhe...html_start.htm). Before running, enable cookies in FireFox.
    Load the Help page in FireFox, click the Favorites link. The System will display the "No Favorite topic found" message. Click Contents or Index - everything works.

    Now, download the Help to your local drive from http://yshindin.narod.ru/Help/testhe...t/testhelp.zip. Unzip and do as follows.
    1. Load the Help from the CHM_html_start.htm page.
    2. Click Favorites. The System displays "No Favorite topic found" (but note - the font is different)
    3. Click Contents (or Index). The browser hangs.

    If I look into the JavaScript console, I see the message:
    Error: uncaught exception: [Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIDOMLocation.href]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: javascriptarent.contents.location.href='CHM_frame_toc.htm';parent.main.location.href='home.htm';parent.menu.do cument.searchform.searchtext.value = ''; :: <TOP_LEVEL> :: line 1" data: no]

    What can I do here?

    Regards,
    Yuri Shindin

    e-mail: yshindin@yandex.ru
    Last edited by yshindin; 10-24-2005 at 02:03 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles