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

Bradley Meck <bradley.meck@gmail.com> Thu, 17 August 2017 10:03 UTC

Return-Path: <bradley.meck@gmail.com>
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 E47D113239C for <dispatch@ietfa.amsl.com>; Thu, 17 Aug 2017 03:03:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 DOHdF_ZerCiO for <dispatch@ietfa.amsl.com>; Thu, 17 Aug 2017 03:03:26 -0700 (PDT)
Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7BBD41321A8 for <dispatch@ietf.org>; Thu, 17 Aug 2017 03:03:26 -0700 (PDT)
Received: by mail-io0-x232.google.com with SMTP id j32so21445960iod.0 for <dispatch@ietf.org>; Thu, 17 Aug 2017 03:03:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JAgrIbMC+rGvx+8yuaHveYj/XmmR3jmLXSFLNxJBUt8=; b=qWrx0FYImEkNpLbbKR3/kzezSYJbu5XTEfxui0Xh9KBpqVK3suLO9J8e4L93vZXifp wrOj+K/47Kht2O3QE+7cUf115/XN1GQwMM545ifHaF+VMrU2WLEUcwPkU/fx+RChg8p1 GFs4nu+jPMqkvk0f2OeIQGmuK9vGsdKvUNx7XRelQyCQy1AICD/VseEhChD+QcPgWQlf Xj/CNG9v9w0pd6ltTJqH9uu4YyHwLt4mTFS7fRPNqDJ8Ai7uKGybaksKTSLkH5cfIkNc 8VXHfTMqQyYn7eQx9LydAPbF1n+u0Wo3IxTuYDrYilKRbXN+yfV4uzdToQA6XkEiW+Gj YC6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JAgrIbMC+rGvx+8yuaHveYj/XmmR3jmLXSFLNxJBUt8=; b=ZuuhXsS/bZY6gv8zjuhQV0DnUgNe1f5k5S55dAyxjuGqrjTNN7iBvjEGnykguGAloI 70G6HnSzCF+0KMbkhwb5fg+n2Rj8In6Yc3xtuiM4a8yQMPLdrkLJKOBoLf87LUZ83e29 orFBmAYIXDPyBe/0XeyNH/dvSgOUyS5hAFmkuzkuTBIkzYnfMRcseWkL/py/EZmJKJH5 q9pBT1t6wptYWnoeGEK5Xe0UyU9GAKmvYo5dxvM97uUeEM5YzA+qlLMuYLG3xNBEwPgu DXs8AiaYdjkbiqMQ4O9WN+CKj1JVYrAtGYAndQWX+9BRfbeOeoMFWluTYglRVV0fE0pe 1yrw==
X-Gm-Message-State: AHYfb5iPKch+6BpQysXLk+2yJLwpqkU9FZb6ZxwvdwyLuhWriNdi75Cq P3tA8MHQRjmFTE9fx8SrgXzM5voOsA==
X-Received: by 10.107.172.199 with SMTP id v190mr4147960ioe.159.1502964205749; Thu, 17 Aug 2017 03:03:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.143.80 with HTTP; Thu, 17 Aug 2017 03:03:05 -0700 (PDT)
In-Reply-To: <CABkgnnUG5YDX=iBXSLWxPPQMcGzc+Oza1++x9zpiuoOxbd+zpA@mail.gmail.com>
References: <13d52298-f357-df5e-1bce-6a83894845c5@outer-planes.net> <CABkgnnUG5YDX=iBXSLWxPPQMcGzc+Oza1++x9zpiuoOxbd+zpA@mail.gmail.com>
From: Bradley Meck <bradley.meck@gmail.com>
Date: Thu, 17 Aug 2017 05:03:05 -0500
Message-ID: <CANnEKUYYFwMfY4Km1-yGCsO2H1cf=4tkSk_JS63fc0HORNhy5Q@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: "Matthew A. Miller" <linuxwolf+ietf@outer-planes.net>, DISPATCH <dispatch@ietf.org>
Content-Type: multipart/alternative; boundary="001a1148d734980c1b0556f01f29"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/6dszo8l8OL44TpC9b-eLHM03VO0>
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: Thu, 17 Aug 2017 10:03:29 -0000

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.

> Nit: There Are So Many Proper Nouns In This Document.  Is that really
necessary?

I think this is in part a stylistic thing of my writing. I tend to avoid
pronouns and am capitalizing grammar productions in the same manner as the
ECMAScript specification. We could make stylistic changes though!

-Brad

On Thu, Aug 17, 2017 at 12:14 AM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> Hi Matt,
>
> First, this seems fine, almost trivial.
>
> This statement implies a problem of greater scope than what you are
> solving:
>
>    It is not possible to fully determine if a Source Text of ECMAScript
>    is meant to be parsed in the Module or Script grammar goals based
>    upon content alone.
>
> My initial reaction to this statement was: so why aren't we seeing a
> request for a new media type?
>
> 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.
>
> Nit: There Are So Many Proper Nouns In This Document.  Is that really
> necessary?
>
> On 17 August 2017 at 14:03, Matthew A. Miller
> <linuxwolf+ietf@outer-planes.net> wrote:
> > Hello DISPATCH,
> >
> > The ECMAScript/JavaScript media types are in need of some updates.
> > We've started an informational document[1] to address that.  There
> > hasn't been much mailing list discussion yet, but we are asking now
> > where to direct the work.
> >
> > In consultation with the ART Directors, we ask this document be adopted
> > by DISPATCH as one of its simple administrative documents.
> >
> > The document is <
> > https://datatracker.ietf.org/doc/draft-bfarias-javascript-mjs >.
> >
> > Issues can be filed on the GitHub repository at <
> > https://github.com/bmeck/I-D/issues >.
> >
> >
> > Thank you,
> >
> > --
> > - m&m
> >
> > Matthew A. Miller
> >
> >
> > _______________________________________________
> > dispatch mailing list
> > dispatch@ietf.org
> > https://www.ietf.org/mailman/listinfo/dispatch
> >
>