[html5] r821 - /
whatwg at whatwg.org
whatwg at whatwg.org
Wed May 16 16:59:32 PDT 2007
Author: ianh
Date: 2007-05-16 16:59:29 -0700 (Wed, 16 May 2007)
New Revision: 821
Modified:
index
source
Log:
[eagow] (2) Change the rules for how to handle extraeous arguments to methods
Modified: index
===================================================================
--- index 2007-05-16 23:26:23 UTC (rev 820)
+++ index 2007-05-16 23:59:29 UTC (rev 821)
@@ -1994,11 +1994,16 @@
Not-a-Number value, a <code title=big-issue>NOT_SUPPORTED_ERR</code>
exception must be raised.
- <p>Unless other specified, if a method is passed a different number of
- arguments than is defined for that method in its IDL definition, a <code
+ <p>Unless other specified, if a method is passed fewer arguments than is
+ defined for that method in its IDL definition, a <code
title=big-issue>NOT_SUPPORTED_ERR</code> exception must be raised.
+ <p>Unless other specified, if a method is passed more arguments than is
+ defined for that method in its IDL definition, the excess arguments must
+ be ignored.
+
<p class=big-issue>Anything else? Passing the wrong type of object, maybe?
+ Implied conversions to int/float?
<h4 id=dependencies><span class=secno>1.3.2. </span>Dependencies</h4>
@@ -39320,7 +39325,7 @@
Wilson, Chao Cai, Channy Yun, Charl van
Niekerk<!--status.whatwg.org maintainer-->, Charles Iliya Krempeaux,
Charles McCathieNevile, Christian Biesinger, Christian Johansen, Chriswa,
- Daniel Peng, Daniel Spång, Darin Fisher, Dave
+ Daniel Peng, Daniel Spång, Darin Alder, Darin Fisher, Dave
Townsend<!-- Mossop on moz irc -->, David Baron, David Flanagan, David
Håsäther, David Hyatt, Derek Featherstone, Dimitri Glazkov,
dolphinling, Doron Rosenberg, Eira Monstad, Elliotte Harold, Erik
Modified: source
===================================================================
--- source 2007-05-16 23:26:23 UTC (rev 820)
+++ source 2007-05-16 23:59:29 UTC (rev 821)
@@ -472,13 +472,17 @@
title="big-issue">NOT_SUPPORTED_ERR</code> exception must be
raised.</p>
- <p>Unless other specified, if a method is passed a different number
- of arguments than is defined for that method in its IDL definition,
+ <p>Unless other specified, if a method is passed fewer
+ arguments than is defined for that method in its IDL definition,
a <code title="big-issue">NOT_SUPPORTED_ERR</code> exception must be
raised.</p>
+ <p>Unless other specified, if a method is passed more
+ arguments than is defined for that method in its IDL definition,
+ the excess arguments must be ignored.</p>
+
<p class="big-issue">Anything else? Passing the wrong type of
- object, maybe?</p>
+ object, maybe? Implied conversions to int/float?</p>
<h4>Dependencies</h4>
@@ -35792,9 +35796,9 @@
Brad Neuberg, Brendan Eich, Brett Wilson, Chao Cai, Channy Yun,
Charl van Niekerk<!--status.whatwg.org maintainer-->, Charles Iliya
Krempeaux, Charles McCathieNevile, Christian Biesinger, Christian
- Johansen, Chriswa, Daniel Peng, Daniel Spång, Darin Fisher,
- Dave Townsend<!-- Mossop on moz irc -->, David Baron, David
- Flanagan, David Håsäther, David Hyatt, Derek
+ Johansen, Chriswa, Daniel Peng, Daniel Spång, Darin Alder,
+ Darin Fisher, Dave Townsend<!-- Mossop on moz irc -->, David Baron,
+ David Flanagan, David Håsäther, David Hyatt, Derek
Featherstone, Dimitri Glazkov, dolphinling, Doron Rosenberg, Eira
Monstad, Elliotte Harold, Erik Arvidsson, fantasai, Franck 'Shift'
Quélain, Geoffrey Sneddon, Håkon Wium Lie, Henri
More information about the Commit-Watchers
mailing list