Skip to content

Commit

Permalink
Fix column indices for callers of "Get Trusted Type data for attribut…
Browse files Browse the repository at this point in the history
…e" (#555)

Closes #551
  • Loading branch information
fred-wang authored Oct 28, 2024
1 parent 2e1cafd commit ffe51de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ Its value is initially « ».
* |interface| as |element|
* |attribute|
* |attrNs|
1. If |attributeData| is not null, then set |expectedType| to the value of the third member of |attributeData|.
1. If |attributeData| is not null, then set |expectedType| to the value of the fourth member of |attributeData|.
1. Return |expectedType|.

<div class="example" id="get-attribute-type-example">
Expand Down Expand Up @@ -1092,8 +1092,8 @@ To <dfn abstract-op export>get Trusted Types-compliant attribute value</dfn> on
1. If |newValue| is a string, return |newValue|.
1. <a>Assert</a>: |newValue| is {{TrustedHTML}} or {{TrustedScript}} or {{TrustedScriptURL}}.
1. Return |value|'s associated data.
1. Let |expectedType| be the value of the third member of |attributeData|.
1. Let |sink| be the value of the fourth member of |attributeData|.
1. Let |expectedType| be the value of the fourth member of |attributeData|.
1. Let |sink| be the value of the fifth member of |attributeData|.
1. Return the result of executing [$Get Trusted Type compliant string$] with the following arguments:
* |expectedType|
* |newValue| as |input|
Expand Down

0 comments on commit ffe51de

Please sign in to comment.