DescriptionServiceWorker: ReadRegistration should return NOT_FOUND when the database is not initialized
ServiceWorkerDatabase::ReadRegistration and ReadUserData should return NOT_FOUND
when the database hasn't been initialized yet, but the current implementation
wrongly returns STATUS_OK without any valid data. This CL fixes it.
BUG=447469
TEST=content_unittests --gtest_filter=ServiceWorkerDatabaseTest.*
Committed: https://crrev.com/37d762951ba5ce0bb3277e0a1457546aacdaf4c0
Cr-Commit-Position: refs/heads/master@{#310749}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 10 (4 generated)
|