Nasty Firebug's console.log() issue with NoScript 2.1.0.1

Bug reports and enhancement requests
Panajev
Posts: 18
Joined: Fri Jul 17, 2009 11:18 am

Nasty Firebug's console.log() issue with NoScript 2.1.0.1

Post by Panajev »

On the WebGL test apps I am working on, the console.log() function does not print anything* to Firebug's console anymore since the latest update for NoScript got installed. If I disable NoScript and restart the apps, they both print the log correctly.

*Note: console.log(); does not seem to display anything but GET's intercepted by Firebug do show up on the console.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Giorgio Maone »

Panajev wrote:since the latest update for NoScript got installed.
Does this imply that downgrading actually cures the symptom?
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Panajev
Posts: 18
Joined: Fri Jul 17, 2009 11:18 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Panajev »

Giorgio Maone wrote:[quote="Panajev"since the latest update for NoScript got installed.
Does this imply that downgrading actually cures the symptom?[/quote]

Well... arg... did not try to downgrade it (I did not even think of doing that since it worked yesterday before the NoScript update and it did not work today just after I restarted Firefox with the NoScript update applied) :(...
Last edited by Panajev on Fri Apr 01, 2011 3:13 pm, edited 1 time in total.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
Panajev
Posts: 18
Joined: Fri Jul 17, 2009 11:18 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Panajev »

Ok, yes... it does imply that :).
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Giorgio Maone »

Is this specific to your app or a simple HTML page with a console.log() statement shows the same issue?
Does the Error Console display any error message?
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Panajev
Posts: 18
Joined: Fri Jul 17, 2009 11:18 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Panajev »

I see this:

Code: Select all

Error: [Exception... "Component returned failure code: 0x805e0006 [nsIDOMLocation.href]"  nsresult: "0x805e0006 (<unknown>)"  location: "JS frame :: chrome://noscript/content/ScriptSurrogate.js :: <TOP_LEVEL> :: line 203"  data: no]
Source File: chrome://noscript/content/ScriptSurrogate.js
Line: 203
Edit:

even this page shows the same issue:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>t</title>
	<meta name="generator" content="Studio 3 http://aptana.com/">
	<meta name="author" content="Goffredo Marocchi">
	<!-- Date: 2011-04-01 -->
</head>
<body>
	
	<script type="text/javascript">

    console.log("...........................");

</script>

</body>
</html>
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Giorgio Maone »

Could you check latest development build?
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Panajev
Posts: 18
Joined: Fri Jul 17, 2009 11:18 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Panajev »

Giorgio Maone wrote:Could you check latest development build?
The only error I get with this development version, that might be related to that (or maybe not), is this:

Code: Select all

Error: this.childNodes[i].tab is undefined
Source File: chrome://browser/content/tabbrowser.xml
Line: 3599
but I still get the same logging problem as before.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
Panajev
Posts: 18
Joined: Fri Jul 17, 2009 11:18 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Panajev »

Do you have any update on this issue? Firebug is not really usable in this state... :(...
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
Panajev
Posts: 18
Joined: Fri Jul 17, 2009 11:18 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Panajev »

Upgraded to the latest NoScript release and I still see this issue.

Boot Firefox, open tab, load webpage, see output in the web console only but no Firebug log anymore. This did not happen with that previous NoScript release as I mentioned before.
Do you have any update on this issue?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
wieseldiesel
Posts: 1
Joined: Tue Apr 12, 2011 10:50 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by wieseldiesel »

Hi @ All,

I have exactly the same Problem! Your FAQ says that noscript.forbidData set to true in about:config helps but not for me! http://noscript.net/faq#qa3_14
But it seems to be the same Problem because i get a <system> message in Firebug with linkage to a funktion named "httpRequestObserver".

Deleting Firefox & Reinstall it with no Add-Ons but NoScript and new Firefox Profile not help. Is is since last week i guess from the latest update of NoScript.


Thanks GreG
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
netherous
Posts: 1
Joined: Thu Apr 14, 2011 6:21 pm

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by netherous »

I think I am having the same issue. console.log and all console.x commands produce no output after upgrading to NoScript 2.1.

Steps to reproduce:
1) Load Firefox 4.0 with Firebug 1.7 or later and NoScript 2.1 or later.
2) Go to google.com
3) Type console.log('hi'); into the command box and run it
4) Both the expression evaluated and the resulting output are printed

Code: Select all

>>> console.log('hi');
hi
5) Hit F5 to reload the page
6) Type console.log('hi'); into the command box and run it
7 Only the expression evaluated statement is printed. No output is generated from the invocation of console.log

Code: Select all

>>> console.log('hi');
Alternatively, loading javascript with any console.x from any page also produces no output at any time. Once the console is "broken" in this manner, it can be temporarily fixed by selecting Deactivate Firebug for this Website, and then clicking the bug icon to activate it again. Console output from commands entered into the command box will work until the page is refreshed. Other events, like GET requests, appear in Firebug's log normally even when the problem with the console is occurring.

This happens with Firebug 1.7 and 1.7.1b1 and Noscript 2.1 and above, including 2.1.0.2rc6. Downgrading to NoScript 2.0.9.9 fixes it. Disabling NoScript also allows the console to work normally in Firebug.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0
azoc
Posts: 1
Joined: Fri May 06, 2011 8:47 pm

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by azoc »

Same issue here. Firebug console does nothing on page load with NoScript 2.1 installed. I was able to get it to work, though impractically, by deactivating Firebug, then reactivating it for the page. At that point I could actually evaluate JS in the console but it was a real pain.

Found this thread and downgraded to 2.0.9.9, now the console works fine as before.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Cork
Posts: 3
Joined: Thu May 19, 2011 6:52 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by Cork »

This happens with any output in the console, not just console.log. even just a simple string "test" results in nothing.
Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110518 Firefox/6.0a1
danielnashnz
Posts: 6
Joined: Fri May 27, 2011 10:56 am

Re: Nasty Firebug's console.log() issue with NoScript 2.1.0.

Post by danielnashnz »

Also seen on MacOSX 10.6.7, Firefox 4.0.1, NoScript 2.1.0.5, Firebug 1.7.1 visiting various sites, including http://www.nature.com
Disabling Noscript got Firebug working again for me.

dunno if this is useful:

Switching NoScript to block the site got me:
Firebug cannot find firebug-CommandLineAttached document.getUserData , its too early for command line Window [www.nature.com]

[Edit] - Retested with 2.0.9.9 - works fine, 2.1.0 - same issue as described.
Rolling back for now...
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Post Reply