From 58bb63f355085bc8dbd845f1cae688e5ce453eec Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Tue, 5 Oct 2021 23:37:50 +0200 Subject: [PATCH] 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 --- 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);