Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

iframe didnt popup untrusted certificate

  • 3 risposte
  • 1 ha questo problema
  • 188 visualizzazioni
  • Ultima risposta di philipp

more options

I am writing a webserver and testing that with firefox, connection is https secure and I have dummy CA and hence untrusted warning popup, which is fine for my tests. Now on one the page , I have an iframe which access the webserver but on a different port , I am expecting that iframe should popup a warning for untrusted certificate , user will accept and connection proceed, but this is not happening , Any idea ? I added sandbox=allow-scripts allow-same-origin allow-popups allowuntrusted all of these in iframe still no and my fieforx is version 32

I am writing a webserver and testing that with firefox, connection is https secure and I have dummy CA and hence untrusted warning popup, which is fine for my tests. Now on one the page , I have an iframe which access the webserver but on a different port , I am expecting that iframe should popup a warning for untrusted certificate , user will accept and connection proceed, but this is not happening , Any idea ? I added sandbox=allow-scripts allow-same-origin allow-popups allowuntrusted all of these in iframe still no and my fieforx is version 32

Soluzione scelta

unfortunately not. maybe you can work around that issue by offering a link to an unframed test page on the affected server and once people added an exception and can load this test page, redirect them to the actual page where you want to have them...

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (3)

more options

hello, what you are describing with the iframe is the intended behaviour in firefox according to https://bugzilla.mozilla.org/show_bug.cgi?id=756841

the only workaround for your visitors would be to right-click in the frame, select "this frame > show only this frame" and add an exception then...

more options

Thanks , I tried and it worked, only problem is my iframe get resize o full screen , which i don't want , any way to lock it ?

more options

Soluzione scelta

unfortunately not. maybe you can work around that issue by offering a link to an unframed test page on the affected server and once people added an exception and can load this test page, redirect them to the actual page where you want to have them...