mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
b096686ea6
The test case in this patch freezes without this fix. MozReview-Commit-ID: 6Rb9XmtAmpM --HG-- extra : rebase_source : 9a68482c77d5e77ed5733f757ed3ec021834ba2f
15 lines
433 B
HTML
15 lines
433 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<script>
|
|
window.addEventListener('load', () => {
|
|
document.documentElement.animate([{ transform: 'none' }], 10000);
|
|
requestAnimationFrame(() => {
|
|
SpecialPowers.getDOMWindowUtils(window)
|
|
.sendMouseEvent("mousemove", 100, 100, 1, 0, 1, 0);
|
|
requestAnimationFrame(() => {
|
|
document.documentElement.classList.remove('reftest-wait');
|
|
});
|
|
});
|
|
});
|
|
</script>
|