amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-accordion not working on IE11 & Edge

Open cloudb opened this issue 7 years ago • 6 comments

What's the issue?

As of sometime today the amp accordion component is no longer working in IE11 and Edge. The following error appears in the console.

failed to build: amp-accordion#24 SyntaxError

Assume it's related to this PR which allows 'bind on [data-expand]' but also appears to have amended the integration test to skip Edge.

How do we reproduce the issue?

Visit amp-accordion - amp by example or any page with amp accordion component on IE11 or Edge.

What browsers are affected?

IE11 and Edge

Which AMP version is affected?

Latest version.

cloudb avatar Jul 10 '19 10:07 cloudb

"Assume it's related to this PR which allows 'bind on [data-expand]' but also appears to have amended the integration test to skip Edge." - that's worrying - this is a supported browser no?

robinac30 avatar Jul 11 '19 07:07 robinac30

@rudygalfi @aghassemi Can you please take a look at this issue?

Issue is reproducible by browsing https://amp.dev/documentation/examples/components/amp-accordion/preview/?format=websites on Desktop Edge.

Screenshot below

Screenshot 2019-07-12 at 10 39 09

gilbertococchi avatar Jul 12 '19 08:07 gilbertococchi

@kristoferbaxter, this is a regression. Likely due to use of Mutation observer in the PR reference above. Regression is usually treated as somewhere between P0 and P1. I suggest patching the canary that is going to prod next week with a fix.

aghassemi avatar Jul 12 '19 13:07 aghassemi

Is this going to be resolved in time for the upcoming release? If this is somewhere between a P0 and P1 can it be labelled as so to ensure someone takes a look at it?

cloudb avatar Jul 15 '19 07:07 cloudb

Hi folks,

I have marked this issue as a P0. Sorry this has gotten to prod pages.

@cvializ could you provide an update here when you have a handle on the issue? Thank you!

nainar avatar Jul 15 '19 18:07 nainar

Found root cause and opened PR #23328

cvializ avatar Jul 15 '19 19:07 cvializ