I've got an application that uses the EO browser that I am working on upgrading from a 17.x license to the newest 18.x license. We have some javascript code that opens a new window and writes content to it.
Code: JavaScript
var h = '<html><head><title>View</title></head><body style="margin:0;overflow:hidden"cmt:cb26be45-e18e-4ca0-8b58-57e7186590af--Simple Test</body></html>';
window.open('javascript:window.document.write(' + "'" + h + "'" + ');', 'view');
HTML pasted into this message does not want to display correctly - the HTML is sound though.
This code worked fine with the 17.x version, but with the 18.x version it does not. Instead, a new window is opened but the body is empty. There are no javascript errors being thrown that I can find. I do have a NewWindow event handler, and it has not changed. If I break inside that handler, the TargetUrl property is set to 'about:blank' but the javascript I passed in appears to have been thrown away.
I can't find anything in the docs that indicates this shouldn't be allowed now. Any suggestions?