Nov 10, 2004, 3:03 AM
Post #1 of 1
spellcheck problem on mozilla
I have problem on running spellcheck on mozilla. The setup is running the htmlarea on a webserver with port 80 and spellchecker on the same webserver with port 82. (since the port 80 webserver does not support cgi) The setup does not have any problem under IE. However, it has problem running under mozilla and netscape. It seems to be a problem of "same origin" security problem.
Error: uncaught exception: Permission denied to get property Window.finishedSpellChecking
After I modified the prefs.js of mozilla, and added the following lines.
user_pref("capability.policy.trustable.sites", "http://aaa.bbb.com http://aaa.bbb.com:82");
I got another error.
Error: uncaught exception: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://aaa.bbb.com/htmlarea/plugins/SpellChecker/spell-check-ui.js :: finishedSpellChecking :: line 328" data: no]
Anyone can help me?
Thanks in advance