firefox addon - Failing to load overlay in xul application -


i have stand-alone xulrunner application, needs extension work properly. after install xpi file, jsconsole reporting me error "failed load overlay chrome://my-client/content/overlays/index.xul". means chrome.manifest file recognized, path overlay not good.

my chrome.manifest file in xpi

content my-client file:chrome// overlay chrome://app/content/lib/conf.xul chrome://my-client/content/overlays/index.xul 

id of extension in install.rdf file same id in application.ini file of main application. have enabled extension manager

[xre] enableextensionmanager=1 

and have extension.js file in prefs.

the weird part when symlink folder of my-client extension extension folder in main application works expect. occurs when install xpi through extension manager.

i figured out. problem forgot put line of code in install.rdf file

<em:unpack>true</em:unpack> 

documentation here: https://developer.mozilla.org/en/docs/install_manifests#unpack


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -