- From: Luke Warlow <notifications@github.com>
- Date: Mon, 26 Feb 2024 04:47:03 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/webidl/pull/841/review/1900791509@github.com>
@lukewarlow commented on this pull request. > +modifies how the value is converted to the IDL type, causing additional value validation to +adhere to the context the string is used in. + +The [{{StringContext}}] extended attribute must [=takes an identifier|take an identifier=]. The [=identifier=] +must be one of "<code>html</code>", "<code>script-url</code>" and "<code>script</code>". + +[{{StringContext}}] extended attribute may only annotate a type of a [=regular attribute=] or +a [=regular operation=] argument. A type annotated with the [{{StringContext}}] +extended attribute must not appear in a [=read only=] attribute. The [=regular attribute=] or +a [=regular operation=] argument that the type annotated with the [{{StringContext}}] extended +attribute appears in is its <dfn>related construct</dfn>. + +A type that is not {{DOMString}} or {{USVString}} must not be [=extended attributes associated with|associated with=] +the [{{StringContext}}] extended attribute. + +See the rules for converting ECMAScript values to the IDL types in [[#es-DOMString]] and [[#es-USVString]] These two es-X references are fails in bikeshed which is breaking the preview -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/pull/841#pullrequestreview-1900791509 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/pull/841/review/1900791509@github.com>
Received on Monday, 26 February 2024 12:47:07 UTC