[html5] r5405 - [giow] (2) Make document.domain match implementations more.

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 30 17:28:20 PDT 2010


Author: ianh
Date: 2010-08-30 17:28:19 -0700 (Mon, 30 Aug 2010)
New Revision: 5405

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Make document.domain match implementations more.

Modified: complete.html
===================================================================
--- complete.html	2010-08-30 23:54:38 UTC (rev 5404)
+++ complete.html	2010-08-31 00:28:19 UTC (rev 5405)
@@ -59484,16 +59484,15 @@
 
   <p>On getting, the attribute must return its current value, unless
   the <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing context</a>, in
-  which case it must throw an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code>
-  exception.</p>
+  which case it must return the empty string.</p>
 
   <p>On setting, the user agent must run the following algorithm:</p>
 
   <ol><li>
 
     <p>If the <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing
-    context</a>, throw an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code> exception
-    and abort these steps.</p>
+    context</a>, throw a <code><a href=#security_err>SECURITY_ERR</a></code> exception and
+    abort these steps.</p>
 
    </li>
 

Modified: index
===================================================================
--- index	2010-08-30 23:54:38 UTC (rev 5404)
+++ index	2010-08-31 00:28:19 UTC (rev 5405)
@@ -59409,16 +59409,15 @@
 
   <p>On getting, the attribute must return its current value, unless
   the <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing context</a>, in
-  which case it must throw an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code>
-  exception.</p>
+  which case it must return the empty string.</p>
 
   <p>On setting, the user agent must run the following algorithm:</p>
 
   <ol><li>
 
     <p>If the <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing
-    context</a>, throw an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code> exception
-    and abort these steps.</p>
+    context</a>, throw a <code><a href=#security_err>SECURITY_ERR</a></code> exception and
+    abort these steps.</p>
 
    </li>
 

Modified: source
===================================================================
--- source	2010-08-30 23:54:38 UTC (rev 5404)
+++ source	2010-08-31 00:28:19 UTC (rev 5405)
@@ -67168,8 +67168,7 @@
 
   <p>On getting, the attribute must return its current value, unless
   the <code>Document</code> has no <span>browsing context</span>, in
-  which case it must throw an <code>INVALID_ACCESS_ERR</code>
-  exception.</p>
+  which case it must return the empty string.</p>
 
   <p>On setting, the user agent must run the following algorithm:</p>
 
@@ -67178,8 +67177,8 @@
    <li>
 
     <p>If the <code>Document</code> has no <span>browsing
-    context</span>, throw an <code>INVALID_ACCESS_ERR</code> exception
-    and abort these steps.</p>
+    context</span>, throw a <code>SECURITY_ERR</code> exception and
+    abort these steps.</p>
 
    </li>
 




More information about the Commit-Watchers mailing list