Skip to content

Commit

Permalink
Remove unused variables (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
jungkees authored and jakearchibald committed Sep 14, 2018
1 parent 243f3b3 commit bb9e5f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docs/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3196,8 +3196,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
: Output
:: |resultList|, a [=request response list=]

1. Let |requests| be an empty [=list=].
1. Let |responses| be an empty [=list=].
1. Let |resultList| be an empty [=list=].
1. Let |storage| be null.
1. If the optional argument |targetStorage| is omitted, set |storage| to the [=relevant request response list=].
Expand Down Expand Up @@ -3228,7 +3226,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
1. Let |cachedURL| be |request|'s [=request/url=].
1. If |options|.{{CacheQueryOptions/ignoreSearch}} is true, then:
1. Set |cachedURL|'s [=url/query=] to the empty string.
1. Set |requestURL|'s [=url/query=] to the empty string.
1. Set |queryURL|'s [=url/query=] to the empty string.
1. If |queryURL| does not [=url/equal=] |cachedURL| with the *exclude fragment flag* set, then return false.
1. If |response| is null, |options|.{{CacheQueryOptions/ignoreVary}} is true, or |response|'s [=response/header list=] does not [=header list/contain=] \``Vary`\`, then return true.
1. Let |fieldValues| be the [=list=] containing the elements corresponding to the [=http/field-values=] of the [=Vary=] header for the [=header/value=] of the [=header=] with [=header/name=] \``Vary`\`.
Expand Down
4 changes: 1 addition & 3 deletions docs/v1/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3042,8 +3042,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
: Output
:: |resultList|, a [=request response list=]

1. Let |requests| be an empty [=list=].
1. Let |responses| be an empty [=list=].
1. Let |resultList| be an empty [=list=].
1. Let |storage| be null.
1. If the optional argument |targetStorage| is omitted, set |storage| to the [=relevant request response list=].
Expand Down Expand Up @@ -3074,7 +3072,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
1. Let |cachedURL| be |request|'s [=request/url=].
1. If |options|.{{CacheQueryOptions/ignoreSearch}} is true, then:
1. Set |cachedURL|'s [=url/query=] to the empty string.
1. Set |requestURL|'s [=url/query=] to the empty string.
1. Set |queryURL|'s [=url/query=] to the empty string.
1. If |queryURL| does not [=url/equal=] |cachedURL| with the *exclude fragment flag* set, then return false.
1. If |response| is null, |options|.{{CacheQueryOptions/ignoreVary}} is true, or |response|'s [=response/header list=] does not [=header list/contain=] \``Vary`\`, then return true.
1. Let |fieldValues| be the [=list=] containing the elements corresponding to the [=http/field-values=] of the [=Vary=] header for the [=header/value=] of the [=header=] with [=header/name=] \``Vary`\`.
Expand Down

0 comments on commit bb9e5f8

Please sign in to comment.