Bug 26331: usage intersection definition should refer to sequences, not arrays
authorMark Watson <watsonm@netflix.com>
Thu, 25 Sep 2014 16:33:41 -0700
changeset 235 b70e27d42387
parent 234 1af2d5aa1b2d
child 236 2616605d14ae
Bug 26331: usage intersection definition should refer to sequences, not arrays
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Thu Sep 25 16:22:00 2014 -0700
+++ b/spec/Overview-WebCryptoAPI.xml	Thu Sep 25 16:33:41 2014 -0700
@@ -851,18 +851,18 @@
         </p>
         <p>
           When this specification says to calculate the <dfn id="concept-usage-intersection">usage
-          intersection</dfn> of two arrays, <var>a</var> and <var>b</var> the result shall be an
-          array containing each <a href="#dfn-RecognizedKeyUsage">recognized key usage value</a>
+          intersection</dfn> of two sequences, <var>a</var> and <var>b</var> the result shall be a
+          sequence containing each <a href="#dfn-RecognizedKeyUsage">recognized key usage value</a>
           that appears in both <var>a</var> and <var>b</var>, in the order listed in the list of
           <a href="#dfn-RecognizedKeyUsage">recognized key usage values</a>, where a value is said
-          to appear in an array if an element of the array exists that is a case-sensitive string
+          to appear in a sequence if an element of the sequence exists that is a case-sensitive string
           match for that value.
         </p>
         <p>
           When this specification says to calculate the <dfn id="concept-normalized-usages">
           normalized value of a usages list</dfn>, <var>usages</var> the result shall be the
-          <a href="#concept-usage-intersection">usage intersection</a> of <var>usages</var> and an
-          array containing all <a href="#dfn-RecognizedKeyUsage">recognized key usage values</a>.
+          <a href="#concept-usage-intersection">usage intersection</a> of <var>usages</var> and a
+          sequence containing all <a href="#dfn-RecognizedKeyUsage">recognized key usage values</a>.
         </p>
       </div>
 
--- a/spec/Overview.html	Thu Sep 25 16:22:00 2014 -0700
+++ b/spec/Overview.html	Thu Sep 25 16:33:41 2014 -0700
@@ -856,18 +856,18 @@
         </p>
         <p>
           When this specification says to calculate the <dfn id="concept-usage-intersection">usage
-          intersection</dfn> of two arrays, <var>a</var> and <var>b</var> the result shall be an
-          array containing each <a href="#dfn-RecognizedKeyUsage">recognized key usage value</a>
+          intersection</dfn> of two sequences, <var>a</var> and <var>b</var> the result shall be a
+          sequence containing each <a href="#dfn-RecognizedKeyUsage">recognized key usage value</a>
           that appears in both <var>a</var> and <var>b</var>, in the order listed in the list of
           <a href="#dfn-RecognizedKeyUsage">recognized key usage values</a>, where a value is said
-          to appear in an array if an element of the array exists that is a case-sensitive string
+          to appear in a sequence if an element of the sequence exists that is a case-sensitive string
           match for that value.
         </p>
         <p>
           When this specification says to calculate the <dfn id="concept-normalized-usages">
           normalized value of a usages list</dfn>, <var>usages</var> the result shall be the
-          <a href="#concept-usage-intersection">usage intersection</a> of <var>usages</var> and an
-          array containing all <a href="#dfn-RecognizedKeyUsage">recognized key usage values</a>.
+          <a href="#concept-usage-intersection">usage intersection</a> of <var>usages</var> and a
+          sequence containing all <a href="#dfn-RecognizedKeyUsage">recognized key usage values</a>.
         </p>
       </div>