-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #3265 - pbs cookie sync race condition #3393
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for JS doc update.
/** | ||
* Run a cookie sync for the given type, url, and bidder | ||
* | ||
* @param {string} type the type of sync, "image", "redirect", "iframe" | ||
* @param {string} url the url to sync | ||
* @param {string} bidder name of bidder doing sync for | ||
*/ | ||
function doBidderSync(type, url, bidder) { | ||
function doBidderSync(type, url, bidder, done) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you update the JSdoc params for done
?
@@ -616,11 +620,15 @@ exports.insertHtmlIntoIframe = function(htmlCode) { | |||
* @param {string} url URL to be requested | |||
* @param {string} encodeUri boolean if URL should be encoded before inserted. Defaults to true | |||
*/ | |||
exports.insertUserSyncIframe = function(url) { | |||
exports.insertUserSyncIframe = function(url, done) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JS doc here too
@mkendall07 Thanks for the feedback; I added the missing jsdoc comments. |
* Fix prebid#3265 - pbs cookie sync race condition * add/update jsdoc comments
* Fix prebid#3265 - pbs cookie sync race condition * add/update jsdoc comments
* Fix prebid#3265 - pbs cookie sync race condition * add/update jsdoc comments
* Fix prebid#3265 - pbs cookie sync race condition * add/update jsdoc comments
Type of change
Description of change
Fixes #3265