gecko-dev/layout/style/crashtests/1383589-1.html
Hiroyuki Ikezoe b096686ea6 Bug 1383589 - Process post traversal whenever StyleDocument() or StyleDocumentForThrottledAnimationFlush() returns true. r=emilio
The test case in this patch freezes without this fix.

MozReview-Commit-ID: 6Rb9XmtAmpM

--HG--
extra : rebase_source : 9a68482c77d5e77ed5733f757ed3ec021834ba2f
2017-07-25 11:49:04 +09:00

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>