Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

281
Visualizações
CefSharp - Can't access parent of iFrame if parent has an opener

Scenario:

  • page1 contains a hyperlink which opens page2 in a separate tab.
  • page2 loads content in an iFrame

Both pages and the iFrame content are from the same domain.

If the hyperlink in page1 has target="_blank" rel="noopener noreferrer" then the iFrame in page2 can access window.parent. If the hyperlink in page2 has target="my-tab-name" then the iFrame in page2 crashes when it tries to access any properties of window.parent.

This does not happen in chrome, it only happens when the page is loaded in a CefSharp browser. I inherited the C# code so I don't know if I'm missing some settings, but I can't see anything obvious.

about 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda