Re: [dispatch] Dispatching Work on ECMAScript Media Types Updates

Harald Alvestrand <harald@alvestrand.no> Mon, 13 November 2017 00:18 UTC

Return-Path: <harald@alvestrand.no>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C90F91270A3 for <dispatch@ietfa.amsl.com>; Sun, 12 Nov 2017 16:18:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
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 6Ee9g8UJsG79 for <dispatch@ietfa.amsl.com>; Sun, 12 Nov 2017 16:17:57 -0800 (PST)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25873126E7A for <dispatch@ietf.org>; Sun, 12 Nov 2017 16:17:57 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 849927C359E for <dispatch@ietf.org>; Mon, 13 Nov 2017 01:17:55 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id baltIK0FBsCK for <dispatch@ietf.org>; Mon, 13 Nov 2017 01:17:54 +0100 (CET)
Received: from [31.133.156.124] (dhcp-9c7c.meeting.ietf.org [31.133.156.124]) by mork.alvestrand.no (Postfix) with ESMTPSA id DC0B67C327E for <dispatch@ietf.org>; Mon, 13 Nov 2017 01:17:53 +0100 (CET)
To: dispatch@ietf.org
References: <13d52298-f357-df5e-1bce-6a83894845c5@outer-planes.net> <CABkgnnUG5YDX=iBXSLWxPPQMcGzc+Oza1++x9zpiuoOxbd+zpA@mail.gmail.com> <CANnEKUYYFwMfY4Km1-yGCsO2H1cf=4tkSk_JS63fc0HORNhy5Q@mail.gmail.com> <7ea5fe01-47f4-773a-7686-f32116ddbafb@alvestrand.no>
From: Harald Alvestrand <harald@alvestrand.no>
Message-ID: <7de32264-6d01-11ba-be8f-8c66c04048f6@alvestrand.no>
Date: Mon, 13 Nov 2017 01:17:50 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <7ea5fe01-47f4-773a-7686-f32116ddbafb@alvestrand.no>
Content-Type: multipart/alternative; boundary="------------7EBCF817ED492519043E3C61"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/MTrTWH2kXO0DCbJJp6tNOtmj-M0>
Subject: Re: [dispatch] Dispatching Work on ECMAScript Media Types Updates
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Nov 2017 00:18:07 -0000

On 11/13/2017 01:15 AM, Harald Alvestrand wrote:
> On 08/17/2017 12:03 PM, Bradley Meck wrote:
>> Hiya!
>>
>> > My initial reaction to this statement was: so why aren't we seeing a
>> request for a new media type?
>>
>> This was discussed in a few different places, ultimately culminating
>> in no body wanting to take that route. You can read some info on that
>> in the link to the informative TC39
>> issue https://github.com/tc39/ecma262/issues/322. It appears you
>> might be more interested in the HTML side of things, which would be
>> that a new media type would not load with the specification they have
>> already started deploying ( there was an issue about this on HTML
>> side in https://github.com/whatwg/html/issues/558 ). Some discussion
>> about a `mode` parameter instead of media type is in an issue on this
>> proposal https://github.com/bmeck/I-D/issues/1#issuecomment-322545837
>> . That might be the better route since it will work in web browsers.
>>
>> > You neglect to mention that uses of the module on the web do not
>> depend on additional distinguishing marks because they have the
>> type="module" attribute on script tags.
>>
>> This is out of band information not based upon content. I did not
>> think it necessary. Should it be mentioned if it is not based upon
>> message content nor information in the media type fields? I think
>> that this statement also applies to some tools such as module
>> bundlers as well that are using fields in package.json files.
>
> Why isn't a MIME type parameter with the format "type=module" the
> Right Answer for the MIME type registration?

Apologies; I missed the "goal" parameter that does exactly this.
I do wonder why the MIME registration departs from the HTML tag practice
and calls it "goal" rather than "type".