SOLVED

Re: iFrames not appearing on Google Chrome

Go to solution
Anonymous
Not applicable

iFrames not appearing on Google Chrome

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: iFrames not appearing on Google Chrome

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

View solution in original post

12 REPLIES 12
SanfordWhiteman
Level 10 - Community Moderator

Re: iFrames not appearing on Google Chrome

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 - Community Moderator

Re: iFrames not appearing on Google Chrome

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

Anonymous
Not applicable

Re: iFrames not appearing on Google Chrome

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.

SanfordWhiteman
Level 10 - Community Moderator

Re: iFrames not appearing on Google Chrome

Let me see if I can repro it. What version of Chrome/Mac, and are you opening and closing Incognito to trigger the issue, or can you trigger it within the same browser session?

Anonymous
Not applicable

Re: iFrames not appearing on Google Chrome

I'm on Chrome 69 and macOS High Sierra 10.13.6.

I can replicate the issue multiple times in a single session in both Incognito and regular browsing.

SanfordWhiteman
Level 10 - Community Moderator

Re: iFrames not appearing on Google Chrome

I can repro in Chrome 69, but not in Chrome 68 (as yet). Will check in current Canary. If it's not triggerable there, then there's a pretty clear conclusion.

Will have to resume later tonight as I have to go out for a bit.

Anonymous
Not applicable

Re: iFrames not appearing on Google Chrome

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!

SanfordWhiteman
Level 10 - Community Moderator

Re: iFrames not appearing on Google Chrome

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

Anonymous
Not applicable

Re: iFrames not appearing on Google Chrome

Hey Sanford,

Thanks so much for your help! I really appreciate you diving into this. Seems like the issue is edge case and will be resolved shortly.

Thanks again!