Clarification of hasOfflineStartUrl rule (#2775)
* Clarification of hasOfflineStartUrl rule Error message is confusing for some users (https://stackoverflow.com/questions/45330087/manifest-start-url-is-not-cached-by-a-service-worker) and technically it's not true. There's check if the start_url is returned, and if not the message that it's not cached is returned. There's possibility for service worker to cache it but not return it and receive this error message. * Adjusted wording
This commit is contained in:
Родитель
0455283ed7
Коммит
7097d5cf74
|
@ -81,7 +81,7 @@ class WebappInstallBanner extends MultiCheckAudit {
|
|||
const hasOfflineStartUrl = artifacts.StartUrl.statusCode === 200;
|
||||
|
||||
if (!hasOfflineStartUrl) {
|
||||
result.failures.push('Manifest start_url is not cached by a service worker');
|
||||
result.failures.push('Service worker does not successfully serve the manifest\'s start_url');
|
||||
}
|
||||
|
||||
if (artifacts.StartUrl.debugString) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче