From 03f4ca1423b7d383f4defbe76f4b53b98851c62d Mon Sep 17 00:00:00 2001 From: uzlopak Date: Fri, 16 Aug 2024 17:33:32 +0200 Subject: [PATCH] fix: stripURLForReferrer jsdoc in fetch logic --- lib/web/fetch/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web/fetch/util.js b/lib/web/fetch/util.js index dc5ce9b392a..8583da1220f 100644 --- a/lib/web/fetch/util.js +++ b/lib/web/fetch/util.js @@ -472,7 +472,7 @@ function determineRequestsReferrer (request) { /** * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url * @param {URL} url - * @param {boolean|undefined} originOnly + * @param {boolean} [originOnly] */ function stripURLForReferrer (url, originOnly) { // 1. Assert: url is a URL.