From 948f85216a15e4ef489af21bb532a9b201b0364c Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Tue, 20 Dec 2022 11:37:50 +0900 Subject: chore: Update dlint (#17031) Introduces `SafeSetIterator` and `SafeMapIterator` to primordials --- ext/url/00_url.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/url/00_url.js') diff --git a/ext/url/00_url.js b/ext/url/00_url.js index ebb7b6277..75bf7372a 100644 --- a/ext/url/00_url.js +++ b/ext/url/00_url.js @@ -194,7 +194,7 @@ context: "Argument 1", }); const values = []; - for (const entry of this[_list]) { + for (const entry of new SafeArrayIterator(this[_list])) { if (entry[0] === name) { ArrayPrototypePush(values, entry[1]); } @@ -214,7 +214,7 @@ prefix, context: "Argument 1", }); - for (const entry of this[_list]) { + for (const entry of new SafeArrayIterator(this[_list])) { if (entry[0] === name) { return entry[1]; } -- cgit v1.2.3