Amphtml: Forms with xhr action do not work in IE11 neither get or post

Created on 2 May 2017  路  7Comments  路  Source: ampproject/amphtml

https://raw.githubusercontent.com/ampproject/amphtml/1493417419433/node_modules/promise-pjs/promise.js element specified in the source map https://cdn.ampproject.org/v0.js could not be found

Try to suscribe in your own example in https://ampbyexample.com/components/amp-form/preview/
The form do nothing.

The same error throws with amp-carousel type slides if in IE11 have enabled the script debugger.

High Priority

All 7 comments

@cvializ let's do a quick test and see how broken form is in IE11, I am worried this might be due to some deeper IE11 regression in the platform.
/cc @ericlindley-g

IE11 is throwing when amp-form calls event-helper.js#createCustomEvent. IE11 doesn't support the CustomEvent constructor, and #createCustomEvent checks for the presence of window.CustomEvent, but IE defines this variable despite not supporting it 馃槮

Looks like @camelburrito merged a fix for this in #9053 when resolving the same error in #8916 for the carousel. I'll close this issue.

Yay!

Thank you!! But, what about de node_modules/promise-pjs/promise.js not found??

That's just the stack trace, but not where the error comes from.

OK, it is another bug?

No

Was this page helpful?
0 / 5 - 0 ratings