Index: LayoutTests/http/tests/serviceworker/resources/client-focus.js |
diff --git a/LayoutTests/http/tests/serviceworker/resources/client-focus.js b/LayoutTests/http/tests/serviceworker/resources/client-focus.js |
deleted file mode 100644 |
index d8c06ec50d1cc146e814385e7765fa00ee55614e..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/serviceworker/resources/client-focus.js |
+++ /dev/null |
@@ -1,15 +0,0 @@ |
-self.onmessage = function(e) { |
- self.clients.getAll().then(function(clients) { |
- clients.forEach(function(client) { |
- if (('focus' in client) && (typeof(client.focus) == 'function')) |
- client.postMessage('focus() is present'); |
- client.focus().then(function(result) { |
- client.postMessage('focus() succeeded with ' + result); |
- client.postMessage('quit'); |
- }, function(e) { |
- client.postMessage('focus() failed with ' + e.name); |
- client.postMessage('quit'); |
- }); |
- }); |
- }); |
-} |