Page 1 of 1

Firefox 45/46 freezes with NoScript

Posted: Thu May 19, 2016 11:41 am
by troy
Hi, I had this problem 3-4 times. I thought it was a bad-website problem but then it happened on blogger (don't remember which blog) and then on bing.

CPU goes 100% and memory usage goes higher and higher. FF is unresponsive and the only way to exit is to kill the process in Task Manager.

The last time it happened on http://www.bing.com/mapspreview and I did some testing:

1. the problem happens if bing.com and live.com scripts are allowed but virtualearth.net scripts aren't. Maps doesn't appear and Firefox hangs
2. no difference between ff45 and ff46
3. with a brand new profile and only NoScript installed ff still freezes
4. a couple of times with the new profile I got the "stop the script" prompt, but only once I was able to actually stop the script and close the tab

I'm on WinXP, FF 46.0.1

Thanks.

Re: Firefox 45/46 freezes with NoScript

Posted: Thu May 19, 2016 12:49 pm
by barbaz
That would be a bad-website problem. The site just doesn't gracefully error handle 3rd-party script failing to load.

Sure, it's NoScript that's blocking virtualearth.net on your setup, but I'd guess any other addon blocking virtualearth.net at that bing site would cause the same result.

Re: Firefox 45/46 freezes with NoScript

Posted: Thu May 19, 2016 4:55 pm
by therube
The site just doesn't gracefully error handle 3rd-party script failing to load.
An understatement.

Re: Firefox 45/46 freezes with NoScript

Posted: Mon May 23, 2016 5:29 am
by Thrawn
It's probably possible to investigate and surrogate the broken script, given time. Otherwise, it will only work if you whitelist the third-party.

Re: Firefox 45/46 freezes with NoScript

Posted: Mon May 23, 2016 4:00 pm
by barbaz
Thrawn wrote:It's probably possible to investigate and surrogate the broken script, given time.
virtualearth.net would not be a candidate for a default surrogate.

Re: Firefox 45/46 freezes with NoScript

Posted: Tue May 24, 2016 11:43 pm
by Thrawn
Why not? If someone might reasonably want to block it, and if at least one high-profile site is known to break badly when it is blocked, why not check whether some kind of surrogate would help? It wouldn't need to be a complete replacement, just enough to fix Bing.

Or, alternatively, it might be possible to write a surrogate that would run on bing.com and fix whatever there is breaking.

Re: Firefox 45/46 freezes with NoScript

Posted: Wed May 25, 2016 10:52 pm
by barbaz
As I understand it, default script-replacing surrogates are for "undesirable" scripts that aren't necessary to the user; virtualearth.net being a legitimate maps site it really is required for full functionality of sites. Best course of action here would be to report the issue to Microsoft and hope they can make the site fail in more of a "Sorry, we couldn't load virtualearth.net. Please make sure virtualearth.net is unblocked and try again." type way.
Thrawn wrote:Or, alternatively, it might be possible to write a surrogate that would run on bing.com and fix whatever there is breaking.
+1, this could work as a default surrogate.