Skip to content

Commit

Permalink
fix: stripURLForReferrer jsdoc in fetch logic (nodejs#3471)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Aug 16, 2024
1 parent 5e50e44 commit 4955a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/fetch/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4955a62

Please sign in to comment.