Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Mar 12, 2024
1 parent 831c461 commit 49a7361
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -11093,7 +11093,7 @@ allowed. The security check takes the following three inputs:

Note: The HTML Standard defines how a security check is performed. [[!HTML]]

Certain algorithms in [[#js-type-mapping]] are defined to
Certain algorithms are defined to
<dfn id="dfn-validate-the-string-in-context" export>validate the string in context</dfn> on a given
value. This check is used to determine whether a given value
is appropriate for its {{StringContext}}. This validation takes the following four inputs:
Expand All @@ -11104,7 +11104,7 @@ is appropriate for its {{StringContext}}. This validation takes the following fo
1. the {{StringContext}} [=identifier=], and
1. the [=identifier=] of the operation or attribute.

The algorithm returns an ECMAScript String value, or [=JavaScript/throws=] a <l spec=ecmascript>{{TypeError}}</l>.
The algorithm returns an ECMAScript value, or [=JavaScript/throws=] a <l spec=ecmascript>{{TypeError}}</l>.

Note: The HTML Standard defines how the validation is performed. [[!HTML]]

Expand Down Expand Up @@ -11146,8 +11146,9 @@ Note: The HTML Standard defines how the validation is performed. [[!HTML]]
1. Otherwise, append to |values| the special value “missing”.
1. Otherwise:
1. If |type| is an IDL type [=extended attribute associated with|associated with=] the
[{{StringContext}}] extended attribute, then set |V| to the result of [=validate the string in context=], passing
[=this=], |V|, the {{StringContext}} extended attribute [=identifier=], and the [=identifier=]
[{{StringContext}}] extended attribute, then set |V| to the result of performing
[=validate the string in context=], passing [=this=], |V|, the {{StringContext}}
extended attribute [=identifier=], and the [=identifier=]
of the [{{StringContext}}] extended attribute [=related construct=].

Note: That algorithm may [=JavaScript/throw=] a <l spec=ecmascript>{{TypeError}}</l>.
Expand Down Expand Up @@ -11353,8 +11354,9 @@ Note: The HTML Standard defines how the validation is performed. [[!HTML]]
1. Otherwise, append to |values| the special value “missing”.
1. Otherwise:
1. If |type| is an IDL type [=extended attribute associated with|associated with=] the
[{{StringContext}}] extended attribute, then set |V| to the result of [=validate the string in context=], passing
[=this=], |V|, the {{StringContext}} extended attribute [=identifier=], and the [=identifier=]
[{{StringContext}}] extended attribute, then set |V| to the result of performing
[=validate the string in context=], passing [=this=], |V|, the {{StringContext}}
extended attribute [=identifier=], and the [=identifier=]
of the [{{StringContext}}] extended attribute [=related construct=].

Note: That algorithm may [=JavaScript/throw=] a <l spec=ecmascript>{{TypeError}}</l>.
Expand Down Expand Up @@ -12049,8 +12051,9 @@ in which case they are exposed on every object that [=implements=] the interface
<dt>Otherwise</dt>
<dd>
1. If |attribute|'s type is [=extended attribute associated with|associated with=] the
[{{StringContext}}] extended attribute, then set |V| to the result of [=validate the string in context=], passing
[=this=], |V|, the {{StringContext}} extended attribute [=identifier=], and the [=identifier=]
[{{StringContext}}] extended attribute, then set |V| to the result of performing
[=validate the string in context=], passing [=this=], |V|, the {{StringContext}}
extended attribute [=identifier=], and the [=identifier=]
of the [{{StringContext}}] extended attribute [=related construct=].

Note: That algorithm may [=JavaScript/throw=] a <l spec=ecmascript>{{TypeError}}</l>.
Expand Down

0 comments on commit 49a7361

Please sign in to comment.