[RESOLVED] Conflict between NoScript & new debugger

Ask for help about NoScript, no registration needed to post

[RESOLVED] Conflict between NoScript & new debugger

Postby mauro.sanabria » Thu Jun 14, 2012 6:01 am

Good evening; I use Fx Aurora for normal browsing, as it is stable enough for this purpose. Following this site recommendation I use the latest developer version for NoScript.

Last week Fx Aurora reached the 15.0a2 level and this is the first time I noticed a new tool under the Web Developer menu, namely the Debugger (was it there in 14.0a2?). Unfortunately when I try to activate it via menu it flashes at the window bottom and disappears, leaving only the check mark visible in the menu entry.

After some add-on bisecting it turned out NoScript was the culprit: disabling it allows the Debugger to appear. Moreover, creating a brand new profile and installing only NoScript (this time I tried with the normal release) reproduces the problem, again solved by disabling NoScript. Debugger works alright in this new profile before installing NoScript as well.

The first thing that suggested a conflict was that the new Debugger can be activated by the Ctrl-Shift-S shortcut; however, by default NoScript pops up its menu with this shortcut as well (could be changed via about:config) and the NoScript binding wins over the Debugger one, leaving only the Web Developer menu option to activate the Debugger. Alas, this may not be the cause of the problem described above since yet another add-on (Petr Blahos' Sudoku) uses this shortcut, but this time the Debugger binding wins (when NoScript is disabled or not installed, of course).

Eager to try the new Debugger, for the time being I have disabled NoScript (heresy!); could you please look into this? Thanks for such powerful add-ons (Flashgot user here as well).

BTW, first post. Yay!
Last edited by mauro.sanabria on Tue Jul 10, 2012 10:31 pm, edited 4 times in total.
Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120613 Firefox/15.0a2
mauro.sanabria
 
Posts: 3
Joined: Thu Jun 14, 2012 5:29 am

Re: Conflict between NoScript & Web Developer debugger

Postby Thrawn » Thu Jun 14, 2012 12:37 pm

Hi, Mauro. Thanks for the report; I believe it has already been raised recently. Does that thread help?
======
Thrawn
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/IT/M/S d++(-) s+: C++$ ULS$>++++ P(+) L++ W++
K- w V? PS-(---) PE Y+ PGP->++ t@ X R tv b++>+++ DI+@
!D G>+++ e++>+++ h--- r+++ m?
-----END GEEK CODE BLOCK-----
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0
User avatar
Thrawn
Senior Member
 
Posts: 1017
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia

Re: Conflict between NoScript & Web Developer debugger

Postby mauro.sanabria » Wed Jun 27, 2012 11:42 pm

Thrawn wrote:Hi, Mauro. Thanks for the report; I believe it has already been raised recently. Does that thread help?

Hi Thrawn; my apologies for the late reply, I was totally unable to follow up after my OP. I checked the referred post, but it is not the same issue: this one doesn't have to do with hovering/right-clicking the NoScript icon nor is a crash. After several Aurora updates (and at least one for NoScript) the issue remains. STR:
  • Using Aurora 15.0a2, create and use a new profile
  • Install NoScript and restart Fx
  • Bring up the new debugger with Aurora button -> Web Developer -> Debugger
  • Note that the debugger pane flashes for a fraction of a second and disappears, while its menu option remains checked
  • Also note that the keyboard shortcut for the debugger (Ctrl+Shift+S) is swallowed by NoScript
  • Go to about:addons, disable NoScript and restart Fx
  • Now bring up the debugger either with the Aurora button menu or with the keyboard shortcut
  • Success!
All of this was tried with Windows 7 32-bit, no other systems currently available. Please tell me whether this is reproducible at your end. Thanks...
Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120627 Firefox/15.0a2
mauro.sanabria
 
Posts: 3
Joined: Thu Jun 14, 2012 5:29 am

Re: Conflict between NoScript & Web Developer debugger

Postby therube » Thu Jun 28, 2012 10:37 pm

Working here.

Image
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120628 Firefox/15.0a2 SeaMonkey/2.12a2
User avatar
therube
Ambassador
 
Posts: 4377
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Conflict between NoScript & Web Developer debugger

Postby therube » Thu Jun 28, 2012 10:39 pm

Ah.
Working here ... the very first time I attempted.

The second time, a flash ;-), then nothing more:

Code: Select all
Error: [Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIOutputStream.write]"  nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)"  location: "JS frame :: chrome://global/content/devtools/dbg-transport.js :: DT_onOutputStreamReady :: line 94"  data: no]
Source File: chrome://global/content/devtools/dbg-transport.js
Line: 94


Code: Select all
    let written = aStream.write(this._outgoing, this._outgoing.length);



So ...

Quit FF
Restart FF
[do NOT hit Ctrl+Shift+S]
Bring up the new debugger with Aurora button -> Web Developer -> Debugger [it should work]
Close Debugger
Bring up the new debugger with Aurora button -> Web Developer -> Debugger == FLASH (& Error Console message).


Restart in Safe Mode, & Debugger works repeatedly, either by menu or shortcut key.


This turned up some very interesting threads (to me) though I don't think pertinent to this issue, https://bugzilla.mozilla.org/buglist.cg ... id=3558223 ?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120628 Firefox/15.0a2 SeaMonkey/2.12a2
User avatar
therube
Ambassador
 
Posts: 4377
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Conflict between NoScript & Web Developer debugger

Postby mauro.sanabria » Tue Jul 10, 2012 10:27 pm

Thrawn, therube, thanks for your replies; the latest NoScript developer version 2.4.8rc3 contains a workaround for this issue as well as changing the old keyboard shortcut which was conflicting with the new debugger. The workaround is for bugzilla bug 771655.

So NoScript works again! :D Re-enabled; thanks a lot Giorgio!
Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120710 Firefox/15.0a2
mauro.sanabria
 
Posts: 3
Joined: Thu Jun 14, 2012 5:29 am


Return to NoScript Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests