Bug 290836
| Summary: | [web-animations] `finish` animation event listener is not fired if registered in the `finished` promise | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antoine Quint <graouts> |
| Component: | Animations | Assignee: | Antoine Quint <graouts> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | graouts |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/51750 | ||
| Bug Depends on: | |||
| Bug Blocks: | 290772 | ||
Antoine Quint
If a `finish` event listener is added as the `finished` promise is resolved, it does not get fired. However, that should be the case since in the "update animations and send events" procedure (https://drafts.csswg.org/web-animations-1/#update-animations-and-send-events) events are dispatched after a microtask checkpoint is performed.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Antoine Quint
This is a subtask of bug 290772.
Antoine Quint
Pull request: https://github.com/WebKit/WebKit/pull/43379
Antoine Quint
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/51750
Antoine Quint
In the end we don't need this subtask, we can fix bug 290772 right away.
*** This bug has been marked as a duplicate of bug 290772 ***