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

Fix the iframe uuid case where two akitas are installed #142

Merged
merged 1 commit into from
Apr 17, 2021

Conversation

vezwork
Copy link
Member

@vezwork vezwork commented Apr 9, 2021

Fixes #140

Changes

  • Adds undefined checks for iframe messages containing unexpected uuids not corresponding to a known iframe. Unexpected uuids only occur when the user has multiple akita extensions installed and they both assign uuids to the iframes which the other akita extension instance does not know about; in this case the extension tries to look up the iframe corresponding to the uuid and gets undefined, leading to incorrect behaviour because the code assumed that no unexpected uuids would occur.

@vezwork vezwork requested a review from sharon-wang April 9, 2021 03:34
@vezwork vezwork added this to the Submit to Firefox/Chrome/Edge milestone Apr 9, 2021
Copy link
Member

@sharon-wang sharon-wang left a comment

Choose a reason for hiding this comment

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

lgtm!

@sharon-wang sharon-wang merged commit 64faa4a into esse-dev:master Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Sites with monetized iframes don't count as monetized on Chrome
2 participants