Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Firefox 8 displays source to nested iframes insead of the html

  • 4 відповіді
  • 5 мають цю проблему
  • 3 перегляди
  • Остання відповідь від Bill

more options

I have had nested iframes for a few years, Firefox and other browsers display them without problems, but today with Firefox 8, I see the HTML source of the nested iframe. My test case had a Google Graph in it, but since it is only displaying the HTML, I am assuming the content is meaningless. I was about to create a test case, but I found my editor (tinymce) is also failing probably for the same reason.

I have had nested iframes for a few years, Firefox and other browsers display them without problems, but today with Firefox 8, I see the HTML source of the nested iframe. My test case had a Google Graph in it, but since it is only displaying the HTML, I am assuming the content is meaningless. I was about to create a test case, but I found my editor (tinymce) is also failing probably for the same reason.

Змінено Bill

Обране рішення

Looks like I answered my own question. The nested iframe did not have a header. Once I added my standard header, it worked. Firefox must be getting picker about headers in iframes.

Читати цю відповідь у контексті 👍 0

Усі відповіді (4)

more options

Вибране рішення

Looks like I answered my own question. The nested iframe did not have a header. Once I added my standard header, it worked. Firefox must be getting picker about headers in iframes.

more options

The server may not recognize the file extension if it is not .html and sends the file as text/plain.

Does that file have a .html file extension and is it send as text/html by the server?


A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

more options

The iframe is not HTML, but cgi-bin with a Perl (.pl) extension. I noticed the standard header was missing (including the line in one of my previous posts), and after adding it in, it started working. I am in the process of moving my programs to Apache so I don't have to worry about headers, and let it handle all the front end stuff.

more options

Looks like the message where I answered myself is missing -- I added standard header mainly a blank line and a <!DOCTYPE ... > before the HTML.

Змінено Bill