ServiceWorker: Make claim() uses living matching registrations instead of fetching from DB.
Registration can leverage ServiceWorkerProviderHost's MatchRegistration() method to check whether it is the right registration to claim that client. So the claim() processing in browser process could be implemented without hitting the DB to achieve better performance. BUG=454250 TEST=http/tests/serviceworker/claim* Review URL: https://codereview.chromium.org/1013423002 Cr-Commit-Position: refs/heads/master@{#322123}
Showing
Please register or sign in to comment