W3C home > Mailing lists > Public > public-secondscreen@w3.org > August 2018

Re: [presentation-api] BinaryType enum is already defined in HTML

From: François Daoust via GitHub <sysbot+gh@w3.org>
Date: Thu, 09 Aug 2018 12:28:20 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-411740048-1533817700-sysbot+gh@w3.org>
Right. This is very likely going to change soon as W3C/WHATWG come to a mutual agreement on HTML but, up until now, the Director has asked that W3C specs that reach Proposed Recommendation and Recommendation reference the W3C version of HTML. This is what the Presentation API does in anticipation of the transition.

The `BinaryType` enum is not defined in HTML 5.x. and, while it should be defined there, it is not defined in the W3C version of the Web Sockets API (which is a section in WHATWG HTML) because the Web Platform Working Group has not maintained that draft in the past few years. At the same time, that group has not officially abandoned the Web Sockets API spec either.

In other words, `BinaryType` is not defined anywhere from a strict W3C perspective, and so the Presentation API defines it. We may drop the definition of `BinaryType` from the Presentation API right away in anticipation of an update of the W3C version of the Web Sockets API or in anticipation of a change in normative references rules. Or keep it until the situation changes. It's probably better to drop the definition now because the Presentation API shouldn't be the spec defining that enum. I suggest we keep the issue open in any case.

> Grepping in https://github.com/tidoust/reffy-reports/tree/master/whatwg/idl, I believe this is the only enum defined twice across web specs.

That's the only enum, but note there are [other redefined IDL terms](https://tidoust.github.io/reffy-reports/whatwg/perissue.html#list-of-webidl-names-defined-in-more-than-one-spec) (`BinaryType` is missing from that list for now because last crawl failed to parse the HTML spec, and as far as I can tell, the occurrence of `Worklet` is a bug that I need to investigate)


-- 
GitHub Notification of comment by tidoust
Please view or discuss this issue at https://github.com/w3c/presentation-api/issues/456#issuecomment-411740048 using your GitHub account
Received on Thursday, 9 August 2018 12:28:26 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 9 August 2018 12:28:27 UTC