W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2012

[WebIDL] cycles in [PutForward] chains

From: Glenn Adams <glenn@skynav.com>
Date: Sat, 4 Aug 2012 10:50:22 -0600
Message-ID: <CACQ=j+e7poMfphj_nU=LfCM_EaN1Ku+thwjrOiwVX0ps=EzAHA@mail.gmail.com>
To: W3C Script Coordination <public-script-coord@w3.org>
Cc: Cameron McCormack <cam@mcc.id.au>
In [1], the following language appears:

Note that [PutForwards] <http://www.w3.org/TR/WebIDL/#PutForwards>
> -annotated attributes <http://www.w3.org/TR/WebIDL/#dfn-attribute> can be
> chained. That is, an attribute with the [PutForwards]<http://www.w3.org/TR/WebIDL/#PutForwards>
>  extended attribute <http://www.w3.org/TR/WebIDL/#dfn-extended-attribute> can
> refer to an attribute that itself has that extended attribute. Theremust
> not exist a cycle in a chain of forwarded assignments. A cycle exists if,
> when following the chain of forwarded assignments, a particular attribute
> on an interface <http://www.w3.org/TR/WebIDL/#dfn-interface> is
> encountered more than once.

While this states that a cycle must not exist, it fails to define
implementation behavior regarding cycle detection and action in the
presence of a cycle. If this is intentionally left undefined, perhaps that
should be stated.

[1] http://www.w3.org/TR/WebIDL/#PutForwards
Received on Saturday, 4 August 2012 16:51:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:07 UTC