Code: Select all
Error: fullZoomBtn.initPref is not a function
Source file: chrome://defaultfullzoomlevel/content/fullZoomBtn.js
Line: 11
Not sure why exactly since it looks like initPref is a function, but I'm getting it anyway. What's really odd is that it doesn't look like fullZoomBtn.js is supposed to even be loading in Firefox 4.0. Looking at Chromebug it looks like all 6 javascript files are being loaded into Firefox 4.0 (and the nightly Minefield loads) and there is a "statusbarZoomLevel" statusbarpanel item being added, which should only be added in Firefox 3.6 and below according to the chrome.manifest. I'm guessing there's an error in the chrome.manifest or something.
I also notice the the window load event handler is trying to run an object instead of a function:
window.addEventListener("load", fullZoomBtn, false);