[media-types] AD review of draft-ietf-dispatch-javascript-mjs-09
Francesca Palombini <francesca.palombini@ericsson.com> Tue, 24 August 2021 15:49 UTC
Return-Path: <francesca.palombini@ericsson.com>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 7A5653A1915;
Tue, 24 Aug 2021 08:49:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.543
X-Spam-Level:
X-Spam-Status: No, score=-2.543 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01,
URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=ericsson.com
Received: from mail.ietf.org ([4.31.198.44])
by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 0mWDM8e9SCeL; Tue, 24 Aug 2021 08:49:41 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com
(mail-eopbgr20083.outbound.protection.outlook.com [40.107.2.83])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 5F9E73A1917;
Tue, 24 Aug 2021 08:49:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=Nu8/0Fwwlra6vOr0JMSBkiCIYWsa2/dAKbR3PVYlk1Knn0oNIX+GxR+JtilNMC2SjBR2AldFQOJ/zqYStPb42JdQ30TxKqT8mQO8rDk6sk7bSue5NMgM9Lw3kogZ4TLzVN3lbW9ZBVFjvcqTzapJWzUZPZvf63PJEcWaMAxTojlgHsk3yTjfUqg/BsU8UF1xsYl6gTzLm7HGpn10Y+OH4hSIhS3POuktc3mn/oyGAq+9JUv54xj6Zy7bRJ2siMUDsebrjqMiYJwPWsRvnx1wiTwulf50aIT0Hyw+2zxPoRoU6ECMKofcAlhDNNEuUjXOVt5irRthhTyaxvDKM6evrw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=dZju23ZpjCztSbWi3frP9/mjJ5s6xXkFCiolFYCQC7M=;
b=dohuzC5bZuFDjpOtojfsrmFWZ4DOTHZMFcprQswbXPBhR4U0pDipgoO4s9yqa5LMNPm1++gnv8un29sMIrCOUY5ebwwIKz7I68s/P1dJ3aPX69khDTg2R/iG+QVhSBZxK3jGz5fWmEIlCkQ/YQVJzlJIWne+9xpdMFVmDisy7CeRCDrPx1uSdY1cjtAAli57KUWcT/WMfTUsnYEyXRnwPZSGmUPzEu6pcbmOH2DxxLvdRonWW/xc1PFradvARE0YZmg+xYh3/SExEUdp7jih6ZRXPBGn44aYuPUTDcqpV2VLkA/QLXQbDLXHTmK5k5H5t8e51Oc95Fqskxl6Y0Up9g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com;
dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com;
s=selector1;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=dZju23ZpjCztSbWi3frP9/mjJ5s6xXkFCiolFYCQC7M=;
b=ey8zpq7nmnoHQDXB/AUK9ZrjrlDOvmL6Rc2FGwwIPcZMM+F25rqbjaybrZe6aTjHMeRZnNaTjNp+xtvlhh+mTIfc+AUCVPKCbKZL4IIk+PhrppDfdDqEdVQBWghwH0dVEptIjVJQ8+TV5rm37rMI9yYmQCd8QXIJGR2/+Qssjvs=
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com (2603:10a6:7:96::33) by
HE1PR0701MB3035.eurprd07.prod.outlook.com (2603:10a6:3:4d::17) with
Microsoft
SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.4457.16; Tue, 24 Aug 2021 15:49:30 +0000
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com
([fe80::6536:1eff:d4ae:d51a]) by HE1PR07MB4217.eurprd07.prod.outlook.com
([fe80::6536:1eff:d4ae:d51a%7]) with mapi id 15.20.4436.024; Tue, 24 Aug 2021
15:49:30 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: "draft-ietf-dispatch-javascript-mjs.all@ietf.org"
<draft-ietf-dispatch-javascript-mjs.all@ietf.org>, "dispatch@ietf.org"
<dispatch@ietf.org>
CC: "media-types@ietf.org" <media-types@ietf.org>
Thread-Topic: AD review of draft-ietf-dispatch-javascript-mjs-09
Thread-Index: AQHXmP+gvFmjePB25kuuHaVq7cnnCg==
Date: Tue, 24 Aug 2021 15:49:30 +0000
Message-ID: <4747725C-5B58-4CCF-8C05-856A02FE7055@ericsson.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.51.21071101
authentication-results: ietf.org; dkim=none (message not signed)
header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d3d53ed0-a644-4859-1bad-08d96716c300
x-ms-traffictypediagnostic: HE1PR0701MB3035:
x-microsoft-antispam-prvs: <HE1PR0701MB3035443D06CCE27FCB4EB0ED98C59@HE1PR0701MB3035.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: nOIldTzjPvnz9T/YGu8pL0+KD43UnLzyDmFkzN+VI80P4jdmKXTL+GAVi8GkQ0ty1FY1RdepUWBw6/fzpCQsagAzpk6n42PbeQyLeYIuBSGqOeMNBm8WB9KYHKU1ir27mk/9RG2AObExsUJaKNeaxbp9n06x0uUoRoVvJW4LBWySAt8P6r/3Tp6uElSzeO1of3zUhMaTx31S+Kmw79yOdEUFq+c8QNx5S+Dp8xbpXK2fqbCJksJl3URAT6ErOD/BbNrhs7SvmapNHTi8uOJqOVtWJna2/1/iQwoRVHXhvivpBAf5edb6nNys7AWsLAVv9904q9XtjP20AZgvitzwXzG+vZaCpESNTvacLDKlN4KQa1C6qPJpbqXLAOX+3U071wPvq7a49JnfjqkqGMHGYKEwSnTqxY4D7IHmMyD2jmGBU01yFt1a1OUemCf61FjfK0S9xhose5Z9FaZav1uOqZDC+zj19BWahffPK2YLM+tgtBzSsqafGcQfI7+pKhMkkFhyfAIrv1c/wxZNmwcv2n4ZTwX0nie9QFgRndZJMfGLU/TE8HmfdpgiRAzi2pw3M6RuthVw7ASIiGSMmWGWpi/dIjtd0Nwks0TaPPrDFrniBsUlo94cRoVaYhGlbB9Qac+bnKi8sXX+ScTcOFkMq9eO8cOR0zB1cO+QFgBqFKzZ0NVSHtaGGnH5gfHPwo8GZghwec51tbCuVg+1+kKgqZWtpE10xK4q2o1TiaSKvPtpmOdTsmx9xaASgbzG+x1c
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM;
H:HE1PR07MB4217.eurprd07.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(376002)(366004)(346002)(39860400002)(136003)(396003)(6486002)(8936002)(6506007)(44832011)(33656002)(86362001)(4326008)(6512007)(38070700005)(5660300002)(2906002)(110136005)(64756008)(66556008)(66946007)(66476007)(66446008)(2616005)(186003)(76116006)(122000001)(450100002)(36756003)(71200400001)(316002)(478600001)(8676002)(83380400001)(38100700002)(45980500001);
DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RG50b3c2VHRDMTZKRnRpOWR2KzdVcExLVWg1N2JYRCtEYWxTMzJ2czlIVVVn?=
=?utf-8?B?a2ZxZTdDK0JTUCtOczVZWjNpRUU5VFFPU3ZuNnRwbEl1dWxjQ3dXRXJFMHh5?=
=?utf-8?B?MEU5OURyUEluUWVoWnZva0dxQmlaeDdNQkVhQUpLVzJwWERmZzgrQUZEOUp4?=
=?utf-8?B?Y0R1Zzd3M3B5VlFlTXNiVXBGVjBtVjlYYUUwK0JDclFHSWpFRUFGc0NubE0w?=
=?utf-8?B?c0p3a3RFWUVYTGJ1K3ZzejY1TitSSGltUWVJR1J0eENIZENPS3YyWTRUUkNR?=
=?utf-8?B?UERMcTRIMFVDa1Q3QjlFM2NxT2YxQThwcnk0c25XaEduWEw3ekZKZ3hoTlZP?=
=?utf-8?B?YTBMWFliT0ptNVEyU29kcDJDL3EwNis0cDRVQkZYcGRNa3JrRkdUeGxFMVpP?=
=?utf-8?B?emRPU2RCa1B3VjhlZ1pLVVdRL1crREZaVEZsT29ibEtoeUs5TmpON3lMak1y?=
=?utf-8?B?cjcxTGIrdjFHcnBSRk5RR2tVb1pOWHlwbFdDK0FKZS94aGl0UVRacUFIMmtJ?=
=?utf-8?B?eko2a00vZy85eVIrQXlvQU9nSkRxeVBiMlJKRG5BZkZRTXloRkl2UFJaK3pQ?=
=?utf-8?B?VGttM0toMC8vUjFTZ3FPS291Z3VtODg2SVM2SFlUeUNYN0t2ZHFKazMva3Y1?=
=?utf-8?B?ZTkwaURaM3hOeWZtWERUc2VwQTBnUFVldGFZRER6eThsYVhjZzBRR085a0RL?=
=?utf-8?B?NXowbUxhZXlOWjZQaEJuZWIrSXU2dzR0VkljWm8yY2d2dVljVnJKMnc1U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WR6S2drSExmeGs4NEEx?=
=?utf-8?B?SzkwbVBHNkNBVFVoNlpkV3dtYklYL2lkVUZmUkFXVkRSd2h0WFBua3hNdnhL?=
=?utf-8?B?RDRpRDhlN0YxbC8vdnRyeWJkWHlPaW9tY3g2RG9NY1VhbTF2MUVsd1lJRFFj?=
=?utf-8?B?MXNBbkRTa2VwdytXay9jT2Q0ekJDMmtabVpnYVN3eDhMZEMxSU4xeHk5VnE3?=
=?utf-8?B?NG04b2NlWVVYdXcyakFJcW5oS2VtZkY1RHRXc0pJaS93MEE9PQ==?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <AB8118AA1EFF704097146906948A8EEE@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB4217.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d3d53ed0-a644-4859-1bad-08d96716c300
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2021 15:49:30.6682 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: oWMmFq/dZ3TWybs98F576mdWqizBlKwYaqk0wDKawLS5Buf0fmqubUFY0jIpPC3WvU0xqaW7SAOuLJsXgwuwKKqIonxm6OPCHZBTSmj+9nYJ/PbzqV1P0BcA4ByJvsQO
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB3035
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/4uSSjwkJC2ZiM3ZXeL6K914dtns>
Subject: [media-types] AD review of draft-ietf-dispatch-javascript-mjs-09
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type,
Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>,
<mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>,
<mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Aug 2021 15:49:47 -0000
Thank you for the work on this document. This is my AD review.
I have divided comments into "main", "minor" and "nits". I'd like to have a discussion on my main comments before requesting the IETF Last Call. On the other hand, you can address the minors and nits together with any additional Last Call comments you will get. As I am coming in late to the process, please understand that I don't mean to re-hash existing discussions that I am not aware of, and I appreciate your patience: feel free to point me to previous discussion (and conclusions) I might have missed, if relevant.
For the minor comments - some of these are suggestions or questions which I hope will help improve readability, which you can decide to take or leave as you please.
Francesca
## Main
1. ----
FP: This document is presented in the Abstract, Introduction and Compatibility section as aiming to update some IANA registrations for the media types mentioned, as well as documenting current usage of these media types. Because of that, I am not convinced about the use of BCP 14 language: if the intent is documenting current practices, most of these BCP 14 terms should be replaced by explanations on how implementations behave. To give an example of my concern, for the following paragraph in Section 4:
Implementations that support binary source text MUST support binary
source text encoded using the UTF-8 [RFC3629] character encoding
scheme. Module goal sources MUST be encoded as UTF-8, all other
encodings will fail. Source goal sources SHOULD be encoded as UTF-8;
other character encoding schemes MAY be supported, but are
discouraged.
FP: Are these requirements that should have been there in RFC 4329 and are being added now? Are these how most implementations already behave? Would it not make more sense to reformulate this paragraph to describe implementations behaviour, rather than mandate and recommend? Why using BCP 14 terms?
This comment applies to all new occurrences of BCP 14 terms (it does not to apply to sections taken from RFC 4329, such as the first paragraph of section 4.1).
2. ----
FP: Maybe more of a question: why is the "Encoding considerations" field in all subsections of section 6.1 "binary"? RFC 4329 did have more text about the encoding, is that obsoleted? Did I miss in which part of the draft this is discussed?
3. ----
FP: "Published specification" field of each subsection of section 6.1 is "this document". I don't believe that is correct, and it should instead point to the correct specification (so JS 1.5, ECMAScript etc).
4. ----
FP: I would also add RFC 4329 authors as "Person & email address to contact", as well as "Author" for those media types that 4329 registered. Please let me know if this is not common practice, but it seems logical to me to have both you authors and previous authors.
5. ----
FP: I believe it would make sense to modify the IANA media type registry to add an "OBSOLETED in favor of ..." note in the name column of all those media types obsoleted. I think this requires a new IANA section.
6. ----
FP: There are 4 occurrences of media types where Intended usage is OBSOLETE, but the Restriction on usage does not have the same sentence as all the other obsolete ones:
This media type is obsolete; current
implementations should use text/javascript as the only JavaScript/
ECMAScript media type.
I think this is an overlook, is that correct?
## Minor
7. -----
FP: Please consider adding some text in the introduction mentioning that this document expands on the security considerations. I appreciate this work on the Security Considerations section was done, and believe the BCP 14 terms make sense there. It should just be highlighted better in the introductory part of the document.
8. -----
FP: I am not sure RFC3986 and RFC3987 need to be a normative reference, given the only place they appear is a paragraph stating how this document does not define processing of fragment identifiers.
9. -----
FP: I'd suggest adding section numbers when referring to [ECMA-262] sections, instead of just names.
10. -----
javascript. Differences in ECMAScript versions have been better
dealt with in the processors.
FP: "in the processors" - I am not sure what is meant here, might be worth considering rephrasing for clarity.
11. -----
Refer to [RFC6265] for a discussion of terminology used in this
section. Source text (as defined in [ECMA-262], section "Source
FP: I am confused by what part of 6265 is relevant regarding terminology used in this section. Maybe adding a section pointer would help.
12. -----
separately for purposes of external storage and retrieval. An
implementation's internal representation of source text and source
text are not considered binary source text.
FP: I have a hard time parsing "and source text", in the context of the sentence. What's the difference with "an implementation's internal representation of source text"? (this might be me not understanding the phrasing)
13. -----
FP: Section 6 - IANA Considerations: please consider adding a link to the media type registry.
## Nit
14. ----
of additional scripts, called importing. Implementations that
support modules need to process imported sources in the same way
scripts. Further, there may be additional privacy and security
FP: "in the same way script" - is it missing an "as"?
- [media-types] AD review of draft-ietf-dispatch-ja… Francesca Palombini
- Re: [media-types] [dispatch] AD review of draft-i… Ben Campbell
- Re: [media-types] [dispatch] AD review of draft-i… Francesca Palombini
- Re: [media-types] AD review of draft-ietf-dispatc… Alexey Melnikov
- Re: [media-types] AD review of draft-ietf-dispatc… Mathias Bynens
- Re: [media-types] AD review of draft-ietf-dispatc… Mathias Bynens
- Re: [media-types] AD review of draft-ietf-dispatc… Francesca Palombini
- Re: [media-types] AD review of draft-ietf-dispatc… Mathias Bynens
- Re: [media-types] AD review of draft-ietf-dispatc… Francesca Palombini
- Re: [media-types] AD review of draft-ietf-dispatc… Mathias Bynens
- Re: [media-types] AD review of draft-ietf-dispatc… Mathias Bynens
- Re: [media-types] AD review of draft-ietf-dispatc… Francesca Palombini