Steps `create a component match result` never increments index
Closed this issue · 1 comments
tjosepo commented
Tiny issue I noticed in the loop of https://wicg.github.io/urlpattern/#create-a-component-match-result, while working on an implementation:
- Let index be 1.
- While index is less than Get(execResult, "length"):
- Let name be component’s group name list[index − 1].
- Let value be Get(execResult, ToString(index).
- Set groups[name] to value.
index is never incremented, and the loop will never end.
wanderview commented
Thanks for catching this!