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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.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/gc-custom-prototype.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html b/third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html
index 8a4d0fa9f3f01ad8b9c0d20fea59949d1c37c756..4c62a712e7e77d1d34188195565d7ed4e2b174b4 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/gc-custom-prototype.html
@@ -2,7 +2,7 @@
<pre id="console"></pre>
<p id="p"></p>
-
+<script src="../../resources/gc.js"></script>
<script>
function $(id)
{
@@ -24,17 +24,6 @@ function shouldBe(aDescription, a, b)
log("PASS: " + aDescription + " should be " + b + " and is.");
}
-function gc()
-{
- if (window.GCController) {
- GCController.collect();
- return;
- }
-
- for (var i = 0; i < 10000; ++i)
- new Object;
-}
-
function shouldBeNull(aDescription, a)
{
if (a == null) {

Powered by Google App Engine
This is Rietveld 408576698