title: SCRIPT5007: Unable to get property 'close' of undefined or null reference
body: <p>my code works with chrome, firefox and IE11 only at edge, the new window is opened at maximum size and not closed at all. According to console, the following error occurs when closing
  SCRIPT5007: Unable to get property 'close' of undefined or null reference</p>
  
  <p>Any advice?</p>
  
  <pre><code>symbolVis.prototype.init = function(scope, elem){    
  elem.parent().addClass('doubleclick');
              var url = "";
  
          scope.switched=function(){
              if(scope.runtimeData.togglestatus){
                  //on
                  url = scope.config.adresse + "1";
                  var win = window.open(url,'_blank','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,left=10000, top=10000, width=10, height=10, visible=none', '');                      
                  setTimeout(function(){
                      win.close();
                  }, 1000);
                  console.log(url);               
              } else {
                  //off
                  url = scope.config.adresse + "0";
                  var win = window.open(url,'_blank','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,left=10000, top=10000, width=10, height=10, visible=none', '');                      
                  setTimeout(function(){
                      win.close();
                  }, 1000);
                  console.log(url);
              }
          }
  
      };
  </code></pre>