| Index: LayoutTests/fast/css/giant-stylesheet-crash.html
|
| diff --git a/LayoutTests/fast/css/giant-stylesheet-crash.html b/LayoutTests/fast/css/giant-stylesheet-crash.html
|
| index 0a62f0d603c3dcf878d58008182046f941a7eed1..b450a88fc6cea0618457f914306733fe258df985 100644
|
| --- a/LayoutTests/fast/css/giant-stylesheet-crash.html
|
| +++ b/LayoutTests/fast/css/giant-stylesheet-crash.html
|
| @@ -1,25 +1,25 @@
|
| -<head>
|
| -<script>
|
| -if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -</script>
|
| -
|
| -<script>
|
| -var styleElement = document.createElement('style');
|
| -styleElement.setAttribute('type', 'text/css');
|
| -
|
| -var str="z";
|
| -for (var i = 0; i < 16; i++) {
|
| - str += str;
|
| -}
|
| -for (var i = 0; i < 1+(1<<16); i++){
|
| - var txt = document.createTextNode(str);
|
| - styleElement.appendChild(txt);
|
| -}
|
| -
|
| -document.getElementsByTagName('head')[0].appendChild(styleElement);
|
| -</script>
|
| -</head>
|
| -<body>
|
| -This test verifies that creating a huge inline stylesheet doesn't crash.
|
| -</body>
|
| +<head>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +</script>
|
| +
|
| +<script>
|
| +var styleElement = document.createElement('style');
|
| +styleElement.setAttribute('type', 'text/css');
|
| +
|
| +var str="z";
|
| +for (var i = 0; i < 16; i++) {
|
| + str += str;
|
| +}
|
| +for (var i = 0; i < 1+(1<<16); i++){
|
| + var txt = document.createTextNode(str);
|
| + styleElement.appendChild(txt);
|
| +}
|
| +
|
| +document.getElementsByTagName('head')[0].appendChild(styleElement);
|
| +</script>
|
| +</head>
|
| +<body>
|
| +This test verifies that creating a huge inline stylesheet doesn't crash.
|
| +</body>
|
|
|