| Index: third_party/WebKit/LayoutTests/fast/dom/Range/remove-all-children-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Range/remove-all-children-crash.html b/third_party/WebKit/LayoutTests/fast/dom/Range/remove-all-children-crash.html
|
| index 6761f1f2ab09de2cb1aa8dabed5d3021a6e3dec5..d91f190499dac4ccf4359e559897f6c58d4bfa6f 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Range/remove-all-children-crash.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/Range/remove-all-children-crash.html
|
| @@ -1,26 +1,11 @@
|
| <body>
|
| <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=28697">bug 28697</a>.</p>
|
| <div id="div"><p id="one"></p><p id="two">FAIL, the test did not start.</p></div>
|
| +<script src="../../../resources/gc.js"></script>
|
| <script>
|
| if (window.testRunner)
|
| testRunner.dumpAsText();
|
|
|
| -function gc() {
|
| - if (typeof GCController !== "undefined")
|
| - GCController.collect();
|
| - else {
|
| - function gcRec(n) {
|
| - if (n < 1)
|
| - return {};
|
| - var temp = {i: "ab" + i + (i / 100000)};
|
| - temp += "foo";
|
| - gcRec(n-1);
|
| - }
|
| - for (var i = 0; i < 1000; i++)
|
| - gcRec(10)
|
| - }
|
| -}
|
| -
|
| var div = document.getElementById("div");
|
| var two = document.getElementById("two");
|
| var range = document.createRange();
|
|
|