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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/navigation/beacon-allowance.html

Issue 2702113003: Move tests for sendBeacon to a separate dedicated directory for clearer ownership (Closed)
Patch Set: a Created 3 years, 10 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/http/tests/navigation/beacon-allowance.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-allowance.html b/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-allowance.html
deleted file mode 100644
index 40b79a202d0eb9450965c01d10a11f1813eb1820..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/beacon-allowance.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src="/js-test-resources/js-test.js"></script>
-<script>
-description("Test navigator.sendBeacon() restrictions on (accumulated) transmission length.");
-
-var payload = new Uint32Array(1000);
-var result = true;
-function testAllowance() {
- for (var i = 0 ; result && i < 100; i++)
- result = navigator.sendBeacon("resources/blank.txt", payload);
- shouldBeFalse('result');
- finishJSTest();
-}
-
-if (window.testRunner) {
- testRunner.dumpAsText();
-}
-testAllowance();
-</script>
-</head>
-</html>

Powered by Google App Engine
This is Rietveld 408576698