--- 1/draft-ietf-dispatch-javascript-mjs-01.txt 2018-05-08 16:13:31.483808278 -0700 +++ 2/draft-ietf-dispatch-javascript-mjs-02.txt 2018-05-08 16:13:31.519809136 -0700 @@ -1,19 +1,19 @@ DISPATCH B. Farias Internet-Draft Updates: 4329 (if approved) M. Miller Intended status: Informational Mozilla -Expires: May 2, 2018 October 29, 2017 +Expires: November 9, 2018 May 08, 2018 ECMAScript Media Types Updates - draft-ietf-dispatch-javascript-mjs-01 + draft-ietf-dispatch-javascript-mjs-02 Abstract This document proposes updates to the ECMAScript media types, superseding the existing registrations for "application/javascript" and "text/javascript" by adding an additional extension and removing usage warnings. This document updates RFC4329, "Scripting Media Types". Note to Readers @@ -35,25 +35,25 @@ Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." - This Internet-Draft will expire on May 2, 2018. + This Internet-Draft will expire on November 9, 2018. Copyright Notice - Copyright (c) 2017 IETF Trust and the persons identified as the + Copyright (c) 2018 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as @@ -130,43 +130,44 @@ 4.1. application/ecmascript Type name: application Subtype name: ecmascript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. Published specification: [[RFCXXXX]] Applications which use this media type: Script interpreters as discussed in [RFC4329]. Additional information: Magic number(s): n/a - File extension(s): .js, .mjs + File extension(s): .es, .mjs Macintosh File Type Code(s): TEXT Person & email address to contact for further information: See Author's Address section. Intended usage: OBSOLETE Restrictions on usage: The file extension .mjs must be parsed using the Module grammar of [ECMA-262] @@ -177,22 +178,23 @@ 4.2. application/javascript Type name: application Subtype name: javascript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -224,43 +226,44 @@ 4.3. application/x-ecmascript Type name: application Subtype name: x-ecmascript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. Published specification: [[RFCXXXX]] Applications which use this media type: Script interpreters as discussed in [RFC4329]. Additional information: Magic number(s): n/a - File extension(s): .js, .mjs + File extension(s): .es, .mjs Macintosh File Type Code(s): TEXT Person & email address to contact for further information: See Author's Address section. Intended usage: OBSOLETE Restrictions on usage: The file extension .mjs must be parsed using the Module grammar of [ECMA-262] @@ -271,22 +274,23 @@ 4.4. application/x-javascript Type name: application Subtype name: x-javascript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -318,43 +322,44 @@ 4.5. text/ecmascript Type name: text Subtype name: ecmascript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. Published specification: [[RFCXXXX]] Applications which use this media type: Script interpreters as discussed in [RFC4329]. Additional information: Magic number(s): n/a - File extension(s): .js, .mjs + File extension(s): .es, .mjs Macintosh File Type Code(s): TEXT Person & email address to contact for further information: See Author's Address section. Intended usage: OBSOLETE Restrictions on usage: The file extension .mjs must be parsed using the Module grammar of [ECMA-262] @@ -365,22 +370,23 @@ 4.6. text/javascript Type name: text Subtype name: javascript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -412,22 +418,23 @@ 4.7. text/javascript1.0 Type name: text Subtype name: javascript1.0 Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -459,22 +466,23 @@ 4.8. text/javascript1.1 Type name: text Subtype name: javascript1.1 Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -506,22 +514,23 @@ 4.9. text/javascript1.2 Type name: text Subtype name: javascript1.2 Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -553,22 +562,23 @@ 4.10. text/javascript1.3 Type name: text Subtype name: javascript1.3 Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -600,22 +610,23 @@ 4.11. text/javascript1.4 Type name: text Subtype name: javascript1.4 Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -647,22 +658,23 @@ 4.12. text/javascript1.5 Type name: text Subtype name: javascript1.5 Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -694,22 +706,23 @@ 4.13. text/jscript Type name: text Subtype name: jscript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -741,22 +754,23 @@ 4.14. text/livescript Type name: text Subtype name: livescript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. @@ -788,43 +802,44 @@ 4.15. text/x-ecmascript Type name: text Subtype name: x-ecmascript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter. Published specification: [[RFCXXXX]] Applications which use this media type: Script interpreters as discussed in [RFC4329]. Additional information: Magic number(s): n/a - File extension(s): .js, .mjs + File extension(s): .es, .mjs Macintosh File Type Code(s): TEXT Person & email address to contact for further information: See Author's Address section. Intended usage: OBSOLETE Restrictions on usage: The file extension .mjs must be parsed using the Module grammar of [ECMA-262] @@ -835,22 +850,23 @@ 4.16. text/x-javascript Type name: text Subtype name: x-javascript Required parameters: none Optional parameters: charset, see section 4.1 of [RFC4329]. - goal, declares the goal symbol within [ECMA-262] to be used while - parsing. + goal, declares the goal symbol in the Syntactic Grammars of + [ECMA-262] to be used while parsing. This parameter is case + insensitive. Encoding considerations: Encoding is host dependent with differences in byte order marks, the charset parameter, and text preprocessing. Security considerations: See section 5 of [RFC4329]. Interoperability considerations: See notes in various sections of [RFC4329]. This media type does not specify the grammar of [ECMA-262] used when missing the goal parameter.