MSIE 6.0 'Permission Denied During Window Closing' Bug

Written August 23. 2006, at 22:17 GMT.

Today at work, we came across a weird bug in Internet Explorer 6.0 which only appeard after we installed Microsoft's latest security update (issued on August 8th, 2006)

During the debugging phase I set up a reduced test-case for the bug, which I thought might be nice to publish here for others to find and hopefully learn from.

Go see the MSIE 6.0 'Permission Denied During Window Closing' Bug - Test Case


More like this: English Entries, HTML/CSS, Javascript.


Reader Comments (2)

  1. sean replies:

    I have recently run across the same issue and resolved by using the typeof()

    example:

      var checkWindowStatus = function() {
        if (!myWindow 
               || typeof(myWindow.closed)=='unknown' 
               || myWindow.closed)  {
          alert("the popup has been closed!");
          clearInterval(myInterval);
          myWindow = null;
        }
      };
    

    August 28. 2006 kl. 20:44 GMT | #

  2. Már replies:

    Thanks for the info Sean.

    August 28. 2006 kl. 22:02 GMT | #

Ţessum svarhala hefur veriđ lokađ. Kćrar ţakkir til ţeirra sem tóku ţátt í umrćđunni.


 

Flakk um vefsvćđiđ



 

Nýleg svör frá lesendum

  • Rich (Req.js - javascript lazy-loading and dependency managment made easy)
  • Rich (Req.js - javascript lazy-loading and dependency managment made easy)
  • Rich (Req.js - javascript lazy-loading and dependency managment made easy)
  • Már (Req.js - javascript lazy-loading and dependency managment made easy)
  • Rich (Req.js - javascript lazy-loading and dependency managment made easy)
  • Már (Req.js - javascript lazy-loading and dependency managment made easy)
  • Dinesh (Req.js - javascript lazy-loading and dependency managment made easy)
  • Már (Taubleyjur í nútímanum - lítill leiđarvísir handa hrćddri ţjóđ)
  • Ada (Taubleyjur í nútímanum - lítill leiđarvísir handa hrćddri ţjóđ)
  • notandi (Taubleyjur í nútímanum - lítill leiđarvísir handa hrćddri ţjóđ)
  • Geir (Lausnin á efnahagsvandanum)
  • Jenný (Lausnin á efnahagsvandanum)
  • Óli Jens (Lausnin á efnahagsvandanum)
  • Már (Lausnin á efnahagsvandanum)
  • Kjartan S (Lausnin á efnahagsvandanum)

 

 

Yfirlit yfir ţetta skjal

(Atriđin í listanum vísa á ákveđna kafla ofar á síđunni.)