For undefined variables in a page script such as this one:
console(aa);//aa is not defined
I can see the error message "Uncaught ReferenceError: aa is not defined" in console. But the same statement in the content script of Firefox extension does not produce any error message in console, why? This makes debugging syntax error hard.