Skip to content

Commit

Permalink
s/member/property, s/list/array
Browse files Browse the repository at this point in the history
  • Loading branch information
timcappalli committed Mar 13, 2024
1 parent 689647c commit 3aad054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,7 @@ a numbered step. If outdented, it (today) is rendered as a bullet in the midst o

1. If the fetch fails, the response does not have a content type of `application/json`, or does not have a status code (after following redirects) of 200, then throw a "{{SecurityError}}" {{DOMException}}.
1. If the body of the resource is not a valid JSON object, then throw a "{{SecurityError}}" {{DOMException}}.
1. If the value of the |origins| member of the JSON object is missing, or is not a list of strings, then throw a "{{SecurityError}}" {{DOMException}}.
1. If the value of the |origins| property of the JSON object is missing, or is not an array of strings, then throw a "{{SecurityError}}" {{DOMException}}.

1. Let |originLabelsSeen| be an empty set.
1. [=set/For each=] string in |origins|:
Expand Down Expand Up @@ -2360,7 +2360,7 @@ When this method is invoked, the user agent MUST execute the following algorithm

1. If the fetch fails, the response does not have a content type of `application/json`, or does not have a status code (after following redirects) of 200, then throw a "{{SecurityError}}" {{DOMException}}.
1. If the body of the resource is not a valid JSON object, then throw a "{{SecurityError}}" {{DOMException}}.
1. If the value of the |origins| member of the JSON object is missing, or is not a list of strings, then throw a "{{SecurityError}}" {{DOMException}}.
1. If the value of the |origins| property of the JSON object is missing, or is not an array of strings, then throw a "{{SecurityError}}" {{DOMException}}.

1. Let |originLabelsSeen| be an empty set.
1. [=set/For each=] string in |origins|:
Expand Down

0 comments on commit 3aad054

Please sign in to comment.