Skip to content

@angular/compiler BaseError will cause can't set property error of stack with zone.js 0.7.5 #13908

@JiaLiPassion

Description

@JiaLiPassion

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

The current behavior is here with zone.js 0.7.5, [email protected].
angular/zone.js#595
Expected behavior

Minimal reproduction of the problem with instructions

The reproduce steps can be found here.
angular/zone.js#595

With zone.js 0.7.5, because ZoneAwareError has use current this to construct, so facade/error.js
BaseError is not needed to forward all api to native error.

https://github.com/angular/angular/blob/master/modules/%40angular/facade/src/errors.ts#L34

Metadata

Metadata

Assignees

No one assigned

    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