Re: [media-types] AD review of draft-ietf-dispatch-javascript-mjs-09

Francesca Palombini <francesca.palombini@ericsson.com> Mon, 30 August 2021 15:12 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 DEBC13A1640; Mon, 30 Aug 2021 08:12:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.541
X-Spam-Level:
X-Spam-Status: No, score=-2.541 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, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, 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 TkjPlLKdGLUe; Mon, 30 Aug 2021 08:12:29 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30046.outbound.protection.outlook.com [40.107.3.46]) (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 6F0CD3A1634; Mon, 30 Aug 2021 08:12:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=miI64R9PUt/W+1K8qWnbTxFhy0NW4IT8f8HEs9lQfUVznHab6jkDmNLBl7961PDb2AAaiTvgoORRwKcjJyQu2fKxcAYTj+LmBvEApKrXqMsju6InOWVqw6TE9u6p21QQHx2it231A1JeIMwsWQFJjtFZopmdNUxF9AzbexAXEwqRz04ifr847VLz+q6NvrHGAx47tGl+4qBcN0Ux3EzPMAn8Qo/zqdd0WjP9/JjF1BfMX7neWhyIdlxW7HA123YJiKzjbzspzrG66Iz4gWx8ZMqfTkD8aT0CJ/jHy+GmXW+2ZK6YWd08z9w2drZrkOnCO2mUfFuJ1E2mLX9OaT0CBQ==
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; bh=I2uJ7nv8Te9+OtQEw2+Fk/5kOF6m5J9EGiRASBUp4ck=; b=QyA+JaMwwFBpomKn1tpdruQZAVohE7LIf8g2uCa3guabA+NPU0jYskkj044wHwz9vixgoM1Z4n1JxLOtNAC2XMn7/91jF7KCovshQxY/Zn77NrYcIX2eDINKruH/fO4T+SMTEAVxF/+a4bTlwSm0dOHCs4l+1WPkcJUm2rtZ/ec634pC7yVMnGeB0cgkbCgUCZyoLbt4Zzj0iIA3Z6tRscKVhYk0mpk82AhV0tQOARX1CpV9QtOCnf3yXE9RhNGGBx28krvOyLg21pC42GQkKGd3GmCvE0dBREZnQ+3ioXx2WlZTEioY8BhzSnTA5mgoVYwvvgHMfp0jmvJ9uwCX1w==
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=I2uJ7nv8Te9+OtQEw2+Fk/5kOF6m5J9EGiRASBUp4ck=; b=syrtacBAnJzhWhCYf7qMd4GhXh886UR9oOhy5rOOwSMLoTX9CejoENgalxRWgYfvebfQKY5olsYLkgtKvT3FwlEzbXOSb0nBE5KS9NI4KmN/5F/V0CxWfOk4N8m1CmLfOAVs9nFFYwY8uiyaGm31yLjwLX6IsnrjI7wq3D0bg5M=
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com (2603:10a6:7:96::33) by HE1PR0702MB3706.eurprd07.prod.outlook.com (2603:10a6:7:8d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.16; Mon, 30 Aug 2021 15:12:11 +0000
Received: from HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::94b7:db6b:3aa3:8875]) by HE1PR07MB4217.eurprd07.prod.outlook.com ([fe80::94b7:db6b:3aa3:8875%5]) with mapi id 15.20.4478.017; Mon, 30 Aug 2021 15:12:11 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: Mathias Bynens <mths@google.com>
CC: "draft-ietf-dispatch-javascript-mjs.all@ietf.org" <draft-ietf-dispatch-javascript-mjs.all@ietf.org>, "dispatch@ietf.org" <dispatch@ietf.org>, "media-types@ietf.org" <media-types@ietf.org>
Thread-Topic: AD review of draft-ietf-dispatch-javascript-mjs-09
Thread-Index: AQHXmP+gvFmjePB25kuuHaVq7cnnCquF3k6AgAXFYQCAAK6nAA==
Date: Mon, 30 Aug 2021 15:12:11 +0000
Message-ID: <D041682A-446C-4123-AA91-363257EFC7D7@ericsson.com>
References: <4747725C-5B58-4CCF-8C05-856A02FE7055@ericsson.com> <CADizRga_PVNVEJvHFp_0DT4ZWQp9cn7Y+Wk72UV5itC0A7oEhQ@mail.gmail.com> <CADizRgaq_4TFNvpfFWx7KwO4KH49dFzYiHcH-L2ZG0q1tYJ=Cg@mail.gmail.com>
In-Reply-To: <CADizRgaq_4TFNvpfFWx7KwO4KH49dFzYiHcH-L2ZG0q1tYJ=Cg@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.52.21080801
authentication-results: google.com; dkim=none (message not signed) header.d=none;google.com; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 00b9366f-8382-41f6-dcd5-08d96bc88afe
x-ms-traffictypediagnostic: HE1PR0702MB3706:
x-microsoft-antispam-prvs: <HE1PR0702MB37061A06E9AB6A142F723FC198CB9@HE1PR0702MB3706.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: yXZLikw6YgTBWGWTqZzwROULFtmEfm1Sypq/vXTZrV298geoyLMDzXZj4yVHBRCrYbyrEFP9hwuKp84eegDVSOLQl407bVEvCTQjG5rkfb4v4X/JlPwPnv9r6qmG+7Akpq/rmD2oizj+P6u7iQpmM/Ss1tiv5sdNan17FpdYmsEXh3tHAAhgzSu1Uf7aNABIPE531eRKO/G2AbX+lgVSQKp6vdfTm6NZ9R9bBB6ME+kFFNfOg2R9YalC8n1KV79vtuR9U2NEx3GrtdLGRjhB1huRofF2xsm+LuuzeUZqkrow6m5AHB6e2umrPQ/OfZHh9lT7KYlZ13BG7rMN6rwCVeaqJ0alKxdd5fdZueb2sVyZ26UU4OMw6ZD8o4mD7ZkKCMnIFb+cwV40t3xdbboLIUGvBpnx0pPKiy97OhwrEhP7VtcpRHTBPUuZsURlJzTiviopcG3C7wLJ0sf/O3t4/TaztMa30vSYfni6KtUgfeUmLTUdZ1LUnatlI+s94tQm3aTbpxctJ+Ga4eJEwN/UbQDN8BhfMPUiE4NxkwFBZdDMOQU9LhwVxQGcUAHbTaDgTCFE31mNNcgv5OmxnjbhxKwImO15d+1xN9yQ4IKji1UV5HiI5b83t3ZLuyIL4m4l4Z4685wzyp0RRCR0YfPhWTIy7RGqLsfhWUGkOjTzMkBZVS98KStCMcDG7t3t2Dt2Xg8qr7rqmIbzK7h1h7RzdBhdbk7tw15Ug+3uPPQC6nKLD2tae/pQZK+sC1ybTxS+5r6sx+ukQgOT3n3SPKQUJIilP/TwgPnu0xAqW7gyO23lcVxbv4owXUmqSBPyBigngFxZ4cuM4IPEsoWkuGwgwINUs4xK5984UWIppTV2H8s=
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)(39860400002)(366004)(136003)(396003)(346002)(71200400001)(44832011)(66446008)(38070700005)(66556008)(166002)(83380400001)(5660300002)(53546011)(64756008)(6506007)(966005)(30864003)(54906003)(8936002)(6486002)(76116006)(38100700002)(122000001)(316002)(2906002)(9326002)(8676002)(66476007)(36756003)(6512007)(33656002)(2616005)(86362001)(6916009)(4326008)(478600001)(186003)(66946007)(45980500001)(579004); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WGJ5OERaQXE3QnAvUDFLbGM0V0x4MitPcDF0b3NvNm0rSlI3RVpnNGdhM1J0?= =?utf-8?B?UzN5MzhpbUx1Mk45RjhFTHhzOUVWSHFLcEFqYy9DLzg5bVN4eTkrY2xNalJF?= =?utf-8?B?Q3A4MDBBaDErUktKYUdjVkdkSW9MVDRSb0FRNjcyY2FQQU1iWEh2ZzBJZHha?= =?utf-8?B?OStkdCtLZkJUc0dZWmhzQys1SDNKcm1LVy9qR3VNODZMS0MvWjMrQTBheEpo?= =?utf-8?B?L0ZOOUU4Y3FFaGptRm1IU2JiRlZXSzRzZWx6NEU1OTdXOFFkMks5N3hpZzlU?= =?utf-8?B?N3RUbTVoRituS1g2UnM5TzYyRm1CaWtBRFh6Wlc2T3VwdEVSQTRHVktyeGdj?= =?utf-8?B?Y2h5bklGd1NRdmNkOWRHbi9hTDNlZVBRaGpaMVliaE1mbFJyNmttckxFMnR5?= =?utf-8?B?NitSVWlZbzlGb0NOV2pJWTMyeHk1Q2ZoSjl1a2xRN3JMVG5uL0xsN1I4MDlk?= =?utf-8?B?Mk9wTkZmYzltVFh1Y3JnOWVKR29sVGt0eXlIVnFCTHYrWGpWVDZ3RnVISGJw?= =?utf-8?B?OXg4S3VZN1JndjZVaE9ZWDlwc21MODVTTUFmT3FMMU1UcURyb1BGTXZhZnk3?= =?utf-8?B?MzNkL3NHOU9PU1A3MlZNYUFKai8rMlZoM1N1N1Fiay9QQ1JWQ09MNms0Z3JO?= =?utf-8?B?MG1YRlJ2WVVFWWtZMHNOTnFjQTNyenQ0TUNHY3lVZm5TRWlETVRYUzNFWEZ4?= =?utf-8?B?eTNrMkxPYzFRb1VDeXBDTHo0b0FmdHRxek5mSDArdHo4V2EweFo2Mmc5NHlB?= =?utf-8?B?TkdubWtvRUVuWW5wT05CelZKU2czT3V1SjhFWTBZekVoUVpBU3F0SnpSaVlq?= =?utf-8?B?TjhidjhOQzUvVkg4RmZiU0QxZ3F5c2VzRHdnRW8vZDJpbHhCekdYMDNWRHNs?= =?utf-8?B?bzZrVUFxR2dxZzBLSnltNFM2UDJ6VnJlMVFNMUhBSklaMnBGVHg1am9pUXlp?= =?utf-8?B?b2pZWUhocHdNY3g3b0JIL3lmeTUxRUtuOCtUeTRoU21mWG13cWFXNmhKNlBS?= =?utf-8?B?R2sycjBhVXZqc0J5TUVMVXNCMVI0YzZtSHh2TSttK09HaGpHK1ZsVHpkeDFx?= =?utf-8?B?NTRCbE1EdHM3VG9sc0NLTlZaWm1rbGlmbUJIVVRyYnhmZytPL1ppV3l3QlNF?= =?utf-8?B?dVpXNzJELzBlSG9FWmtTdmlYblcwNDBwN3JjdGdXRnE4WWZOWFlhVi9rT0tz?= =?utf-8?B?eEpDV2dkUXVzZElkT0Q0UVRYaUUzZnVlZW85UUNTTDROYUU0ZXJuMUEzVDZh?= =?utf-8?B?aFJUOHd4NlZjV0xqaFo2M3ZVRjhqSndPZzV3aU11UVg1TTh5Mm9yaTlKYjEw?= =?utf-8?B?UGJGNVZSa3VURzY1VlJNOG1WZ1dWQ2NIM1lYM1VzZTlQdXNmcmhvMXM4R0c4?= =?utf-8?B?Y1BmWHR6MENBS0dhdUNiaXRBNDc0YTY0WGwxNXlPU1NDakF4V0RYaE9UMlJt?= =?utf-8?B?Q1FQd0haclh4L2dFUmQ1TFVPYjltUStRUW1tK3BpRHdvV0lITTlEejJ2UkFS?= =?utf-8?B?b2ZsL2dwKytZREU5ZmNaMjRIMGpNVytRaUZSVGo3V3EzQWhaem4yNmNGK2Qy?= =?utf-8?B?QXdMZ0hJQVlqZmRFcEovbnN6R3pYWFhPWGxRTVk0N3dpclhRdFppbEc4eHBX?= =?utf-8?B?bEcyUjYrcmhGOXU4aW5ycTlLd1NmQ2s3MnZjc2dOV09mdjgxdFBvb3Y2RnpF?= =?utf-8?B?dlJsOW1Bam1QQTFoNWlQWmRJSWxWUW40UFVGR0FyRUhzSGFRNWc5ZmllWkR4?= =?utf-8?B?d3RHb3VRZ242UlZsWnI2R1N4ckI3azcrY3kyR1loZ0s1c1h2R3JvVnhrcWZp?= =?utf-8?B?Nk9xY0NXa1YyVHNlSFN0UldmeEVqNDI5ZHVpZEdqNDB4YUJqWWcxT3A3NFBJ?= =?utf-8?B?WWFZUXZzSjFObmhrd2loMmcyM2ZTQkFWcUh5YkpIanBvVUE9PQ==?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_D041682A446C4123AA91363257EFC7D7ericssoncom_"
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: 00b9366f-8382-41f6-dcd5-08d96bc88afe
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2021 15:12:11.5517 (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: 9XdwUZsxHBtZ46ywA2K7f+rSMgh0YfGsD9J0vkNaH+BxuNCN9slmkEr9x9dJPUVLeTRzDihCdkQTwYUdOnjCgDMT9P+tcMGZ8sMsNC6m+giAmVHDbzZF1xBLqO7AE2EC
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3706
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/zDva0nNwasR16AqpdBhom-Dov-8>
Subject: Re: [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: Mon, 30 Aug 2021 15:12:46 -0000

Hi Mathias,

Thank you for the quick reply! I tried to clarify some of my comments. As you can see, I have my opinion for some of the points (3. 4. And 5.), but it would be good to get the media type experts and IANA opinion as well, as they know better. I will reach out to IANA separately and CC you. Let me know if my suggestions make sense or you have additional questions/comments.

Francesca

From: Mathias Bynens <mths@google.com>
Date: Monday, 30 August 2021 at 08:47
To: Francesca Palombini <francesca.palombini@ericsson.com>
Cc: "draft-ietf-dispatch-javascript-mjs.all@ietf.org" <draft-ietf-dispatch-javascript-mjs.all@ietf.org>rg>, "dispatch@ietf.org" <dispatch@ietf.org>rg>, "media-types@ietf.org" <media-types@ietf.org>
Subject: Re: AD review of draft-ietf-dispatch-javascript-mjs-09

Hi Francesca,

We’ve worked through your feedback (italic below). Here are our responses (bold):


## 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).


We believe this has already been addressed by the shepherd earlier in the thread.

FP: Indeed, and to reiterate: I am OK with keeping the BCP 14 terms that come from 4329. Do you think you could add some explanatory text in the introduction about the fact that this document updates existing requirements from 4329 based on existing practice?


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?


This was done in response to Media-Type Early Review comments: https://github.com/linuxwolf/bmeck-ids/pull/25<https://protect2.fireeye.com/v1/url?k=c2cbd409-9d50ed0b-c2cb9492-869a14f4b08c-c201474905f16264&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F25>

FP: I see, and thanks to Alexey for pointing this out: it seems that what I missed was that 4329 actually had this field wrong in the original registration.


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).


This was done in response to Media-Type Early Review comments: https://github.com/linuxwolf/bmeck-ids/pull/25<https://protect2.fireeye.com/v1/url?k=2cecfd41-7377c443-2cecbdda-869a14f4b08c-03f5f96a636cd875&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F25>

FP: I take it this is the comment from Murray you are referring to in that issue:
> generally, the templates can't refer to RFC 4329 if you plan to obsolete it; they should refer to this document or something else that won't be obsolete when this is published
I note that Murray pointed out that “Published Specification” should not point to 4329, but should instead point to either this document or “something else”, and I was suggesting that that something else is the published specifications, so for text/javascript JS 1.5 spec, for text/exmascript ECMA spec etc. This is what RFC 4329 did (see for example https://www.iana.org/assignments/media-types/text/javascript ), and from checking RFC 6838 it is not clear to me that was a mistake. I guess it could be fine with pointing to this document since this document references the other specifications, but it seems more convoluted and I wanted to check with you and the media type expert of what’s the best way, if both are ok. I will also send a separate email to ask IANA, since they probably have the answer, and cc you in it.



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.


This does not appear to be common practice. E.g. RFC 54 (by Crocker, Postel, Newkirk, Kraley) was superseded by RFC 57 (by Kraley & Newkirk). We’d prefer proceeding in line with this precedent, given that including the original authors complicates the process further (since it would require their explicit approval of all our changes before moving forward).


FP: Maybe I did not explain myself: I was not asking you to add the authors of RFC 4329 as authors of this document (although I hope they are aware of this work and they have been included in the conversation if they are still active in this space) but I was suggesting to keep them on the registrations themselves, so for example for text/javascript: https://www.iana.org/assignments/media-types/text/javascript on the “Person & email address to contact” and “Author” line, replace your current “See Author's Address section of [this document].“ with “See Author's Address section of [this document] and [RFC 4329]”. This would not require their approval, as they are in practice keeping their contact where they already had it. (Also note, I was suggesting this only for those registrations that RFC 4329 initially did). Again, Murray, other media type experts and IANA can tell me if this is not common practice.


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.


I think this refers to the document at https://www.iana.org/assignments/media-types/media-types.xhtml, and not our draft. Am I misunderstanding? What changes would this require to our draft?



FP: Yes, sorry for being unclear: what I was referring to was the “Name” column in the IANA registry at https://www.iana.org/assignments/media-types/media-types.xhtml . Your draft already makes changes to the registrations (so, for example, changes the content of : https://www.iana.org/assignments/media-types/text/javascript ) but does not specify the update to the https://www.iana.org/assignments/media-types/media-types.xhtml page itself. So, going back to our text/javascript example, this is the entry for it in the media-type page right now:
javascript - OBSOLETED in favor of application/javascript
text/javascript<https://www.iana.org/assignments/media-types/text/javascript>
[RFC4329<https://www.iana.org/go/rfc4329>]

I believe this should be changed to:
javascript
text/javascript<https://www.iana.org/assignments/media-types/text/javascript>
[This document]

And similarly all other registration should add the “- OBSOLETED in favor of…” note.

In order for IANA to make this change, this draft should add one more section that describe this change, I assume (I will confirm with IANA in a separate email, cc’ing you). Does that make sense?


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?


Good catch! Patch: https://github.com/linuxwolf/bmeck-ids/pull/36/files<https://protect2.fireeye.com/v1/url?k=c950d583-96cbec81-c9509518-869a14f4b08c-2a3328a8ea380575&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F36%2Ffiles>

FP: Great, thanks!


## 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.


Patch: https://github.com/linuxwolf/bmeck-ids/pull/42<https://protect2.fireeye.com/v1/url?k=ec8cd245-b317eb47-ec8c92de-869a14f4b08c-dac275d00afd964d&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F42> (still under review)

FP: short and to the point, I like it! :)


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.


Fixed: https://github.com/linuxwolf/bmeck-ids/pull/40<https://protect2.fireeye.com/v1/url?k=f1d438d8-ae4f01da-f1d47843-869a14f4b08c-a75a3c898aeb7a55&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F40%2Ffiles>

FP: Thank you.


9. -----


FP: I'd suggest adding section numbers when referring to [ECMA-262] sections, instead of just names.


The ECMAScript specification is a “living standard”, and the section numbers change frequently as new chapters are introduced or sections are moved around. Using the section names is a more stable, future-proof way to refer to specific parts of the spec. Given that, would you be okay with keeping this as-is?


Alternatively, we could add links to the specific sections in the latest draft spec, e.g. https://tc39.es/ecma262/#sec-source-text<https://protect2.fireeye.com/v1/url?k=a860a650-f7fb9f52-a860e6cb-869a14f4b08c-423d42d73db683c7&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Ftc39.es%2Fecma262%2F%23sec-source-text> — these URLs are stable, too, but I don’t think there is precedent for this in any existing RFC.

FP: Ok, thanks for this explanation, and no, I don’t necessarily need the section numbers. However, this worries me: normative references cannot be “living standard” (or as https://www.ietf.org/about/groups/iesg/statements/normative-informative-references/ says: “work in progress”) – could we reference a stable published version of the ECMA standard? I can see for example RFC 8785 referenced the 10th edition of it: https://datatracker.ietf.org/doc/html/rfc8785#ref-ECMA-262


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.


I think we can just remove this sentence. Patch: https://github.com/linuxwolf/bmeck-ids/pull/37/files<https://protect2.fireeye.com/v1/url?k=151f1802-4a842100-151f5899-869a14f4b08c-e0f3ac7a0a6652ed&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F37%2Ffiles>



FP: Ok, thanks.


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.


This was a typo, introduced while bringing over text from RFC 4329 and updating then-obsoleted references. It should be 6365 (Terminology Used in Internationalization in the IETF), which obsoleted 3536 (Terminology Used in Internationalization in the IETF), which is what 4329 (the document we’re obsoleting) referred to. Patch: https://github.com/linuxwolf/bmeck-ids/pull/43<https://protect2.fireeye.com/v1/url?k=dbfc4840-84677142-dbfc08db-869a14f4b08c-7c72596afa193437&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F43>



FP: That makes sense, thank you.


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)


This was a typo. Patch: https://github.com/linuxwolf/bmeck-ids/pull/41/files<https://protect2.fireeye.com/v1/url?k=63d897f6-3c43aef4-63d8d76d-869a14f4b08c-fccb59dd017496be&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F41%2Ffiles>

FP: Ok, thanks.


13. -----


FP: Section 6 - IANA Considerations: please consider adding a link to the media type registry.


In search of an example, I looked at recent media type RFCs (e.g. RFC8878, RFC8478, RFC8351), and none of them seem to do this. I’ve suggested a change: https://github.com/linuxwolf/bmeck-ids/pull/39/files<https://protect2.fireeye.com/v1/url?k=8f419545-d0daac47-8f41d5de-869a14f4b08c-5d496c5c4df46bae&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F39%2Ffiles> but please let me know if you had something else in mind.

FP: Looks good.


## 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"?

Fixed: https://github.com/linuxwolf/bmeck-ids/pull/34/files<https://protect2.fireeye.com/v1/url?k=ae8f5ae3-f11463e1-ae8f1a78-869a14f4b08c-d7d2ecb71109deef&q=1&e=bd06a8bd-b4a2-4969-8bac-0dc82582f91e&u=https%3A%2F%2Fgithub.com%2Flinuxwolf%2Fbmeck-ids%2Fpull%2F34%2Ffiles>

FP: great.

Once the remaining questions are addressed, we’ll be happy to cut a new (final?) version of the doc.

Thanks,
Mathias Bynens on behalf of the draft-ietf-dispatch-javascript-mjs authors

On Thu, Aug 26, 2021 at 4:39 PM Mathias Bynens <mths@google.com<mailto:mths@google.com>> wrote:
Thank you Francesca for your thorough AD review! We (the authors) are currently working on addressing your comments. I’ll reply to this thread once we have an answer for all of the points you’ve raised.

On Tue, Aug 24, 2021 at 5:49 PM Francesca Palombini <francesca.palombini@ericsson.com<mailto:francesca.palombini@ericsson.com>> wrote:
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"?