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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-worker.js

Issue 1731823003: Service Worker: Add worker client test for Clients.get(id) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-client-types-shared-worker.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-worker.js
index 0b9979841ebc01e12a39af6ec894899dc074f1ad..4705e358d889055014889e38db094dfce0277e8d 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-worker.js
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-worker.js
@@ -1,5 +1,6 @@
self.onfetch = function(e) {
- if (e.request.url.indexOf('clients-get-frame.html') >= 0) {
+ if (e.request.url.indexOf('clients-get-frame.html') >= 0 ||
+ e.request.url.indexOf('clients-get-client-types') >= 0) {
// On navigation, the client id should be null.
if (e.clientId === null) {
e.respondWith(fetch(e.request));
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-get-client-types-shared-worker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698