The Clients.getAll() method was renamed to matchAll(): https://github.com/slightlyoff/ServiceWorker/issues/610 https://github.com/slightlyoff/ServiceWorker/commit/ee62cfc0c450e0522ad7f4944c08f857a4223123
The rename landed in:https://hg.mozilla.org/integration/mozilla-inbound/rev/39354f436e2b The only thing that's left is implementing the options parameter (selecting uncontrolled clients).
Summary: Implement Service Worker Clients.matchAll() → Implement Service Worker Clients.matchAll ClientQueryOptions options
Thanks for taking this bug! Bug 1130684 adds a set of all opened documents which I believe you can reuse for matchAll.
in order to fulfill this, service workers should handle the case of having controlled clients such as workers and shared workers, because of this, Bug 1032521 is needed, adding the dependency. Thanks!
Depends on: 1032521
not working on this for the current sprint (FxOS-S2) so releasing it for now to allow anyone else to take it. Thanks!
Assignee: alberto.crespellperez → nobody
Status: ASSIGNED → NEW
testing/web-platform/mozilla/tests/service-workers/service-worker/clients-matchall-client-types.https.html should be updated to check the shared worker and all cases (commented out in bug 1189686) when this is fixed.
No longer blocks: ServiceWorkers-postv1
All dependents fixed now.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
I've just checked, and it looks like we have already documented this sufficiently: https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll Setting ddn -> ddc.
Component: DOM → DOM: Core & HTML
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.