Skip to content

🐛 Create image pixel in onload event handler of iframe#27204

Merged
rcebulko merged 3 commits intoampproject:masterfrom
rcebulko:frame
Mar 12, 2020
Merged

🐛 Create image pixel in onload event handler of iframe#27204
rcebulko merged 3 commits intoampproject:masterfrom
rcebulko:frame

Conversation

@rcebulko
Copy link
Copy Markdown
Contributor

@rcebulko rcebulko commented Mar 12, 2020

Context: #23935 (comment)

Addresses the fourth and soon-to-be* third most frequent unexpected error logged to AMP Error Reporting.

The soon-to-be part is because error volume has skyrocketed due to a very large news publisher updating their site in a way that triggers this race condition all the time. It's only been live for a day or so right now and only on Beta/Experimental, but based on that slice of traffic it's set to outpace almost all other reported errors.

I expect this to eliminate approximately 1 million error reports per week, based on the frequency of these two errors in Beta/Experimental

Closes #23935
Closes #27207

@rcebulko rcebulko requested a review from zhouyx March 12, 2020 20:33
@amp-owners-bot amp-owners-bot bot requested a review from samouri March 12, 2020 20:34
@rcebulko rcebulko changed the title Create image pixel in onload event handler of iframe 🐛 Create image pixel in onload event handler of iframe Mar 12, 2020
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.

Error: null is not an object (evaluating 'new a.Image') Error: null is not an object (evaluating 'new a.Image')

5 participants