Skip to content

Commit

Permalink
fix 'var used only once' warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffH authored and JeffH committed Nov 29, 2017
1 parent 4f5a4de commit ca072a6
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 @@ -667,7 +667,7 @@ When this method is invoked, the user agent MUST execute the following algorithm

1. Assert: <code>|options|.{{CredentialCreationOptions/publicKey}}</code> is [=present=].

1. If |sameOriginWithAncestors| is `false`, return a "{{NotAllowedError}}" {{DOMException}}.
1. If <var ignore>OriginWithAncestors</var> is `false`, return a "{{NotAllowedError}}" {{DOMException}}.

Note: This restriction aims to address the concern raised in the
[[CREDENTIAL-MANAGEMENT-1#security-origin-confusion|Origin Confusion]] section of [[CREDENTIAL-MANAGEMENT-1]].
Expand Down Expand Up @@ -997,7 +997,7 @@ When this method is invoked, the user agent MUST execute the following algorithm

1. Assert: <code>|options|.{{CredentialRequestOptions/publicKey}}</code> is [=present=].

1. If |sameOriginWithAncestors| is `false`, return a "{{NotAllowedError}}" {{DOMException}}.
1. If <var ignore>sameOriginWithAncestors</var> is `false`, return a "{{NotAllowedError}}" {{DOMException}}.

Note: This restriction aims to address the concern raised in the
[[CREDENTIAL-MANAGEMENT-1#security-origin-confusion|Origin Confusion]] section of [[CREDENTIAL-MANAGEMENT-1]].
Expand Down

0 comments on commit ca072a6

Please sign in to comment.