Page 1 of 1

[RESOLVED] speedtest failure - possible noscript bug

Posted: Mon Dec 20, 2010 5:06 pm
by linuser
- the latest mindfield build ( 4.0b9pre - 2010-12-20 )
- the latest noscript dev version ( 2.0.9rc2 )
- http://www.speedtest.net scripts allowed
- download test is OK
- upload test doesn't start ( "Upload Test Errror" )

I suspect it could be a problem related to noscript because while the upload test is starting , it appears the following mex in the Error Console just before the upload test failure message appears :

Code: Select all

[NoScript XSS] xss.reason.[Exception... "Cannot modify properties of a WrappedNative"  nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)"  location: "JS frame :: chrome://noscript/content/IOUtil.js :: <TOP_LEVEL> :: line 379"  data: no] --- undefined

Re: speedtest failure - possible noscript bug

Posted: Mon Dec 20, 2010 10:15 pm
by linuser
Tested also with Firefox 3.6.13 ( on Linux , Mozilla Official Distribution , not distro-specific compiled browser ) , Noscript 2.0.8.1 : the same error message in the Error Console.

Re: speedtest failure - possible noscript bug

Posted: Fri Dec 24, 2010 12:08 am
by Giorgio Maone
It's working for me, even though you actually spotted a bug which will be fixed.
Have you got any special ABE rule (esp. Anon ones)?

Re: speedtest failure - possible noscript bug

Posted: Fri Dec 24, 2010 4:00 pm
by linuser
Giorgio Maone wrote:Have you got any special ABE rule (esp. Anon ones)?
Yes , this one :

Code: Select all

Site *
Accept from SELF++
Anon
The speedtest is back working by commenting the rule above .

Re: speedtest failure - possible noscript bug

Posted: Fri Dec 24, 2010 4:33 pm
by Giorgio Maone
linuser wrote:
Giorgio Maone wrote:Have you got any special ABE rule (esp. Anon ones)?

Code: Select all

Site *
Accept from SELF++
Anon
The speedtest is back working by commenting the rule above .
Pretty much expected. The only code path where the bug could be hit, indeed, is POST requests which get anonymized (and this is the case in question).
Therefore fixing the bug (already in next dev build) will fix your issue as well.

Re: speedtest failure - possible noscript bug

Posted: Mon Dec 27, 2010 4:55 pm
by Giorgio Maone

Re: speedtest failure - possible noscript bug

Posted: Tue Dec 28, 2010 4:54 pm
by linuser
I confirm no more XSS error message in the console since NoScript version v 2.0.9rc4 installed on the latest Mindfield nightly builds , but the upload test now seems to stop itself before beeing completely finished giving very low results under average.

If I leave the Anon rule I obtain quite always around 0.05 Mb/sec while if I comment the Anon rule I obtain 0.25 Mb/sec which is the real upload max speed.

At this point I think this behaviour is wanted by the associated speedtest servers , so to reject and/or terminate anonimyzed/unauthorized uploads.

Anyway , I think the issue can be declared as solved.