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 amp-ad-3p Event constructor calls #30394

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

rcebulko
Copy link
Contributor

Creating and dispatching custom events in IE11 requires a workaround rather than using the Event constructor directly. This PR replaces calls to new Error() with calls to the existing createCustomEvent helper. Fixes remaining failures in this test on IE11.

Part of broad effort under #28152 to enable IE11 integration tests as blocking

Fixed error (revealed by #30389, fixing a failure earlier in the test):
image

@rcebulko rcebulko marked this pull request as ready for review September 24, 2020 21:50
@rcebulko rcebulko merged commit e3c5533 into ampproject:master Sep 24, 2020
@rcebulko rcebulko deleted the ie11-amp-ad-3p-event branch September 24, 2020 21:51
ed-bird pushed a commit to ed-bird/amphtml that referenced this pull request Dec 10, 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.

None yet

3 participants