搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

iframe didnt popup untrusted certificate

  • 3 回覆
  • 1 有這個問題
  • 227 次檢視
  • 最近回覆由 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

被選擇的解決方法

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...

從原來的回覆中察看解決方案 👍 0

所有回覆 (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

選擇的解決方法

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...