[whatwg] window.close() and user-initiated <a target=_blank>

Ian Hickson ian at hixie.ch
Fri Jun 8 14:50:19 PDT 2012

On Wed, 7 Mar 2012, Anne van Kesteren wrote:
> 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.


Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list