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 sourceUrl assertion for IE11 #30389

Merged
merged 3 commits into from
Sep 24, 2020

Conversation

rcebulko
Copy link
Contributor

@rcebulko rcebulko commented Sep 24, 2020

window.location in a srcdoc iframe is "about:srcdoc" in sane browsers and a special magic string in Edge and IE. The special-case handling was in place already for Edge, but not for IE, causing the IE11 integration test to fail. This PR adds the IE11 check to the special-case check.

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

image

@rcebulko rcebulko merged commit 7870242 into ampproject:master Sep 24, 2020
@rcebulko rcebulko deleted the ie11-amp-ad-3p-sourceUrl branch September 24, 2020 20:54
ed-bird pushed a commit to ed-bird/amphtml that referenced this pull request Dec 10, 2020
* Fix amp-ad-3p sourceUrl assertion for IE11

* Swap back-slash for forward-slash

* %s/isIE/isIe/
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