Introduces LegacyPromise; polyfills DOM Promise
Merge pull request #4060 from yurydelendik/promises

Introduces LegacyPromise; polyfills DOM Promise