[html5] r2666 - [e] (0) Rename confusing parameter 'arguments' in showModalDialog() - the plural [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jan 14 01:00:44 PST 2009


Author: ianh
Date: 2009-01-14 01:00:43 -0800 (Wed, 14 Jan 2009)
New Revision: 2666

Modified:
   index
   source
Log:
[e] (0) Rename confusing parameter 'arguments' in showModalDialog() - the plural was a legacy from MSDN.

Modified: index
===================================================================
--- index	2009-01-14 08:57:26 UTC (rev 2665)
+++ index	2009-01-14 09:00:43 UTC (rev 2666)
@@ -33492,7 +33492,7 @@
   boolean <a href=#dom-confirm title=dom-confirm>confirm</a>(in DOMString message);
   DOMString <a href=#dom-prompt title=dom-prompt>prompt</a>(in DOMString message, [Optional] in DOMString default);
   void <a href=#dom-print title=dom-print>print</a>();
-  any <a href=#dom-showmodaldialog title=dom-showModalDialog>showModalDialog</a>(in DOMString url, [Optional] in any arguments<!--, [Optional] in DOMString features-->);<!-- XXX-NOTIFY
+  any <a href=#dom-showmodaldialog title=dom-showModalDialog>showModalDialog</a>(in DOMString url, [Optional] in any argument<!--, [Optional] in DOMString features-->);<!-- XXX-NOTIFY
   void <span title="dom-showNotification">showNotification</span>(in DOMString title, in DOMString subtitle, in DOMString description, [Optional] in VoidCallback onclick);-->
 
   // <a href=#crossDocumentMessages>cross-document messaging</a>
@@ -35389,7 +35389,7 @@
 
   </ol><h4 id=dialogs-implemented-using-separate-documents><span class=secno>5.5.3 </span>Dialogs implemented using separate documents</h4>
 
-  <p>The <dfn id=dom-showmodaldialog title=dom-showModalDialog><code>showModalDialog(<var title="">url</var>, <var title="">arguments</var><!--, <var
+  <p>The <dfn id=dom-showmodaldialog title=dom-showModalDialog><code>showModalDialog(<var title="">url</var>, <var title="">argument</var><!--, <var
   title="">features</var>-->)</code></dfn> method, when invoked, must
   cause the user agent to run the following steps:</p>
 
@@ -35459,7 +35459,7 @@
    <li>
 
     <p>Let the <a href=#dialog-arguments>dialog arguments</a> of the new browsing
-    context be set to the value of <var title="">arguments</var>, or
+    context be set to the value of <var title="">argument</var>, or
     the 'undefined' value if the argument was omitted.</p>
 
    </li>

Modified: source
===================================================================
--- source	2009-01-14 08:57:26 UTC (rev 2665)
+++ source	2009-01-14 09:00:43 UTC (rev 2666)
@@ -38045,7 +38045,7 @@
   boolean <span title="dom-confirm">confirm</span>(in DOMString message);
   DOMString <span title="dom-prompt">prompt</span>(in DOMString message, [Optional] in DOMString default);
   void <span title="dom-print">print</span>();
-  any <span title="dom-showModalDialog">showModalDialog</span>(in DOMString url, [Optional] in any arguments<!--, [Optional] in DOMString features-->);<!-- XXX-NOTIFY
+  any <span title="dom-showModalDialog">showModalDialog</span>(in DOMString url, [Optional] in any argument<!--, [Optional] in DOMString features-->);<!-- XXX-NOTIFY
   void <span title="dom-showNotification">showNotification</span>(in DOMString title, in DOMString subtitle, in DOMString description, [Optional] in VoidCallback onclick);-->
 
   // <span>cross-document messaging</span>
@@ -40270,7 +40270,7 @@
   <h4>Dialogs implemented using separate documents</h4>
 
   <p>The <dfn title="dom-showModalDialog"><code>showModalDialog(<var
-  title="">url</var>, <var title="">arguments</var><!--, <var
+  title="">url</var>, <var title="">argument</var><!--, <var
   title="">features</var>-->)</code></dfn> method, when invoked, must
   cause the user agent to run the following steps:</p>
 
@@ -40349,7 +40349,7 @@
    <li>
 
     <p>Let the <span>dialog arguments</span> of the new browsing
-    context be set to the value of <var title="">arguments</var>, or
+    context be set to the value of <var title="">argument</var>, or
     the 'undefined' value if the argument was omitted.</p>
 
    </li>




More information about the Commit-Watchers mailing list