Index: LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock.js |
diff --git a/LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock.js b/LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61688a16d29deaf3a5f9ecc6bb8fa06c88d184ea |
--- /dev/null |
+++ b/LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock.js |
@@ -0,0 +1,5 @@ |
+self.onfetch = function(event) { |
+ if (event.request.url.indexOf('sync-xhr-doesnt-deadlock.data') == -1) |
+ return; |
+ event.respondWith(fetch('404resource?bustcache=' + Date.now())); |
+} |