Bug 1858509 add thread-safety annotations around MediaSourceDemuxer::mMonitor r=alwu
[gecko.git] / layout / style / crashtests / 972199-1.html
bloba4e0de0d81ca7d9a73954095449690b05c8d49b6
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <head>
4 <style type="text/css">
5 @keyframes anim {
6 0% { transform: translate(0px) }
7 100% { transform: translate(100px) }
9 div {
10 width: 100px;
11 height: 100px;
12 background-color: white;
14 </style>
15 </head>
16 <body>
17 <div></div>
18 <script type="application/javascript">
20 window.addEventListener("load", function() {
21 document.querySelector("div").setAttribute("style",
22 "animation: 100s 300s anim linear");
23 advance_clock(200000);
24 advance_clock(300000);
26 Promise.resolve().then(function() {
27 SpecialPowers.DOMWindowUtils.restoreNormalRefresh();
28 }).then(function() {
29 document.documentElement.className = "";
30 });
31 });
33 function advance_clock(milliseconds) {
34 SpecialPowers.DOMWindowUtils.advanceTimeAndRefresh(milliseconds);
36 </script>
37 </html>