Hello there.
I'm having trouble with keeping control of my locally opened popup when opening pdf in adobe reader (newest version) in IE 11 on win 8.1.
if you try to do this:
var popup = window.open('mysite.com?pdf=123', 'test', 'width=600')
Lets say, I am calling this popup from mysite.com js script (same domain) and mysite.com?pdf=123 returns PDF file with content disposition inline so it opens inside the popup. If you would do something like that in parent window:
(function watchdog() {
console.log(popup.closed);
window.setTimeout(watchdog, 100)
})()
For some time it logs false which is correct, but when adobe plugin fires up and pdf is loaded inside it, this watchdog function logs true (which is a lie) and I lose control over it. All other modern browsers also forbid me from accessing the popup Window object when it loads adobe pdf plugin which is fine, but I can always access the 'closed' attribute and in my opinion it shouldnt say 'true' when the popup is visually opened.
ALSO... I noticed that if I close the popup fast enough, my parent window sometimes crashes. Is there any way to access crash logs for IE 11?
If anything is not yet clear I can prepare a test site to show the problem.