layout/style/crashtests/363950.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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

mercurial