Re: Venkman XUL debugging access denied

Gijs Kruitbosch <[email protected]> Sat, 18 Apr 2009 09:50:57 +0100
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
izi wrote:
> Hi all,
> 
> I'm trying to debug chatzilla with venkman. Followed instructions at:
> https://developer.mozilla.org/en/Debugging_a_XULRunner_Application, works
> fine. However, when debugging a sample plugin, I get errors:
> 
> Error loading URL <chrome://chatzilla/content/static.js ->
> file:///$chatzillaProfile/sampleplugin/init.js>: [Exception... "Access to
> restricted URI denied" code: "1012" nsresult: "0x805303f4
> (NS_ERROR_DOM_BAD_URI)" location:
> "chrome://venkman/content/venkman-url-loader.js Line: 54"].
> 
> where:
> $chatzillaProfile is the profile folder for chatzilla
> sampleplugin is the name of the plugin
> 
> Couldn't find a way to circumvent this. Tried
> http://www.nabble.com/Re:-XULRunner-vs-Venkman-td4148141.html (venkman
> opening chatzilla instead of vice versa). Tried
> http://kb.mozillazine.org/Links_to_local_pages_don%27t_work (checkloaduri
> allAccess). Tried running xulrunner -jsconsole, nothing in the console.
> ChatZilla and script works fine otherwise. 
> 
> Any ideas?

Which version of Venkman, ChatZilla and XULRunner are you using?


~ Gijs