W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2012

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

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 07 Mar 2012 09:57:22 +0100
Message-ID: <op.wasltwsh64w2qv@annevk-macbookpro.local>
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
Received on Wednesday, 7 March 2012 00:57:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:40 UTC