/    Sign up×
Community /Pin to ProfileBookmark

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 ([url]http://yshindin.narod.ru/Help/testhelp/Output/CHM_html_start.htm[/url]). 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 [url]http://yshindin.narod.ru/Help/testhelp/Output/testhelp.zip[/url]. 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 :: javascript:parent.contents.location.href=’CHM_frame_toc.htm’;parent.main.location.href=’home.htm’;parent.menu.document.searchform.searchtext.value = ”; :: <TOP_LEVEL> :: line 1″ data: no]

What can I do here?

Regards,
Yuri Shindin

e-mail: [email][email protected][/email]

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @yshindin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...