diff --git a/spec.html b/spec.html index 84f4f6d4079..0545737fe3f 100644 --- a/spec.html +++ b/spec.html @@ -43836,10 +43836,10 @@

Uint8Array.prototype.toBase64 ( [ _options_ ] )

1. Let _omitPadding_ be ToBoolean(? Get(_opts_, *"omitPadding"*)). 1. Let _toEncode_ be ? GetUint8ArrayBytes(_obj_). 1. If _alphabet_ is *"base64"*, then - 1. Let _outAscii_ be the sequence of code points which results from encoding _toEncode_ according to the base64 encoding specified in section 4 of RFC 4648. Padding is included if and only if _omitPadding_ is *false*. + 1. Let _outAscii_ be the sequence of code points which results from encoding _toEncode_ according to the base64 encoding specified in section 4 of RFC 4648. Padding is included if and only if _omitPadding_ is *false*. 1. Else, 1. Assert: _alphabet_ is *"base64url"*. - 1. Let _outAscii_ be the sequence of code points which results from encoding _toEncode_ according to the base64url encoding specified in section 5 of RFC 4648. Padding is included if and only if _omitPadding_ is *false*. + 1. Let _outAscii_ be the sequence of code points which results from encoding _toEncode_ according to the base64url encoding specified in section 5 of RFC 4648. Padding is included if and only if _omitPadding_ is *false*. 1. Return CodePointsToString(_outAscii_). @@ -43977,7 +43977,7 @@

The standard base64 alphabet is *"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"*, i.e., the String whose elements are the code units corresponding to every letter and number in the Unicode Basic Latin block along with *"+"* and *"/"*.

- 1. Let _byteSequence_ be the unique sequence of 3 bytes resulting from decoding _chunk_ as base64 (i.e., the sequence such that applying the base64 encoding specified in section 4 of RFC 4648 to _byteSequence_ would produce _chunk_). + 1. Let _byteSequence_ be the unique sequence of 3 bytes resulting from decoding _chunk_ as base64 (i.e., the sequence such that applying the base64 encoding specified in section 4 of RFC 4648 to _byteSequence_ would produce _chunk_). 1. Return a List whose elements are the elements of _byteSequence_, in order. @@ -55085,16 +55085,16 @@

Bibliography

ISO 8601:2004(E) Data elements and interchange formats — Information interchange — Representation of dates and times
  • - RFC 1738 “Uniform Resource Locators (URL)”, available at <https://tools.ietf.org/html/rfc1738> + RFC 1738 “Uniform Resource Locators (URL)”, available at <https://rfc-editor.org/info/rfc1738>
  • - RFC 2396 “Uniform Resource Identifiers (URI): Generic Syntax”, available at <https://tools.ietf.org/html/rfc2396> + RFC 2396 “Uniform Resource Identifiers (URI): Generic Syntax”, available at <https://rfc-editor.org/info/rfc2396>
  • - RFC 3629 “UTF-8, a transformation format of ISO 10646”, available at <https://tools.ietf.org/html/rfc3629> + RFC 3629 “UTF-8, a transformation format of ISO 10646”, available at <https://rfc-editor.org/info/rfc3629>
  • - RFC 7231 “Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content”, available at <https://tools.ietf.org/html/rfc7231> + RFC 7231 “Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content”, available at <https://rfc-editor.org/info/rfc7231>