Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1914322] Perform pending operations when the view transition is animating. #50403

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moz-wptsync-bot
Copy link
Collaborator

Basically, we have to schedule the performing pending operations after
activating the view transitions, and stop to do that once we don't have
active animations.

There is one known issue: we always timeout even if we activate the view
transitions successfully, so I clear the timeout once we start the animations.
Otherwise, we may always interrupt the long animations whose
durations are longer than dom.viewTransitions.timeout-ms. However, I
guess we may still need a timeout for it. We probably need to figure out
what to do in the future.

Note that /css/css-view-transitions/paused-animation-at-end.html.ini
is failed because we don't have any animations. This is probably blocked by
the dynamic UA stylesheet (Bug 1914324).

Also, update some other tests to avoid getting javascript errors:
JavaScript error: , line 0: uncaught exception: Object.

Differential Revision: https://phabricator.services.mozilla.com/D236215

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1914322
gecko-commit: a8038a8d30ef9c16fcb65468ebc20ad363180ed6
gecko-reviewers: view-transitions-reviewers, emilio

Basically, we have to schedule the performing pending operations after
activating the view transitions, and stop to do that once we don't have
active animations.

There is one known issue: we always timeout even if we activate the view
transitions successfully, so I clear the timeout once we start the animations.
Otherwise, we may always interrupt the long animations whose
durations are longer than `dom.viewTransitions.timeout-ms`. However, I
guess we may still need a timeout for it. We probably need to figure out
what to do in the future.

Note that `/css/css-view-transitions/paused-animation-at-end.html.ini`
is failed because we don't have any animations. This is probably blocked by
the dynamic UA stylesheet (Bug 1914324).

Also, update some other tests to avoid getting javascript errors:
`JavaScript error: , line 0: uncaught exception: Object`.

Differential Revision: https://phabricator.services.mozilla.com/D236215

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1914322
gecko-commit: a8038a8d30ef9c16fcb65468ebc20ad363180ed6
gecko-reviewers: view-transitions-reviewers, emilio
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

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

Successfully merging this pull request may close these issues.

3 participants