Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Range/remove-all-children-crash.html

Issue 2818563004: sendBeacon should throw a TypeError on bad URLs. (Closed)
Patch Set: Patch Set 2 was the final submit, 3 was uploaded by mistake. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698