From 4124890d12c3501a7c758ab3d022c343f827732a Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Tue, 5 Oct 2021 23:13:13 +0200 Subject: [PATCH] perf(webidl): fix typo from #12286 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 --- ext/webidl/00_webidl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/webidl/00_webidl.js b/ext/webidl/00_webidl.js index 1bf9d776f4f2b7..fa9d14e652bd4d 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);