Venkman XUL debugging access denied

izi <[email protected]> Sat, 18 Apr 2009 01:31:32 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
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?
-- 
View this message in context: http://www.nabble.com/Venkman-XUL-debugging-access-denied-tp23098686p23098686.html
Sent from the Mozilla - JavaScript Debugger mailing list archive at Nabble.com.