Page 1 of 1
[RESOLVED] Undeclared Variable?
Posted: Wed Jul 15, 2009 3:29 am
by GµårÐïåñ
I noticed this in my error console, any idea what's the cause?
Warning: assignment to undeclared variable popup
Source file: chrome://noscript/content/noscriptOverlay.js
Line: 69
shortly after posting this, I get this:
Warning: reference to undefined property this.currentWin.wrappedJSObject
Source file: chrome://noscript/content/DOM.js
Line: 178
Re: Undeclared Variable?
Posted: Wed Jul 15, 2009 5:26 am
by Tom T.
Not without knowing the URL where it happened.
FWIW, at any given moment (like right now), I have 50-100 "warnings" in my EC. Unless the page doesn't work, I ignore them. If the page doesn't work, usually there will be actual red "Error" messages, which are the ones I'd post if trying to solve the issue.
Re: Undeclared Variable?
Posted: Wed Jul 15, 2009 6:08 am
by Giorgio Maone
You turned
javascript.options.strict to true in
about:config, didn't you?
Re: Undeclared Variable?
Posted: Wed Jul 15, 2009 7:09 am
by GµårÐïåñ
Tom T. wrote:Not without knowing the URL where it happened.
FWIW, at any given moment (like right now), I have 50-100 "warnings" in my EC. Unless the page doesn't work, I ignore them. If the page doesn't work, usually there will be actual red "Error" messages, which are the ones I'd post if trying to solve the issue.
Chrome issue my friend, was not related to a URL, it was not a content error.
Giorgio Maone wrote:You turned
javascript.options.strict to true in
about:config, didn't you?
Yes sir, I have that as true. Should I not?
Re: Undeclared Variable?
Posted: Wed Jul 15, 2009 7:24 am
by Tom T.
GµårÐïåñ wrote:Tom T. wrote:Not without knowing the URL where it happened.
FWIW, at any given moment (like right now), I have 50-100 "warnings" in my EC. Unless the page doesn't work, I ignore them. If the page doesn't work, usually there will be actual red "Error" messages, which are the ones I'd post if trying to solve the issue.
Chrome issue my friend, was not related to a URL, it was not a content error.
My bad. Read it too quickly and didn't even notice the "chrome" source. Sorry. Was just the first post I'd seen from you since your vacation, and a quick response was a way to say, "Welcome back"!
I'll get out of the way now, and let you and Giorgio sort this one out.

Re: Undeclared Variable?
Posted: Wed Jul 15, 2009 7:38 am
by Giorgio Maone
GµårÐïåñ wrote:
Giorgio Maone wrote:You turned
javascript.options.strict to true in
about:config, didn't you?
Yes sir, I have that as true. Should I not?
Yes, but you can expect to see a lot of noise about non-issues, especially on Fx 3.5 where "strict" is even stricter than before.
Re: Undeclared Variable?
Posted: Wed Jul 15, 2009 7:50 am
by GµårÐïåñ
Understood, thank you for the explanation sir, I was just wondering why I started seeing it suddenly and now I know. Appreciate the heads up and you are right, they are non-issues.