Bug 23655 - Clarify that for BigInteger the empty array is zero
authorMark Watson <watsonm@netflix.com>
Thu, 27 Feb 2014 16:46:37 -0800
changeset 135 087c6dafae2b
parent 134 1366fd7535ed
child 136 afc6807af3b8
Bug 23655 - Clarify that for BigInteger the empty array is zero
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Thu Feb 27 16:42:34 2014 -0800
+++ b/spec/Overview-WebCryptoAPI.xml	Thu Feb 27 16:46:37 2014 -0800
@@ -2674,7 +2674,7 @@
           holds an arbitrary magnitude unsigned integer in big-endian order. Values read from
           the API SHALL have minimal typed array length (that is, at most 7 leading zero bits,
           except the value 0 which shall have length 8 bits). The API SHALL accept values with
-          any number of leading zero bits.
+          any number of leading zero bits, including the empty array, which represents zero.
         </p>
 
         <div class="note">
--- a/spec/Overview.html	Thu Feb 27 16:42:34 2014 -0800
+++ b/spec/Overview.html	Thu Feb 27 16:46:37 2014 -0800
@@ -2681,7 +2681,7 @@
           holds an arbitrary magnitude unsigned integer in big-endian order. Values read from
           the API SHALL have minimal typed array length (that is, at most 7 leading zero bits,
           except the value 0 which shall have length 8 bits). The API SHALL accept values with
-          any number of leading zero bits.
+          any number of leading zero bits, including the empty array, which represents zero.
         </p>
 
         <div class="note"><div class="noteHeader">Note</div>