commit daf148ec563a49493127fec14a457b71deb706fc
parent aca7ec66df41325d519b1fcc8d9355fd77d695ae
Author: Mark Banner <standard8@mozilla.com>
Date: Mon, 13 Oct 2025 13:14:27 +0000
Bug 1992354 - Fix jsdoc for PartnerLinkAttribution.makeRequest. r=urlbar-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D267375
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/browser/modules/PartnerLinkAttribution.sys.mjs b/browser/modules/PartnerLinkAttribution.sys.mjs
@@ -20,11 +20,12 @@ export var PartnerLinkAttribution = {
/**
* Sends an attribution request to an anonymizing proxy.
*
- * @param {string} targetURL
+ * @param {object} options
+ * @param {string} options.targetURL
* The URL we are routing through the anonmyzing proxy.
- * @param {string} source
+ * @param {string} options.source
* The source of the anonmized request ("newtab" or "urlbar").
- * @param {string} [campaignID]
+ * @param {string} [options.campaignID]
* The campaign ID for attribution. This should be a valid path on the
* anonymizing proxy. For example, if `campaignID` was `foo`, we'd send an
* attribution request to https://topsites.mozilla.com/cid/foo.