Hi,
I am making modifications to some of the browser js files. The changes seem to get ignored unless I delete the profile.
Looking on the web, I see that you need to delete the associated jsm, but I don't see a jsm for chrome/browser/content/browser/browser.js.
Is there a way to force an update of the cache?
Thanks!
Forcing reload of browser/omni.ja
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
Re: Forcing reload of browser/omni.ja
Gecko has a javascript cache, which is not automatically cleared across restarts. To clear the cache when restarting, add a -purgecaches flag to the executable commandline.
i.e.
firefox.exe -purgecaches
FirefoxPortable.exe -purgecaches
If that doesn't work, then try to delete the binary version of the file in the jsloader folder.
Similar threads:
http://forums.mozillazine.org/viewtopic ... &t=2839949
http://forums.mozillazine.org/viewtopic ... &t=2457053
i.e.
firefox.exe -purgecaches
FirefoxPortable.exe -purgecaches
If that doesn't work, then try to delete the binary version of the file in the jsloader folder.
Similar threads:
http://forums.mozillazine.org/viewtopic ... &t=2839949
http://forums.mozillazine.org/viewtopic ... &t=2457053