HieuLsw / mraid-web-tester

Automatically exported from code.google.com/p/mraid-web-tester
0 stars 0 forks source link

document.write calls are not supported in HTML fragments #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to use any sort of ad tag that uses document.write
2. Note how the document has been replaced with a one that is always in 
readyState=="loading"
3. Attempt to use any MRAID APIs from the inner document

See attached patch on safar/mraidview.js for a fix. Was applied against the 
current version on webtester.mraid.org

Original issue reported on code.google.com by ryan.pet...@medialets.com on 10 Mar 2014 at 5:30

Attachments:

GoogleCodeExporter commented 9 years ago
Ryan,

We really like the approach behind this patch. Unfortunately, one of the 
upcoming IAB certification ads that works before the patch, fails after 
applying it. Maybe you can find out why?

Thanks,
-Nathan

Original comment by nathan.c...@crispmedia.com on 27 Mar 2014 at 7:40

Attachments:

GoogleCodeExporter commented 9 years ago
This issue moved to the GitHub project, https://github.com/mraid/webtester.

Original comment by nathan.c...@crispmedia.com on 1 Jul 2014 at 8:24