[RESOLVED] Undeclared Variable?

Ask for help about NoScript, no registration needed to post
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

[RESOLVED] Undeclared Variable?

Post 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
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Undeclared Variable?

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US at an expert level; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 diehard
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Undeclared Variable?

Post by Giorgio Maone »

You turned javascript.options.strict to true in about:config, didn't you?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Undeclared Variable?

Post 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?
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Undeclared Variable?

Post 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"! :D
I'll get out of the way now, and let you and Giorgio sort this one out. :)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US at an expert level; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 diehard
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Undeclared Variable?

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Undeclared Variable?

Post 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.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5
Post Reply