Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Firefox failing to render US government website https://maps.nwcg.gov/sa/

  • 2 respostas
  • 1 tem este problema
  • 9 visualizações
  • Última resposta por firefox928

more options

I have firefox 80.0 on two machines one succesfully renders https://maps.nwcg.gov/sa/ then other does not. Minimal extentions installed and both are on the same firefox account so the extentions are the same

The only difference between the two setups is the failing machine is win10 pro and the working one is win10 home. Infrastructure wise both are on the same LAN with the same setup.

The failing machine gets a js error Error: scriptError

   _ https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   r https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25

vendor.js:25:10839

   <anonymous> https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   signal https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   g https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   signal https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   r https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25

Also on the failing machine I tried creating a brand new clean profile (about:profiles) and it still fails with the same JS error.

I have firefox 80.0 on two machines one succesfully renders https://maps.nwcg.gov/sa/ then other does not. Minimal extentions installed and both are on the same firefox account so the extentions are the same The only difference between the two setups is the failing machine is win10 pro and the working one is win10 home. Infrastructure wise both are on the same LAN with the same setup. The failing machine gets a js error Error: scriptError _ https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 r https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 vendor.js:25:10839 <anonymous> https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 signal https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 g https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 signal https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 r https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 Also on the failing machine I tried creating a brand new clean profile (about:profiles) and it still fails with the same JS error.
Capturas de ecrã anexadas

Solução escolhida

Thanks TyDraniu,

Your suggestion actually led to me figuring it out. Screenshot 1 showed 1 important looking 404 on gregorian.js - so I went to the machine that works and it doesn't try and load that script, but then I noticed that there was "en-gb.js" on the machine that doesn't work. So checking language, even in a brand new profile it copied it from my install and was set to British English, changing the browser to American english worked. Obviously there is some language/locale dependent code in the site.

TL;DR - Locale settings were different. British English doesn't work on US gov website.

Ler esta resposta no contexto 👍 1

Todas as respostas (2)

more options

Can you go to the Network tab and see, if there any 404 errors for this site?

more options

Solução escolhida

Thanks TyDraniu,

Your suggestion actually led to me figuring it out. Screenshot 1 showed 1 important looking 404 on gregorian.js - so I went to the machine that works and it doesn't try and load that script, but then I noticed that there was "en-gb.js" on the machine that doesn't work. So checking language, even in a brand new profile it copied it from my install and was set to British English, changing the browser to American english worked. Obviously there is some language/locale dependent code in the site.

TL;DR - Locale settings were different. British English doesn't work on US gov website.