iFrames not appearing on Google Chrome | Community
Skip to main content
September 18, 2018
Solved

iFrames not appearing on Google Chrome

  • September 18, 2018
  • 1 reply
  • 31971 views

Hello,

Trying to pull in a Marketo form through an iFrame. We've noticed Chrome will randomly reject the iFrame and not load the form. We can't consistently recreate the bug, but I'd say it happens 50% of the time.

Anyone ever experienced this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Thanks for your help, Sanford. I really appreciate you looking into this.

Please let me know what you find / what the solution could be.

Thanks again!


As far as I can see, this is a Chrome 69 bug only, not existing in versions on either side of 69. Not the first time (by any means) such a thing has happened!

Chrome 70 is going to go Stable around October 16th. This means 3 more weeks of dealing with your forms not rendering, or switching to embeds.   As far as I can see the problem persists even when the IFRAMEs are the only elements in the page, so there's nothing else to trim down or tweak. It happens a lot less than 50% of the time for me, though. More like 5%.

1 reply

SanfordWhiteman
Level 10
September 18, 2018

You'll have to provide a URL. Surely the root cause is not going to be truly random, unless you're actually generating a random number in code! More likely, you have a race condition which creates different results based on network conditions. Fixing that race will be the goal. But we need to be able to see what you're seeing first.

SanfordWhiteman
Level 10
September 18, 2018

When it "rejects" the IFRAME, what is the console error message?

September 18, 2018

That's what's so strange - there's no console error message. We just see a red "200" that indicate the IFRAME didn't load.