1343589-1.html (586B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <meta charset="UTF-8"> 5 <script> 6 window.onload = function(){ 7 let a = document.documentElement.animate(null, 8 { duration: 100, iterations: Number.POSITIVE_INFINITY }); 9 a.startTime = 100000; // Set the start time far in the future 10 // Try reversing (this should throw because the target effect end is infinity) 11 try { a.reverse(); } catch(e) {} 12 // Do something that will trigger a timing update 13 a.effect.target = document.createElement("span"); 14 document.documentElement.className = ''; 15 }; 16 </script> 17 </head> 18 </html>