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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html

Issue 2907443002: Upstream service worker "XHR" test to WPT (Closed)
Patch Set: Simplify request URL and remove outdated reference Created 3 years, 7 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/serviceworker/sync-xhr-doesnt-deadlock.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html
deleted file mode 100644
index 6fe82d70203e2b4fd8725f59667ea8c0ca407db9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<title>Service Worker: SyncXHR doesn't deadlock</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="resources/test-helpers.js"></script>
-<script>
-
-async_test(function(t) {
- var url = 'resources/sync-xhr-doesnt-deadlock.js';
- var scope = 'resources/sync-xhr-doesnt-deadlock-iframe.html';
-
- service_worker_unregister_and_register(t, url, scope)
- .then(function(registration) {
- return wait_for_state(t, registration.installing, 'activated');
- })
- .then(function() { return with_iframe(scope); })
- .then(function(frame) {
- setTimeout(function() {
- frame.contentWindow.performSyncXHR();
- service_worker_unregister_and_done(t, scope);
- }, 0);
- })
- .catch(unreached_rejection(t));
- }, 'Verify SyncXHR does not deadlock');
-</script>

Powered by Google App Engine
This is Rietveld 408576698