dap commit: [MC&S] Settings v5: Fix parameters disappearing due to bad WebIDL syntax

changeset:   298:7c56c3056cbc
tag:         tip
user:        travil@travil1.wingroup.windeploy.ntdev.microsoft.com
date:        Fri Nov 30 15:11:30 2012 -0800
files:       media-stream-capture/proposals/SettingsAPI_respec.html
description:
[MC&S] Settings v5: Fix parameters disappearing due to bad WebIDL syntax


diff -r f49ab4dcda28 -r 7c56c3056cbc media-stream-capture/proposals/SettingsAPI_respec.html
--- a/media-stream-capture/proposals/SettingsAPI_respec.html	Fri Nov 30 14:58:57 2012 -0800
+++ b/media-stream-capture/proposals/SettingsAPI_respec.html	Fri Nov 30 15:11:30 2012 -0800
@@ -778,7 +778,7 @@
                 <dt>(MediaSettingsRange or MediaSettingsList) getRange(DOMString settingName)</dt>
                 <dd>
 				    <dl class="parameters">
-						<dt>settingName</dt><dd>The name of the setting for which the range of expected values should be returned</dd>
+						<dt>DOMString settingName</dt><dd>The name of the setting for which the range of expected values should be returned</dd>
 					</dl>
                     <p>Each setting has an appropriate range of values. These may be either value ranges (a continuum of values) or 
                         enumerated values but not both. Value ranges include a min and max value, while enumerated values are provided 
@@ -911,17 +911,17 @@
                 <dt>any get(DOMString settingName)</dt>
                 <dd>
 					<dl class="parameters">
-						<dt>settingName</dt><dd>The name of the setting for which the current value of that setting should be returned</dd>
+						<dt>DOMString settingName</dt><dd>The name of the setting for which the current value of that setting should be returned</dd>
 					</dl>
                     Returns the current value of a given setting. This is equivalent to reading the IDL attribute of the same name on the source object.
                 </dd>
                 <dt>void set(MediaTrackConstraint setting, optional boolean isMandatory = false)</dt>
                 <dd>
 					<dl class="parameters">
-						<dt>setting</dt><dd>A JavaScript object (dictionary) consisting of a single property which is the setting name to change,
+						<dt>MediaTrackConstraint setting</dt><dd>A JavaScript object (dictionary) consisting of a single property which is the setting name to change,
 						and whose value is either a primitive value (float/DOMString/etc), or another dictionary consisting of a <code>min</code>
 						and/or <code>max</code> property and associated values.</dd>
-						<dt>isMandatory</dt><dd>A flag indicating whether this settings change request should be considered mandatory. If a value
+						<dt>optional boolean isMandatory = false</dt><dd>A flag indicating whether this settings change request should be considered mandatory. If a value
 						of <code>true</code> is provided, then should the settings change fail for some reason, a <code><a>settingserror</a></code>
 						event will be raised. Otherwise, only <code><a>settingschanged</a></code> event will be dispatched for the settings
 						that were successfully changed. The default, if this flag is not provided, is <code>false</code></dd>

Received on Friday, 30 November 2012 23:11:47 UTC