Check the size of ResourceRecords in ServiceWorkerDatabase::ReadRegistration()
The ResourceRecords must contain the ServiceWorker's main script.
So the size of it must be bigger than 1.
If the method returns STATUS_ERROR_CORRUPTED, DeleteAndStartOver() will be executed.
BUG=
485900,
478732
Committed:
https://crrev.com/9dd8083acc8e0cce593507bc5736adb6bd5a5a66
Cr-Commit-Position: refs/heads/master@{#329801}