diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-10-05 23:37:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 23:37:50 +0200 |
commit | 58bb63f355085bc8dbd845f1cae688e5ce453eec (patch) | |
tree | 92f8ffa4f71b28cf1d71036bb3847065db523401 /ext/webidl/00_webidl.js | |
parent | c555b31d40bcc374013395bd5805410fe7f77b20 (diff) |
perf(webidl): fix typo from #12286 (#12336)
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
Diffstat (limited to 'ext/webidl/00_webidl.js')
-rw-r--r-- | ext/webidl/00_webidl.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/webidl/00_webidl.js b/ext/webidl/00_webidl.js index 1bf9d776f..fa9d14e65 100644 --- a/ext/webidl/00_webidl.js +++ b/ext/webidl/00_webidl.js @@ -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); |