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

Unified Diff: third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.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/media/remoteplayback/availability-callback-gc.html
diff --git a/third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html b/third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html
index f5fda808b0d2bb7d320f14a54ea4f5440b8d1bc2..9bf5867a71cdb2d8b1ef52cbfe3b4b0f9c2c26bc 100644
--- a/third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html
+++ b/third_party/WebKit/LayoutTests/media/remoteplayback/availability-callback-gc.html
@@ -5,22 +5,10 @@
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../media-file.js"></script>
+ <script src="../../resources/gc.js"></script>
</head>
<body>
<script>
- // WPT: this test can't be moved to WPT because of its usage of:
- // - GCController.collect()
-
- function gc() {
- if (window.GCController)
- GCController.collect();
- else {
- for (var i = 0; i < 10000; ++i) {
- ({ });
- }
- }
- }
-
async_test(function(t)
{
var v = document.createElement('video');

Powered by Google App Engine
This is Rietveld 408576698