W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2009

html5/spec Overview.html,1.1835,1.1836

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 14 Jan 2009 09:00:51 +0000
To: public-html-commits@w3.org
Message-Id: <E1LN1cJ-0004fT-Nw@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv17929

Modified Files:
	Overview.html 
Log Message:
Rename confusing parameter 'arguments' in showModalDialog() - the plural was a legacy from MSDN. (whatwg r2666)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1835
retrieving revision 1.1836
diff -u -d -r1.1835 -r1.1836
--- Overview.html	14 Jan 2009 08:57:31 -0000	1.1835
+++ Overview.html	14 Jan 2009 09:00:48 -0000	1.1836
@@ -27146,7 +27146,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>
@@ -28749,7 +28749,7 @@
 
    </li>
 
-  </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
+  </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="">argument</var><!--, <var
   title="">features</var>-->)</code></dfn> method, when invoked, must
   cause the user agent to run the following steps:<ol><li>
 
@@ -28817,7 +28817,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>
Received on Wednesday, 14 January 2009 09:01:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 14 January 2009 09:01:00 GMT