Skip to content

Commit

Permalink
perf(webidl): fix typo from #12286 (#12336)
Browse files Browse the repository at this point in the history
In a tweak commit of #12286 I accidentally eliminated the else branch ... running the slow & the fast path providing a worst of both worlds path
  • Loading branch information
AaronO authored Oct 5, 2021
1 parent c555b31 commit 58bb63f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/webidl/00_webidl.js
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@
const typedValue = valueConverter(value, opts);
result[typedKey] = typedValue;
}
return result;
}
// Slow path if Proxy (e.g: in WPT tests)
const keys = ReflectOwnKeys(V);
Expand Down

0 comments on commit 58bb63f

Please sign in to comment.