amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

AMP broken in IE11

Open robinac30 opened this issue 6 years ago • 11 comments

What's the issue?

AMP is no longer working in IE11 as of this morning

How do we reproduce the issue?

View https://amp.dev/ in Internet Explorer v11

What browsers are affected?

Internet Explorer v11 and below

Which AMP version is affected?

New issue which was picked up by our visual regression testing.

Seeing this in console:

Could not locate https://raw.githubusercontent.com/ampproject/amphtml/2004142326360/src/polyfills/src/polyfills/custom-elements.js specified in source map https://cdn.ampproject.org/v0.js.map.

robinac30 avatar Apr 15 '20 06:04 robinac30

amp-img can't work on IE by released 2004142326360

I'm rushing to deal with by the way to lock versions of AMP runtime and components https://twitter.com/innovate_7110/status/1240144750432452609

7110 avatar Apr 15 '20 08:04 7110

@choumx This seems urgent. Can we consider a rollback?

uskay avatar Apr 15 '20 09:04 uskay

seems amp4ads banner ads do not work anymore. IE11: up to ~5% marketshare. One could easily make the math. Could'nt you consider a rollback?

jkurzend avatar Apr 15 '20 12:04 jkurzend

@7110 it's better to fallback to the LTS version (which is supported by the AMP validator) https://github.com/ampproject/amphtml/blob/master/contributing/lts-release.md

sebastianbenz avatar Apr 15 '20 13:04 sebastianbenz

The console error may be unrelated to page breakages; that's a known issue with the source map generation, but it shouldn't impact the runtime files.

rcebulko avatar Apr 15 '20 13:04 rcebulko

These are the errors found when reproducing on amp.dev with IE 11.719: image

The page is missing all of its assets: image

caroqliu avatar Apr 15 '20 14:04 caroqliu

This issue should be fixed in 2004030010070. This is the current stable.

Please accept my apologies for the inconvenience this issue has caused you all.

We will be keeping this issue open to track the cause since we have just done a revert for now.

nainar avatar Apr 15 '20 16:04 nainar

@nainar is correct that 2004030010070 fixes the issue. ~~Unfortunately, LTS is 012004142326360 (the broken version).~~ LTS is 2004030010070, and the recommended way to fix the bug for now.

jridgewell avatar Apr 15 '20 19:04 jridgewell

We can update LTS to 2004030010070 with minimal impact, usage is still fairly low

rcebulko avatar Apr 15 '20 19:04 rcebulko

@jridgewell LTS is at 2004030010070 as well right now - maybe you have the opt-in cookie set? :)

danielrozenberg avatar Apr 15 '20 19:04 danielrozenberg

Apologies, LTS is currently 2004030010070. I had an opt-in cookie overriding the LTS version.

jridgewell avatar Apr 15 '20 19:04 jridgewell