When trying to view a JSON document with NoScript enabled I get a white page and lots of errors in the devtools console, all of which are "TypeError: React is undefined". Allowing scripts globally does not fix the issue.
Test doc: https://ac.duckduckgo.com/ac/?callback=&q=test
This only seems to happen on HTTP(S) pages. When using a data: URI the JSON Viewer works as expected. ex: data:application/json,{"test":"data"}
NoScript: 2.6.9.39rc1
Firefox: 44.0a2 (2015-11-13) 64-bit
OS: Windows 10 64-bit
NS breaks JSON Viewer in Firefox Developer Edition
NS breaks JSON Viewer in Firefox Developer Edition
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:44.0) Gecko/20100101 Firefox/44.0
Re: NS breaks JSON Viewer in Firefox Developer Edition
Any change if you disable e10?
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:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
Re: NS breaks JSON Viewer in Firefox Developer Edition
Disabling e10 does not fix it.therube wrote:Any change if you disable e10?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:44.0) Gecko/20100101 Firefox/44.0
-
jamonation
- Posts: 1
- Joined: Mon Jan 04, 2016 11:00 am
Re: NS breaks JSON Viewer in Firefox Developer Edition
I'm experiencing this issue on 45.0a2 (2015-12-25) developer edition with the latest development noscript, with and without e10s, using http or https URLs.
The network inspector Response pane shows this message:
The network inspector Response pane shows this message:
With the addon disabled, I can use the network inspector and I can see the parsed JSON data.SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
eyJyZXN1bHRzIjogW119
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0
Re: NS breaks JSON Viewer in Firefox Developer Edition
Same thing here. Using firefox-45.0a2.pt-BR.linux-x86_64 on Ubuntu 14.04.3 LTS. Noscript version is 2.9.0.2.jamonation wrote:I'm experiencing this issue on 45.0a2 (2015-12-25) developer edition with the latest development noscript, with and without e10s, using http or https URLs.
With the addon disabled, I can use the network inspector and I can see the parsed JSON data.
When I visit a URL like "https://ac.duckduckgo.com/ac/?callback=&q=test", I get a blank page. However on developer console the only error I get is "TypeError: React is undefined".
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Re: NS breaks JSON Viewer in Firefox Developer Edition
I noticed something else about this bug: If you allow scripts globally, even data: URLs have broken JSON viewers when they normally work.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0