tor-browser

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

363950.html (584B)


      1 <html>
      2 <head>
      3 <title>Testcase bug 363950 - crash [@ nsComputedDOMStyle::GetMarginWidthCoordFor]</title>
      4 </head>
      5 <body>
      6 This page should not crash Mozilla
      7 <script>
      8 var properties = ['margin-left','margin-right','margin-top','padding-bottom','padding-left','padding-right','padding-top'];
      9 
     10 function removestyles(i, j){
     11 if (j>=properties.length)
     12   j = 0;
     13 document.defaultView.getComputedStyle(document.getElementsByTagName('head')[0]).getPropertyValue(properties[j]);
     14 j++;
     15 setTimeout(removestyles,50,j);
     16 }
     17 setTimeout(removestyles,500,0,0);
     18 </script>
     19 </body>
     20 </html>