Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

regression: Promise.prototype.catch is undefined in IE11 (v1.0.8+) #837

@vlukashov

Description

@vlukashov

Starting from the version 1.0.8 of the WebComponents polyfill, the ES6 promise polyfill shipped as a part of webcomponents-lite.js does not define the Promise.prototype.catch method. For example, the app-storage web components break the app in IE11 starting with WebComponents polyfill 1.0.8 (1.0.7 is still OK).

Here is a demo app (broken in IE11): https://github.com/vlukashov/polymer-local-storage.

Most likely, the root cause is closure-compiler/#2640, but for some reason the issue did not surface with the polyfill versions 1.0.7 and before.

Workaround
Pin the version of the WebComponents polyfill to 1.0.7 or less.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions