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

requestAnimationFrame is not handled by FakeAsyncZoneSpec #804

Closed
vikerman opened this issue Jun 7, 2017 · 0 comments
Closed

requestAnimationFrame is not handled by FakeAsyncZoneSpec #804

vikerman opened this issue Jun 7, 2017 · 0 comments
Assignees

Comments

@vikerman
Copy link
Contributor

vikerman commented Jun 7, 2017

FakeAsyncZoneSpec should handle all async task scheduling without passing it on to the parent zone delegate.

However for requestAnimationFrame it is passing the task to the parent zone.

We should just simulate requestAnimationFrame in fake async zone using setTimeout of 16ms(~60 frames per second).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant