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..4583ae32a060f9815b31c1e3b10444d9cc701b02 |
--- /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) |
horo
2014/09/18 01:04:29
nit: Indent two spaces.
http://www.chromium.org/bl
|
+ return; |
+ event.respondWith(fetch('404resource?bustcache=' + Date.now())); |
+} |