hixie: Cover the case of document.defaultView when there's no browsing context. (whatwg r5403)

hixie: Cover the case of document.defaultView when there's no browsing
context. (whatwg r5403)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4312&r2=1.4313&f=h
http://html5.org/tools/web-apps-tracker?from=5402&to=5403

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4312
retrieving revision 1.4313
diff -u -d -r1.4312 -r1.4313
--- Overview.html 30 Aug 2010 18:38:44 -0000 1.4312
+++ Overview.html 30 Aug 2010 23:42:08 -0000 1.4313
@@ -41636,7 +41636,8 @@
   <p>The <dfn id="dom-document-defaultview" title="dom-document-defaultView"><code>defaultView</code></dfn> IDL
   attribute of the <code><a href="#htmldocument">HTMLDocument</a></code> interface must return the
   <code><a href="#document">Document</a></code>'s <a href="#browsing-context">browsing context</a>'s
-  <code><a href="#windowproxy">WindowProxy</a></code> object.</p>
+  <code><a href="#windowproxy">WindowProxy</a></code> object, if there is one, or null
+  otherwise.</p>
 
   </div><div class="impl">

Received on Monday, 30 August 2010 23:43:04 UTC