DescriptionServiceWorker: Support includeUncontrolled option in clients.matchAll() (1/2, chromium)
* Add SWContextCore::GetProviderHostByClientID() method
* Add SWContextCore::GetProviderHostIterator() which takes predicate
* Make ServiceWorkerVersion::OnGetClients return uncontrolled host when specified
* Make ServiceWorkerVersion::On{PostMessage,Focus} work for uncontrolled hosts
(i.e. now ServiceWorker can have clients that are not controlled by it)
Spec links:
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworker-client-query-options-dictionary
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#clients-getall
1/2: THIS PATCH
2/2: blink patch (layout tests will be added here)
BUG=455241
TEST=ServiceWorkerContextTest.GetProviderHostIterator
TEST=layout tests will be added later
Committed: https://crrev.com/04848e8f57c823b674b0a3e03047e281fae44bfd
Cr-Commit-Position: refs/heads/master@{#321722}
Patch Set 1 : #
Total comments: 7
Patch Set 2 : #
Total comments: 2
Patch Set 3 : #Patch Set 4 : Add EXPORT #
Messages
Total messages: 28 (14 generated)
|