[whatwg] window.close() and user-initiated <a target=_blank>
    Anne van Kesteren 
    annevk at opera.com
       
    Wed Mar  7 00:57:22 PST 2012
    
    
  
In http://www.whatwg.org/specs/web-apps/current-work/#dom-window-close it  
is forbidden to close browsing contexts using the close() method when they  
are opened by a user-initiated action. We think it would be better if that  
were allowed, with the restriction that WebKit has, namely that once the  
user navigates the newly opened browsing context (and gains a history), it  
can no longer be closed.
-- 
Anne van Kesteren
http://annevankesteren.nl/
    
    
More information about the whatwg
mailing list