Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

fix #551, add toJSON to ZoneTask to prevent cyclic error#576

Merged
mhevery merged 1 commit intoangular:masterfrom
JiaLiPassion:issue-551
Jan 12, 2017
Merged

fix #551, add toJSON to ZoneTask to prevent cyclic error#576
mhevery merged 1 commit intoangular:masterfrom
JiaLiPassion:issue-551

Conversation

@JiaLiPassion
Copy link
Copy Markdown
Collaborator

in issue #551, vaddin use zone.js and use JSON.stringify the dom element, because zone.js patched
eventlistener, the JSON.stringify will serialize ZoneTask as well, and ZoneTask has reference to Zone, JSON.stringify(zoneTask) will cause cyclic error.

in this PR, I just leave the simplified information with toJSON() callback.

@mhevery mhevery merged commit 03d19f9 into angular:master Jan 12, 2017
@JiaLiPassion JiaLiPassion deleted the issue-551 branch January 12, 2017 01:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants