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

Core PBjs : add check for empty mediaquery declaration in sizeConfig object #6487

Closed
wants to merge 1 commit into from

Conversation

Fawke
Copy link
Contributor

@Fawke Fawke commented Mar 29, 2021

Type of change

  • Bugfix

Description of change

We have allowed mediaQuery property in sizeConfig to be declared as an empty string. This can lead to some inconsistencies as described here

This can be a breaking change for some publishers who maybe using empty mediaQuery declarations in their sizeConfigs. This PR should go out in a major release of Prebid.js

Fixes #4810

Please refer to #4691 for a detailed context.

@Fawke Fawke changed the title Add check for empty mediaquery declaration Add check for empty mediaquery declaration in sizeConfig object Mar 29, 2021
@patmmccann
Copy link
Collaborator

@Fawke can you make this against prebid-5.0 branch?

@ChrisHuie ChrisHuie changed the title Add check for empty mediaquery declaration in sizeConfig object Core PBjs : add check for empty mediaquery declaration in sizeConfig object Mar 29, 2021
@Fawke Fawke changed the base branch from master to prebid-5.0 March 30, 2021 08:41
@Fawke Fawke changed the base branch from prebid-5.0 to master March 30, 2021 09:37
@Fawke
Copy link
Contributor Author

Fawke commented Mar 30, 2021

@Fawke can you make this against prebid-5.0 branch?

Closing this PR and creating this one that points to the 5.0 branch.

@Fawke Fawke closed this Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove mediaQuery declaration as an empty string in sizeConfig
3 participants