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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/clients-matchall-on-evaluation-worker.js

Issue 2778903002: Upstream service worker `client` tests to WPT (Closed)
Patch Set: Remove unnecessary branch Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 importScripts('test-helpers.js');
2
3 var page_url = normalizeURL('../clients-matchall-on-evaluation.html');
4
5 self.clients.matchAll({includeUncontrolled: true})
6 .then(function(clients) {
7 clients.forEach(function(client) {
8 if (client.url == page_url)
9 client.postMessage('matched');
10 });
11 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698