diff --git a/spec/Overview.html b/spec/Overview.html index dce7373..5615035 100644 --- a/spec/Overview.html +++ b/spec/Overview.html @@ -856,15 +856,29 @@

The getRandomValues method

  • - If the `byteLength` of |array| is greater than 65536, [= exception/throw =] a + Let |byteLength| be the [= BufferSource/byte length =] of |array|. +

    +
  • +
  • +

    + If |byteLength| is greater than 65536, [= exception/throw =] a {{QuotaExceededError}} and [= terminate the algorithm =].

  • - Overwrite all elements of |array| with cryptographically strong random values of - the appropriate type. + Let |bytes| be a [= byte sequence =] of length |byteLength|. +

    +
  • +
  • +

    + Fill |bytes| with cryptographically secure random bytes. +

    +
  • +
  • +

    + [= ArrayBufferView/Write =] |bytes| into |array|.