I have created a popup window (something) like this:
var win;
function popup() {
if (win) {
win.close();
win = null;
}
win = window.open(...);
}
That exact code, in a simple .html file, works just fine. However it causes problems in our web app. IE always throws an "access denied" exception when trying to access most any property of the already-opened popup. The URL I am opening is on the same server, so it shouldn't be an XSS problem.
Other browsers are fine with this.