Skip to content

Patch all browsers API returning Promise #31762

@vicb

Description

@vicb

All browsers API returning Promise should be patched.

This is required because the returned Promises would not extend the monkey-patched Promise by default.

It seems like patching might not be needed when microtasks are not used (the monkey patch on the Promise.prototype is taken into account on latest Chrome version (44) but it fails on earlier version. It should probably be tested when other browsers implement the API before we remove the patch on zone.js - we must keep it for zone-microtask.js)

ref:

Metadata

Metadata

Assignees

Labels

area: zonesIssues related to zone.js

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions