draft-ietf-dispatch-javascript-mjs-00.txt | draft-ietf-dispatch-javascript-mjs-01.txt | |||
---|---|---|---|---|
DISPATCH B. Farias | DISPATCH B. Farias | |||
Internet-Draft | Internet-Draft | |||
Updates: 4329 (if approved) M. Miller | Updates: 4329 (if approved) M. Miller | |||
Intended status: Informational Mozilla | Intended status: Informational Mozilla | |||
Expires: April 10, 2018 October 7, 2017 | Expires: May 2, 2018 October 29, 2017 | |||
ECMAScript Media Types Updates | ECMAScript Media Types Updates | |||
draft-ietf-dispatch-javascript-mjs-00 | draft-ietf-dispatch-javascript-mjs-01 | |||
Abstract | Abstract | |||
This document proposes updates to the ECMAScript media types, | This document proposes updates to the ECMAScript media types, | |||
superseding the existing registrations for "application/javascript" | superseding the existing registrations for "application/javascript" | |||
and "text/javascript" by adding an additional extension and removing | and "text/javascript" by adding an additional extension and removing | |||
usage warnings. This document updates RFC4329, "Scripting Media | usage warnings. This document updates RFC4329, "Scripting Media | |||
Types". | Types". | |||
Note to Readers | Note to Readers | |||
skipping to change at page 1, line 46 ¶ | skipping to change at page 1, line 46 ¶ | |||
Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
Drafts is at https://datatracker.ietf.org/drafts/current/. | Drafts is at https://datatracker.ietf.org/drafts/current/. | |||
Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
This Internet-Draft will expire on April 10, 2018. | This Internet-Draft will expire on May 2, 2018. | |||
Copyright Notice | Copyright Notice | |||
Copyright (c) 2017 IETF Trust and the persons identified as the | Copyright (c) 2017 IETF Trust and the persons identified as the | |||
document authors. All rights reserved. | document authors. All rights reserved. | |||
This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
(https://trustee.ietf.org/license-info) in effect on the date of | (https://trustee.ietf.org/license-info) in effect on the date of | |||
publication of this document. Please review these documents | publication of this document. Please review these documents | |||
skipping to change at page 2, line 26 ¶ | skipping to change at page 2, line 26 ¶ | |||
include Simplified BSD License text as described in Section 4.e of | include Simplified BSD License text as described in Section 4.e of | |||
the Trust Legal Provisions and are provided without warranty as | the Trust Legal Provisions and are provided without warranty as | |||
described in the Simplified BSD License. | described in the Simplified BSD License. | |||
Table of Contents | Table of Contents | |||
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
2. Background . . . . . . . . . . . . . . . . . . . . . . . . . 3 | 2. Background . . . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
3. Notational Conventions . . . . . . . . . . . . . . . . . . . 3 | 3. Notational Conventions . . . . . . . . . . . . . . . . . . . 3 | |||
4. Registration . . . . . . . . . . . . . . . . . . . . . . . . 3 | 4. Registration . . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
4.1. appliaction/ecmascript . . . . . . . . . . . . . . . . . 3 | 4.1. application/ecmascript . . . . . . . . . . . . . . . . . 3 | |||
4.2. application/javascript . . . . . . . . . . . . . . . . . 4 | 4.2. application/javascript . . . . . . . . . . . . . . . . . 4 | |||
4.3. application/x-ecmascript . . . . . . . . . . . . . . . . 5 | 4.3. application/x-ecmascript . . . . . . . . . . . . . . . . 5 | |||
4.4. application/x-javascript . . . . . . . . . . . . . . . . 6 | 4.4. application/x-javascript . . . . . . . . . . . . . . . . 6 | |||
4.5. text/ecmascript . . . . . . . . . . . . . . . . . . . . . 7 | 4.5. text/ecmascript . . . . . . . . . . . . . . . . . . . . . 7 | |||
4.6. text/javascript . . . . . . . . . . . . . . . . . . . . . 8 | 4.6. text/javascript . . . . . . . . . . . . . . . . . . . . . 8 | |||
4.7. text/javascript1.0 . . . . . . . . . . . . . . . . . . . 9 | 4.7. text/javascript1.0 . . . . . . . . . . . . . . . . . . . 9 | |||
4.8. text/javascript1.1 . . . . . . . . . . . . . . . . . . . 10 | 4.8. text/javascript1.1 . . . . . . . . . . . . . . . . . . . 10 | |||
4.9. text/javascript1.2 . . . . . . . . . . . . . . . . . . . 11 | 4.9. text/javascript1.2 . . . . . . . . . . . . . . . . . . . 11 | |||
4.10. text/javascript1.3 . . . . . . . . . . . . . . . . . . . 12 | 4.10. text/javascript1.3 . . . . . . . . . . . . . . . . . . . 12 | |||
4.11. text/javascript1.4 . . . . . . . . . . . . . . . . . . . 13 | 4.11. text/javascript1.4 . . . . . . . . . . . . . . . . . . . 13 | |||
skipping to change at page 3, line 45 ¶ | skipping to change at page 3, line 45 ¶ | |||
The ECMAScript media types are to be updated to point to a non-vendor | The ECMAScript media types are to be updated to point to a non-vendor | |||
specific standard undated specification of ECMAScript. In addition, | specific standard undated specification of ECMAScript. In addition, | |||
a new file extension of .mjs is to be added to the list of file | a new file extension of .mjs is to be added to the list of file | |||
extensions with the restriction that it must correspond to the Module | extensions with the restriction that it must correspond to the Module | |||
grammar of [ECMA-262]. Finally, the [HTML] specification is using | grammar of [ECMA-262]. Finally, the [HTML] specification is using | |||
text/javascript as the default media type of ECMAScript when | text/javascript as the default media type of ECMAScript when | |||
preparing script tags; therefore, text/javascript has been moved | preparing script tags; therefore, text/javascript has been moved | |||
intended usage from OBSOLETE to COMMON. | intended usage from OBSOLETE to COMMON. | |||
4.1. appliaction/ecmascript | 4.1. application/ecmascript | |||
Type name: application | Type name: application | |||
Subtype name: ecmascript | Subtype name: ecmascript | |||
Required parameters: none | Required parameters: none | |||
Optional parameters: charset, see section 4.1 of [RFC4329]. | Optional parameters: charset, see section 4.1 of [RFC4329]. | |||
goal, declares the goal symbol within [ECMA-262] to be used while | goal, declares the goal symbol within [ECMA-262] to be used while | |||
parsing. | parsing. | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |