@@ -6354,7 +6354,7 @@ The following extended attributes are <dfn for="extended attributes">applicable
6354
6354
[{{AllowShared}}],
6355
6355
[{{Clamp}}],
6356
6356
[{{EnforceRange}}],
6357
- [{{LegacyNullToEmptyString}}] and
6357
+ [{{LegacyNullToEmptyString}}], and
6358
6358
[{{StringContext}}].
6359
6359
6360
6360
@@ -10280,7 +10280,7 @@ must be one of "<code>html</code>", "<code>script-url</code>" and "<code>script<
10280
10280
[{{StringContext}}] extended attribute may only annotate a type of a [=regular attribute=] or
10281
10281
a [=regular operation=] argument. A type annotated with the [{{StringContext}}]
10282
10282
extended attribute must not appear in a [=read only=] attribute. The [=regular attribute=] or
10283
- a [=regular operation=] argument that the type annotated with the [{{StringContext}}] extended
10283
+ [=regular operation=] argument that the type annotated with the [{{StringContext}}] extended
10284
10284
attribute appears in is its <dfn>related construct</dfn>.
10285
10285
10286
10286
A type that is not {{DOMString}} or {{USVString}} must not be [=extended attributes associated with|associated with=]
@@ -12041,8 +12041,14 @@ in which case they are exposed on every object that [=implements=] the interface
12041
12041
12042
12042
<dt>Otherwise</dt>
12043
12043
<dd>
12044
- |idlValue| is the result of [=converted to an IDL value|converting=] |V| to an
12045
- IDL value of |attribute|'s type.
12044
+ 1. If the conversion is to an IDL type [=extended attribute associated with|associated with=] the
12045
+ [{{StringContext}}] extended attribute, then set |V| to the result of [=validate the string in context=], passing
12046
+ [=this=], |V|, the {{StringContext}} extended attribute [=identifier=], and the [=identifier=]
12047
+ of the [{{StringContext}}] extended attribute [=related construct=].
12048
+
12049
+ Note: That algorithm may [=JavaScript/throw=] a <l spec=ecmascript>{{TypeError}}</l>.
12050
+ 1. |idlValue| is the result of [=converted to an IDL value|converting=] |V| to an
12051
+ IDL value of |attribute|'s type.
12046
12052
</dd>
12047
12053
</dl>
12048
12054
0 commit comments