tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

modified-details-crash.html (628B)


      1 <!doctype HTML>
      2 <link rel=author href="mailto:vmpstr@chromium.org">
      3 <link rel=help href="https://crbug.com/1276488">
      4 
      5 <style>
      6 .first + .second {}
      7 </style>
      8 
      9 <script>
     10 const details = document.createElement('details');
     11 const ol = document.createElement('ol');
     12 const text = document.createTextNode('abcdefghijklmnopqrstuvxyz');
     13 
     14 function step3() {
     15  ol.setAttribute('class', 'first');
     16 }
     17 
     18 function step2() {
     19  details.appendChild(text);
     20  requestAnimationFrame(step3);
     21 }
     22 
     23 function runTest() {
     24  document.documentElement.appendChild(details);
     25  details.appendChild(ol);
     26 
     27  requestAnimationFrame(step2);
     28 }
     29 
     30 onload = runTest;
     31 </script>