Renamed fingerprint to id. https://www.w3.org/Bugs/Public/show_bug.cgi?id=20376
--- a/midi/specification.html Thu Dec 13 17:58:27 2012 +0200
+++ b/midi/specification.html Thu Dec 13 11:32:53 2012 -0800
@@ -350,12 +350,12 @@
<code><a>MIDIPort</a></code> argument.
If the <var>target</var> is a DOMString,
<var>target</var> will be a <code><a>MIDIPort</a></code>
- whose <code>fingerprint</code> matches the supplied
+ whose <code>id</code> matches the supplied
DOMString. If <var>target</var> is a short, <var>target</var>
will be a <code><a>MIDIPort</a></code> that matches the supplied
index in the sequence returned by <code><a>enumerateInputs()</a></code>.
If the <var>target</var> parameter is a DOMString and there is no MIDIPort
- that matches the fingerprint, or if the <var>target</var> parameter is a
+ that matches the id, or if the <var>target</var> parameter is a
short outside the bounds of available MIDI inputs, throw a
<code>REFERENCE_ERROR</code> exception.
</li>
@@ -413,12 +413,12 @@
<code><a>MIDIPort</a></code> argument.
If the <var>target</var> is a DOMString,
<var>target</var> will be a <code><a>MIDIPort</a></code>
- whose <code>fingerprint</code> matches the supplied
+ whose <code>id</code> matches the supplied
DOMString. If <var>target</var> is a short, <var>target</var>
will be a <code><a>MIDIPort</a></code> that matches the supplied
index in the sequence returned by <code><a>enumerateOutputs()</a></code>.
If the <var>target</var> parameter is a DOMString and there is no MIDIPort
- that matches the fingerprint, or if the <var>target</var> parameter is a
+ that matches the id, or if the <var>target</var> parameter is a
short outside the bounds of available MIDI inputs, throw a
<code>REFERENCE_ERROR</code> exception.
</li>
@@ -480,17 +480,17 @@
<dl title="interface MIDIPort"
class="idl">
- <dt>readonly attribute DOMString fingerprint</dt>
+ <dt>readonly attribute DOMString id</dt>
<dd>
<p>
A unique ID of the port. This can be used by developers to
remember ports the user has chosen for their application. The
- User Agent MUST ensure that the <code><a>fingerprint</a></code>
+ User Agent MUST ensure that the <code><a>id</a></code>
is unique to only that port. The User Agent SHOULD ensure that
- the fingerprint is maintained across instances of the
+ the id is maintained across instances of the
application - e.g., when the system is rebooted - and when a
device is removed from the system. Applications may want to
- cache these fingerprints locally to re-create a MIDI setup.
+ cache these ids locally to re-create a MIDI setup.
Some systems may not support completely unique persistent
identifiers; in such cases, it will be more challenging to
maintain identifiers when another interface is added or removed
@@ -498,9 +498,9 @@
requested port.) It is expected that the system will do the
best it can to match a port across instances of the MIDI API:
for example, storing the port interface manufacturer, name and
- index in the fingerprint, and attempting to find any ports with
+ index in the id, and attempting to find any ports with
that name to consider as a match. Applications may use the
- comparison of fingerprints of MIDIPorts to test for equality.</p>
+ comparison of id of MIDIPorts to test for equality.</p>
</dd>
<dt>readonly attribute DOMString manufacturer</dt>
<dd>
@@ -660,7 +660,7 @@
for (i=0; i<inputs.length; i++) {
console.log( "Input port #" + i +
": type:'" + inputs[i].type +
- "' fingerprint:'" + inputs[i].fingerprint +
+ "' id:'" + inputs[i].id +
"' manufacturer:'" + inputs[i].manufacturer +
"' name:'" + inputs[i].name +
"' version:'" + inputs[i].version + "'" );
@@ -669,7 +669,7 @@
for (i=0; i<outputs.length; i++) {
console.log( "Output port #" + i +
": type:'" + outputs[i].type +
- "' fingerprint:'" + outputs[i].fingerprint +
+ "' id:'" + outputs[i].id +
"' manufacturer:'" + outputs[i].manufacturer +
"' name:'" + outputs[i].name +
"' version:'" + outputs[i].version + "'" );