[html5] r7781 - [e] (0) Make document.readyState explicitly an enum, not that that has any real [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Mar 29 11:13:04 PDT 2013


Author: ianh
Date: 2013-03-29 11:13:03 -0700 (Fri, 29 Mar 2013)
New Revision: 7781

Modified:
   complete.html
   index
   source
Log:
[e] (0) Make document.readyState explicitly an enum, not that that has any real effect.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20013
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2013-03-28 23:27:15 UTC (rev 7780)
+++ complete.html	2013-03-29 18:13:03 UTC (rev 7781)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 28 March 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 29 March 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -8316,7 +8316,9 @@
   <p>The DOM specification defines a <code title="DOM Document"><a href=#dom-document>Document</a></code> interface, which
   this specification extends significantly:</p>
 
-  <pre class=idl>[OverrideBuiltins]
+  <pre class=idl>enum <dfn id=documentreadystate>DocumentReadyState</dfn> { "loading", "interactive", "complete" };
+
+[OverrideBuiltins]
 partial /*sealed*/ interface <dfn id=document>Document</dfn> {
   // <a href=#resource-metadata-management>resource metadata management</a>
   [PutForwards=<a href=#dom-location-href title=dom-location-href>href</a>, Unforgeable] readonly attribute <a href=#location>Location</a>? <a href=#dom-document-location title=dom-document-location>location</a>;
@@ -8324,7 +8326,7 @@
   readonly attribute DOMString <a href=#dom-document-referrer title=dom-document-referrer>referrer</a>;
            attribute DOMString <a href=#dom-document-cookie title=dom-document-cookie>cookie</a>;
   readonly attribute DOMString <a href=#dom-document-lastmodified title=dom-document-lastModified>lastModified</a>;
-  readonly attribute DOMString <a href=#dom-document-readystate title=dom-document-readyState>readyState</a>;
+  readonly attribute <a href=#documentreadystate>DocumentReadyState</a> <a href=#dom-document-readystate title=dom-document-readyState>readyState</a>;
 
   // <a href=#dom-tree-accessors>DOM tree accessors</a>
   <a href=#dom-document-nameditem title=dom-document-namedItem>getter</a> object (DOMString name);

Modified: index
===================================================================
--- index	2013-03-28 23:27:15 UTC (rev 7780)
+++ index	2013-03-29 18:13:03 UTC (rev 7781)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 28 March 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 29 March 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -8316,7 +8316,9 @@
   <p>The DOM specification defines a <code title="DOM Document"><a href=#dom-document>Document</a></code> interface, which
   this specification extends significantly:</p>
 
-  <pre class=idl>[OverrideBuiltins]
+  <pre class=idl>enum <dfn id=documentreadystate>DocumentReadyState</dfn> { "loading", "interactive", "complete" };
+
+[OverrideBuiltins]
 partial /*sealed*/ interface <dfn id=document>Document</dfn> {
   // <a href=#resource-metadata-management>resource metadata management</a>
   [PutForwards=<a href=#dom-location-href title=dom-location-href>href</a>, Unforgeable] readonly attribute <a href=#location>Location</a>? <a href=#dom-document-location title=dom-document-location>location</a>;
@@ -8324,7 +8326,7 @@
   readonly attribute DOMString <a href=#dom-document-referrer title=dom-document-referrer>referrer</a>;
            attribute DOMString <a href=#dom-document-cookie title=dom-document-cookie>cookie</a>;
   readonly attribute DOMString <a href=#dom-document-lastmodified title=dom-document-lastModified>lastModified</a>;
-  readonly attribute DOMString <a href=#dom-document-readystate title=dom-document-readyState>readyState</a>;
+  readonly attribute <a href=#documentreadystate>DocumentReadyState</a> <a href=#dom-document-readystate title=dom-document-readyState>readyState</a>;
 
   // <a href=#dom-tree-accessors>DOM tree accessors</a>
   <a href=#dom-document-nameditem title=dom-document-namedItem>getter</a> object (DOMString name);

Modified: source
===================================================================
--- source	2013-03-28 23:27:15 UTC (rev 7780)
+++ source	2013-03-29 18:13:03 UTC (rev 7781)
@@ -8027,7 +8027,9 @@
   <p>The DOM specification defines a <code title="DOM Document">Document</code> interface, which
   this specification extends significantly:</p>
 
-  <pre class="idl">[OverrideBuiltins]
+  <pre class="idl">enum <dfn>DocumentReadyState</dfn> { "loading", "interactive", "complete" };
+
+[OverrideBuiltins]
 partial /*sealed*/ interface <dfn>Document</dfn> {
   // <span>resource metadata management</span>
   [PutForwards=<span title="dom-location-href">href</span>, Unforgeable] readonly attribute <span>Location</span>? <span title="dom-document-location">location</span>;
@@ -8035,7 +8037,7 @@
   readonly attribute DOMString <span title="dom-document-referrer">referrer</span>;
            attribute DOMString <span title="dom-document-cookie">cookie</span>;
   readonly attribute DOMString <span title="dom-document-lastModified">lastModified</span>;
-  readonly attribute DOMString <span title="dom-document-readyState">readyState</span>;
+  readonly attribute <span>DocumentReadyState</span> <span title="dom-document-readyState">readyState</span>;
 
   // <span>DOM tree accessors</span>
   <span title="dom-document-namedItem">getter</span> object (DOMString name);




More information about the Commit-Watchers mailing list