delete-other-rule-crash.html (500B)
1 <!DOCTYPE html> 2 <body> 3 <title>Crash with lazy parsing child rules and stylesheet copy-on-write</title> 4 <link rel="help" href="https://crbug.com/1404879"> 5 <link href="../support/delete-other-rule-crash.css" rel="stylesheet"> 6 <script src="/common/gc.js"></script> 7 <script> 8 addEventListener('DOMContentLoaded', async () => { 9 requestAnimationFrame(async () => { 10 document.styleSheets[0].deleteRule(0); 11 await garbageCollect(); 12 document.styleSheets[0].cssRules[0].cssText; 13 }); 14 }); 15 </script>