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

secureCreative -> receiveMessage throws an error when no adObject is found #2953

Closed
OhadTs1985 opened this issue Aug 9, 2018 · 2 comments · Fixed by #4058
Closed

secureCreative -> receiveMessage throws an error when no adObject is found #2953

OhadTs1985 opened this issue Aug 9, 2018 · 2 comments · Fixed by #4058

Comments

@OhadTs1985
Copy link

Type of issue

Bug

Description

When two instances of Prebid runs in the same scope the secureCreatives.js module of instance no.1 might listen to events thrown by a creatives that runs in a cross domain iframes which has been created by instance no.2. This results in the receiveMessage handler not finding adObject (sets as undefined) and an error thrown when the sendAdToCreative method tries to access the adObjects.adId (line 56 in the secureCreative.js module).

@mkendall07
Copy link
Member

Thanks for the bug report. It might expedite a solution if you provided an example of this.

@mkendall07 mkendall07 added the bug label Aug 14, 2018
@bwoolcott
Copy link

@OhadTs1985 do you have an example of this or a test page you could point us to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants