Closed
      
        Bug 1130685
      
      
        Opened 10 years ago
          Closed 7 years ago
      
        
    
  
Implement Service Worker Clients.matchAll ClientQueryOptions options    
    Categories
(Core :: DOM: Core & HTML, defect)
        Core
          
        
        
      
        
    
        DOM: Core & HTML
          
        
        
      
        
    Tracking
()
        RESOLVED
        FIXED
        
    
  
People
(Reporter: bkelly, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
The Clients.getAll() method was renamed to matchAll():
  https://github.com/slightlyoff/ServiceWorker/issues/610
  https://github.com/slightlyoff/ServiceWorker/commit/ee62cfc0c450e0522ad7f4944c08f857a4223123
| Comment 1•10 years ago
           | ||
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
|   | ||
| Updated•10 years ago
           | 
Assignee: nobody → alberto.crespellperez
| Comment 2•10 years ago
           | ||
Thanks for taking this bug!
Bug 1130684 adds a set of all opened documents which I believe you can reuse for matchAll.
| Updated•10 years ago
           | 
Keywords: dev-doc-needed
|   | ||
| Updated•10 years ago
           | 
Status: NEW → ASSIGNED
|   | ||
| Comment 3•10 years ago
           | ||
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
|   | ||
| Comment 4•10 years ago
           | ||
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.
| Updated•10 years ago
           | 
| Reporter | ||
| Updated•9 years ago
           | 
Blocks: ServiceWorkers-compat
| Reporter | ||
| Updated•8 years ago
           | 
No longer blocks: ServiceWorkers-postv1
| Reporter | ||
| Comment 7•7 years ago
           | ||
All dependents fixed now.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
| Comment 8•7 years ago
           | ||
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.
Keywords: dev-doc-needed → dev-doc-complete
| Assignee | ||
| Updated•6 years ago
           | 
Component: DOM → DOM: Core & HTML
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•