[html5] r7767 - [e] (0) Move the presence checking into the IDL Fixing https://www.w3.org/Bugs/P [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Mar 22 11:17:09 PDT 2013


Author: ianh
Date: 2013-03-22 11:17:08 -0700 (Fri, 22 Mar 2013)
New Revision: 7767

Modified:
   complete.html
   index
   source
Log:
[e] (0) Move the presence checking into the IDL
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17087
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2013-03-22 17:53:13 UTC (rev 7766)
+++ complete.html	2013-03-22 18:17:08 UTC (rev 7767)
@@ -66059,8 +66059,8 @@
   void <a href=#dom-history-go title=dom-history-go>go</a>(optional long delta);
   void <a href=#dom-history-back title=dom-history-back>back</a>();
   void <a href=#dom-history-forward title=dom-history-forward>forward</a>();
-  void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(any data, DOMString title, optional DOMString? url);
-  void <a href=#dom-history-replacestate title=dom-history-replaceState>replaceState</a>(any data, DOMString title, optional DOMString? url);
+  void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(any data, DOMString title, optional DOMString? url = null);
+  void <a href=#dom-history-replacestate title=dom-history-replaceState>replaceState</a>(any data, DOMString title, optional DOMString? url = null);
 };</pre>
 
   <dl class=domintro><dt><var title="">window</var> . <code title=dom-history><a href=#dom-history>history</a></code> . <code title=dom-history-length><a href=#dom-history-length>length</a></code></dt>
@@ -66237,7 +66237,7 @@
 
    <li>
 
-    <p>If a third argument is specified and not null, run these substeps:</p>
+    <p>If the third argument is not null, run these substeps:</p>
 
     <ol><li><a href=#resolve-a-url title="resolve a url">Resolve</a> the value of the third argument, relative to the
      <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>.</li>
@@ -66267,8 +66267,8 @@
 
    <li>
 
-    <p>If a third argument is <em>not</em> specified, or if one is specified but it is null, then
-    let <var title="">new URL</var> be the <a href=#url>URL</a> of the <a href=#current-entry>current entry</a>.</p>
+    <p>If the third argument is null, then let <var title="">new URL</var> be the <a href=#url>URL</a>
+    of the <a href=#current-entry>current entry</a>.</p>
 
    <li>
 

Modified: index
===================================================================
--- index	2013-03-22 17:53:13 UTC (rev 7766)
+++ index	2013-03-22 18:17:08 UTC (rev 7767)
@@ -66059,8 +66059,8 @@
   void <a href=#dom-history-go title=dom-history-go>go</a>(optional long delta);
   void <a href=#dom-history-back title=dom-history-back>back</a>();
   void <a href=#dom-history-forward title=dom-history-forward>forward</a>();
-  void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(any data, DOMString title, optional DOMString? url);
-  void <a href=#dom-history-replacestate title=dom-history-replaceState>replaceState</a>(any data, DOMString title, optional DOMString? url);
+  void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(any data, DOMString title, optional DOMString? url = null);
+  void <a href=#dom-history-replacestate title=dom-history-replaceState>replaceState</a>(any data, DOMString title, optional DOMString? url = null);
 };</pre>
 
   <dl class=domintro><dt><var title="">window</var> . <code title=dom-history><a href=#dom-history>history</a></code> . <code title=dom-history-length><a href=#dom-history-length>length</a></code></dt>
@@ -66237,7 +66237,7 @@
 
    <li>
 
-    <p>If a third argument is specified and not null, run these substeps:</p>
+    <p>If the third argument is not null, run these substeps:</p>
 
     <ol><li><a href=#resolve-a-url title="resolve a url">Resolve</a> the value of the third argument, relative to the
      <a href=#entry-script>entry script</a>'s <a href="#script's-base-url" title="script's base URL">base URL</a>.</li>
@@ -66267,8 +66267,8 @@
 
    <li>
 
-    <p>If a third argument is <em>not</em> specified, or if one is specified but it is null, then
-    let <var title="">new URL</var> be the <a href=#url>URL</a> of the <a href=#current-entry>current entry</a>.</p>
+    <p>If the third argument is null, then let <var title="">new URL</var> be the <a href=#url>URL</a>
+    of the <a href=#current-entry>current entry</a>.</p>
 
    <li>
 

Modified: source
===================================================================
--- source	2013-03-22 17:53:13 UTC (rev 7766)
+++ source	2013-03-22 18:17:08 UTC (rev 7767)
@@ -78608,8 +78608,8 @@
   void <span title="dom-history-go">go</span>(optional long delta);
   void <span title="dom-history-back">back</span>();
   void <span title="dom-history-forward">forward</span>();
-  void <span title="dom-history-pushState">pushState</span>(any data, DOMString title, optional DOMString? url);
-  void <span title="dom-history-replaceState">replaceState</span>(any data, DOMString title, optional DOMString? url);
+  void <span title="dom-history-pushState">pushState</span>(any data, DOMString title, optional DOMString? url = null);
+  void <span title="dom-history-replaceState">replaceState</span>(any data, DOMString title, optional DOMString? url = null);
 };</pre>
 
   <dl class="domintro">
@@ -78808,7 +78808,7 @@
 
    <li>
 
-    <p>If a third argument is specified and not null, run these substeps:</p>
+    <p>If the third argument is not null, run these substeps:</p>
 
     <ol>
 
@@ -78846,8 +78846,8 @@
 
    <li>
 
-    <p>If a third argument is <em>not</em> specified, or if one is specified but it is null, then
-    let <var title="">new URL</var> be the <span>URL</span> of the <span>current entry</span>.</p>
+    <p>If the third argument is null, then let <var title="">new URL</var> be the <span>URL</span>
+    of the <span>current entry</span>.</p>
 
    <li>
 




More information about the Commit-Watchers mailing list