Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Unable to set document.domain to superdomain

  • 3 respostas
  • 6 têm este problema
  • 1 exibição
  • Última resposta de irraju

more options

If my domain is abc.example.com, I should be able to set my document.domain to example.com to allow cross origin requests within the same domain. This used to work until 23 but may be you disabled it on 24. Is there a way to get over this issue?

If my domain is abc.example.com, I should be able to set my document.domain to example.com to allow cross origin requests within the same domain. This used to work until 23 but may be you disabled it on 24. Is there a way to get over this issue?

Todas as respostas (3)

more options

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).

To Enable SafeMode

  • You can open Firefox 4.0+ in Safe Mode by holding the Shift key when you open the Firefox desktop or Start menu shortcut.
  • Or open the Help menu and click on the Restart with Add-ons Disabled... menu item while Firefox is running.
  • Once you get the pop-up, just select "'Start in Safe Mode"

If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.

Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")

more options
more options

Small correction to the issue : It is working fine with regular websites except amazonaws.com nodes. When my url is abc-ip.compute.east.amazon.aws.com, when I am trying to set document.domain to amazonaws.com, it throws exception while .. If I create an alias for the same IP thats is abc.mycompany.com and try to assign mycompany.com to document.domain, it doesn't complain. Is it specific to Amazon (cloud nodes per se)?