Skip to content

Commit

Permalink
Fix Exposed statement in dfn of Sanitizer interface (#218)
Browse files Browse the repository at this point in the history
Identifiers of an extended attribute need to be enclosed in parentheses.

See: Web IDL: https://webidl.spec.whatwg.org/#dfn-extended-attribute
  • Loading branch information
tidoust authored Apr 15, 2024
1 parent 7330f13 commit dfd0ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ page to query and predict what effect a given configuration will have, or
to build a new configuration based on an existing one.

<pre class=idl>
[Exposed=Window,Worker]
[Exposed=(Window,Worker)]
interface Sanitizer {
constructor(optional SanitizerConfig config = {});
SanitizerConfig get();
Expand Down

0 comments on commit dfd0ce2

Please sign in to comment.