html5/spec Overview.html,1.5678,1.5679

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv13046

Modified Files:
	Overview.html 
Log Message:
Make it ok to window.close() a browsing context that has never been (re)navigated. (whatwg r7127)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5678
retrieving revision 1.5679
diff -u -d -r1.5678 -r1.5679
--- Overview.html	8 Jun 2012 21:34:06 -0000	1.5678
+++ Overview.html	8 Jun 2012 21:50:24 -0000	1.5679
@@ -53341,14 +53341,18 @@
 
   <hr><p>The <dfn id="dom-window-close" title="dom-window-close"><code>close()</code></dfn>
   method on <code><a href="#window">Window</a></code> objects should, if the corresponding
-  <a href="#browsing-context">browsing context</a> <var title="">A</var> is an
-  <a href="#auxiliary-browsing-context">auxiliary browsing context</a> that was created by a script
-  (as opposed to by an action of the user), and if the <a href="#script-s-browsing-context" title="script's browsing context">browsing context</a> of the
-  <a href="#concept-script" title="concept-script">script</a> that invokes the method
-  is <a href="#allowed-to-navigate">allowed to navigate</a> the <a href="#browsing-context">browsing
-  context</a> <var title="">A</var>, close the <a href="#browsing-context">browsing
-  context</a> <var title="">A</var> (and may <a href="#a-browsing-context-is-discarded" title="a
-  browsing context is discarded">discard</a> it too).</p>
+  <a href="#browsing-context">browsing context</a> <var title="">A</var> is
+  <a href="#script-closable">script-closable</a> and the <a href="#script-s-browsing-context" title="script's
+  browsing context">browsing context</a> of the <a href="#concept-script" title="concept-script">script</a> that invokes the method is
+  <a href="#allowed-to-navigate">allowed to navigate</a> the <a href="#browsing-context">browsing context</a>
+  <var title="">A</var>, close the <a href="#browsing-context">browsing context</a> <var title="">A</var> (and may <a href="#a-browsing-context-is-discarded" title="a browsing context is
+  discarded">discard</a> it too).</p>
+
+  <p>A <a href="#browsing-context">browsing context</a> is <dfn id="script-closable">script-closable</dfn> if
+  it is an <a href="#auxiliary-browsing-context">auxiliary browsing context</a> that was created by
+  a script (as opposed to by an action of the user), or if it is a
+  <a href="#browsing-context">browsing context</a> whose <a href="#session-history">session history</a>
+  contains only one <code><a href="#document">Document</a></code>.</p>
 
   <p>The <dfn id="dom-window-stop" title="dom-window-stop"><code>stop()</code></dfn> method
   on <code><a href="#window">Window</a></code> objects should, if there is an existing

Received on Friday, 8 June 2012 21:50:31 UTC