ECMAScript Media Types Updates
draft-ietf-dispatch-javascript-mjs-06

The information below is for an old version of the document
Document Type Active Internet-Draft (dispatch WG)
Authors Matthew Miller  , Myles Borins  , Mathias Bynens  , Bradley Farias 
Last updated 2020-03-25 (latest revision 2020-03-06)
Replaces draft-bfarias-javascript-mjs
Stream IETF
Intended RFC status Informational
Formats pdf htmlized (tools) htmlized bibtex
Reviews
Stream WG state WG Document
Document shepherd Ben Campbell
Shepherd write-up Show (last changed 2019-02-14)
IESG IESG state AD is watching
Consensus Boilerplate Yes
Telechat date
Responsible AD Barry Leiba
Send notices to Barry Leiba <barryleiba@computer.org>, Ben Campbell <ben@nostrum.com>
DISPATCH                                                       M. Miller
Internet-Draft                                                   Mozilla
Obsoletes: 4329 (if approved)                                  M. Borins
Intended status: Informational                                 M. Bynens
Expires: September 7, 2020                                        Google
                                                               B. Farias
                                                          March 06, 2020

                     ECMAScript Media Types Updates
                 draft-ietf-dispatch-javascript-mjs-06

Abstract

   This document updates the ECMAScript media types, replacing the
   existing registrations for "application/javascript" and "text/
   javascript" with information and requirements aligned with
   implementation experiences.  This document obsoletes RFC4329,
   "Scripting Media Types".

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   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 September 7, 2020.

Copyright Notice

   Copyright (c) 2020 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

Miller, et al.          Expires September 7, 2020               [Page 1]
Internet-Draft       ECMAScript Media Types Updates           March 2020

   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Compatibility . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Modules . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
   4.  Encoding  . . . . . . . . . . . . . . . . . . . . . . . . . .   4
     4.1.  Charset Parameter . . . . . . . . . . . . . . . . . . . .   4
     4.2.  Character Encoding Scheme Detection . . . . . . . . . . .   5
     4.3.  Character Encoding Scheme Error Handling  . . . . . . . .   6
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   9
     6.1.  Common Javascript Media Types . . . . . . . . . . . . . .   9
       6.1.1.  text/javascript . . . . . . . . . . . . . . . . . . .   9
     6.2.  Historic Javascript Media Types . . . . . . . . . . . . .  10
       6.2.1.  application/ecmascript  . . . . . . . . . . . . . . .  10
       6.2.2.  application/javascript  . . . . . . . . . . . . . . .  11
       6.2.3.  application/x-ecmascript  . . . . . . . . . . . . . .  12
       6.2.4.  application/x-javascript  . . . . . . . . . . . . . .  13
       6.2.5.  text/ecmascript . . . . . . . . . . . . . . . . . . .  14
       6.2.6.  text/javascript1.0  . . . . . . . . . . . . . . . . .  15
       6.2.7.  text/javascript1.1  . . . . . . . . . . . . . . . . .  16
       6.2.8.  text/javascript1.2  . . . . . . . . . . . . . . . . .  17
       6.2.9.  text/javascript1.3  . . . . . . . . . . . . . . . . .  18
       6.2.10. text/javascript1.4  . . . . . . . . . . . . . . . . .  19
       6.2.11. text/javascript1.5  . . . . . . . . . . . . . . . . .  20
       6.2.12. text/jscript  . . . . . . . . . . . . . . . . . . . .  21
       6.2.13. text/livescript . . . . . . . . . . . . . . . . . . .  22
       6.2.14. text/x-ecmascript . . . . . . . . . . . . . . . . . .  23
       6.2.15. text/x-javascript . . . . . . . . . . . . . . . . . .  24
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  25
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .  25
     7.2.  Informative References  . . . . . . . . . . . . . . . . .  26
   Appendix A.  Acknowledgements . . . . . . . . . . . . . . . . . .  26
   Appendix B.  Changes from RFC 4329  . . . . . . . . . . . . . . .  26
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  27

1.  Introduction
Show full document text