Skip to content
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

topicsFpdModule: replace ad-hoc GDPR logic with transmitUfpd acitivity check; check for topics support before loading frames #10201

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

dgirardi
Copy link
Collaborator

@dgirardi dgirardi commented Jul 10, 2023

Type of change

  • Feature

Description of change

…ity check; check for topics support before loading frames
@patmmccann patmmccann self-requested a review July 10, 2023 18:39
@patmmccann patmmccann added the needs 2nd review Core module updates require two approvals from the core team label Jul 18, 2023
@ChrisHuie ChrisHuie requested a review from Fawke July 18, 2023 14:39
@ChrisHuie ChrisHuie requested review from robertrmartinez and removed request for Fawke July 18, 2023 14:40
@ChrisHuie ChrisHuie assigned robertrmartinez and unassigned Fawke Jul 18, 2023
Copy link
Collaborator

@robertrmartinez robertrmartinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine, and since no safe check on allowsFeature guessing its fine and is always there

@@ -86,10 +90,14 @@ export function getTopicsData(name, topics, taxonomies = TAXONOMIES) {
);
}

function isTopicsSupported(doc = document) {
return 'browsingTopics' in doc && doc.featurePolicy.allowsFeature('browsing-topics')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it guaranteed allowsFeature will always be there if browsingTopics is? So no need to safe check here?

@patmmccann patmmccann merged commit bcf080d into prebid:master Jul 25, 2023
2 checks passed
santii7395 pushed a commit to themaven-net/Prebid.js that referenced this pull request Aug 28, 2023
…ity check; check for topics support before loading frames (prebid#10201)

* topicsFpdModule: replace ad-hoc GDPR logic with `transmitUfpd` acitivity check; check for topics support before loading frames

* Use `enrichUfpd` instead of `transmitUfpd`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature needs 2nd review Core module updates require two approvals from the core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Topics module: check support before inserting frame
5 participants