ECMAScript Media Types Updates
draft-ietf-dispatch-javascript-mjs-05
|
Document |
Type |
|
Active Internet-Draft (dispatch WG)
|
|
Last updated |
|
2019-10-31
|
|
Replaces |
|
draft-bfarias-javascript-mjs
|
|
Stream |
|
IETF
|
|
Intended RFC status |
|
Informational
|
|
Formats |
|
plain text
xml
pdf
htmlized
bibtex
|
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 |
|
Alexey Melnikov
|
|
Send notices to |
|
Barry Leiba <barryleiba@computer.org>, Ben Campbell <ben@nostrum.com>
|
DISPATCH M. Borins
Internet-Draft M. Bynens
Updates: 4329 (if approved) Google
Intended status: Informational M. Miller
Expires: May 3, 2020 Mozilla
B. Farias
October 31, 2019
ECMAScript Media Types Updates
draft-ietf-dispatch-javascript-mjs-05
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".
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 May 3, 2020.
Copyright Notice
Copyright (c) 2019 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
Borins, et al. Expires May 3, 2020 [Page 1]
Internet-Draft ECMAScript Media Types Updates October 2019
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
2. Background . . . . . . . . . . . . . . . . . . . . . . . . . 2
3. Security Considerations . . . . . . . . . . . . . . . . . . . 3
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 3
4.1. Common Javascript Media Types . . . . . . . . . . . . . . 4
4.1.1. text/javascript . . . . . . . . . . . . . . . . . . . 4
4.2. Historic Javascript Media Types . . . . . . . . . . . . . 5
4.2.1. application/ecmascript . . . . . . . . . . . . . . . 5
4.2.2. application/javascript . . . . . . . . . . . . . . . 6
4.2.3. application/x-ecmascript . . . . . . . . . . . . . . 7
4.2.4. application/x-javascript . . . . . . . . . . . . . . 8
4.2.5. text/ecmascript . . . . . . . . . . . . . . . . . . . 9
4.2.6. text/javascript1.0 . . . . . . . . . . . . . . . . . 10
4.2.7. text/javascript1.1 . . . . . . . . . . . . . . . . . 11
4.2.8. text/javascript1.2 . . . . . . . . . . . . . . . . . 12
4.2.9. text/javascript1.3 . . . . . . . . . . . . . . . . . 13
4.2.10. text/javascript1.4 . . . . . . . . . . . . . . . . . 14
4.2.11. text/javascript1.5 . . . . . . . . . . . . . . . . . 15
4.2.12. text/jscript . . . . . . . . . . . . . . . . . . . . 16
4.2.13. text/livescript . . . . . . . . . . . . . . . . . . . 17
4.2.14. text/x-ecmascript . . . . . . . . . . . . . . . . . . 18
4.2.15. text/x-javascript . . . . . . . . . . . . . . . . . . 19
5. References . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.1. Normative References . . . . . . . . . . . . . . . . . . 20
5.2. Informative References . . . . . . . . . . . . . . . . . 20
Appendix A. Acknowledgements . . . . . . . . . . . . . . . . . . 20
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 20
1. Introduction
This document updates the existing media types for the ECMAScript
programming language. It supersedes the media types registrations in
[RFC4329] for "application/javascript" and "text/javascript".
2. Background
In order to formalize support for modular programs, [ECMA-262]
(starting with 6th Edition) defines two top-level goal symbols (or
roots to the abstract syntax tree) for the ECMAScript grammar: Module
and Script. The Script goal represents the more stand-alone
structure where the code executes in the global scope, while the
Show full document text