1 onmessage = function (e) {
2 dump("MatchAllClientIdWorker:" + e.data + "\n");
7 for (var i = 0; i < iterations; i++) {
8 self.clients.matchAll().then(function (res) {
10 dump("ERROR: no clients are currently controlled.\n");
14 id[counter] = client.id;
16 if (counter >= iterations) {
18 for (var index = 1; index < iterations; index++) {
19 if (id[0] != id[index]) {
24 client.postMessage(response);