Code Monkey home page Code Monkey logo

Comments (6)

tobie avatar tobie commented on June 15, 2024

Yeah, WebIDL-1 redirects to WebIDL as of ee2359a.

This is tied to the conversation about leveled specs lead by @deniak.

What's the use-case for linking to WebIDL-1?

from specref.

tidoust avatar tidoust commented on June 15, 2024

There seems to be two issues in one.

The first issue is that the status reported by specref for WebIDL is incorrect: Specref says the document published on 15 December 2016 at https://www.w3.org/TR/WebIDL-1/ is a WD, whereas it is a REC. Shouldn't [WebIDL] report the same info as [WebIDL-20161215], the latest published spec?
http://www.specref.org/?q=webidl-20161215

The second issue is the ability to specifically link to WebIDL-1 or WebIDL-2 instead of just WebIDL. Two use cases come to mind for specs that are to be published as PR/REC:

  1. Linking to WebIDL-1 to assert that all IDL concepts used in the spec are stable to ease Director's transitions.
  2. Linking to WebIDL-2 to point out specific terms that are not yet "stable".

One concrete example: the Presentation API uses NotAllowedError, which is defined in WebIDL Level 2. I'd like some way to say somethink like "all IDL terms are defined in [WebIDL-1], except NotAllowedError, defined in [WebIDL-2]". Or "all IDL terms are defined in [WebIDL]. At the time of publication, NotAllowedError is defined in the ED of [WebIDL-2] and considered stable".

My understanding is that the leveled spec proposals could make "/TR/webIDL/" link to the latest level (i.e. the Level 2 WD here, once published), but "/TR/webIDL-1" would still point to "WebIDL Level 1".

@deniak, proposals do not seem to say anything about which shortname PR/REC specs should use for references. What is the expectation?

from specref.

deniak avatar deniak commented on June 15, 2024

Just to clarify, the current proposal actually has 3 options and we haven't decided yet whether /TR/shortname should point to the latest level or the most stable version.

Regarding WebIDL, I think there's a small problem. I confirmed with @ylafon and at some point, there was a shortname change from webidl to webidl-1 (see WebIDL-1 history) so technically, /TR/WebIDL should point to /TR/WebIDL-1. If we agree on this, I will fix the error.

from specref.

tobie avatar tobie commented on June 15, 2024

@deniak this is precisely why it's key to come up with a consistant story for spec levels and enforce it. Levels should be tags in Git parlance (branches when you need to run things in parallel for a little while). WD's and the like should just be tags along the way.

There is something weird going on with WebIDL, though, as /TR/WebIDL-1 points to the December 15, 2016 Rec, and /TR/WebIDL points to the April 19, 2012 CR.

On the Specref side, I'm experimenting with treating WebIDL as a "leveled" spec. Every version is stored under the WebIDL shortname, and WebIDL-1 points to WebIDL-20161215.

from specref.

deniak avatar deniak commented on June 15, 2024

@tobie it should now be fixed. As per @ylafon's request, /TR/WebIDL now redirects (HTTP 307) to /TR/WebIDL-1

from specref.

ylafon avatar ylafon commented on June 15, 2024

Note that it was a request from the chairs until we figure out what to do with /TR/WebIDL (and have the edcopy published as WDs).
Note the use of a temporary redirect so that we can change what it redirects to (i.e.: no hard choices were made)

from specref.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.