Skip to content

Commit

Permalink
remove obvious assert
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyroman committed Feb 29, 2024
1 parent c1b4ecc commit 28edb49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion speculation-rules.bs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ add the following step
1. Let |patterns| be an empty [=list=].
1. [=list/For each=] |rawPattern| of |rawPatterns|:
1. Let |pattern| be the result of [=building a URL pattern from an Infra value=] |rawPattern| given |baseURL|. If this step throws, catch the exception and return null.
1. [=Assert=]: |pattern| is a [=URL pattern=].
1. [=list/Append=] |pattern| to |patterns|.
1. Return a [=document rule URL pattern predicate=] whose [=document rule URL pattern predicate/patterns=] is |patterns|.
1. If |predicateType| is "`selector_matches`":
Expand Down

0 comments on commit 28edb49

Please sign in to comment.