Skip to content

Commit

Permalink
drop my whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Dec 4, 2020
1 parent 6ed0604 commit 4311e98
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions lighthouse-core/audits/installable-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ const UIStrings = {
/**
* @description TODO
* @example {platform-not-supported-on-android} errorId
*/
*/
noErrorId: `Installability error id '{errorId}'`,
/** Error message explaining that the page is not loaded in the frame. */
'not-in-main-frame': 'Page is not loaded in the main frame',
/** Error message explaining that the page is served from a secure origin. */
'not-from-secure-origin': 'Page is not served from a secure origin',
Expand All @@ -45,25 +46,25 @@ const UIStrings = {
'manifest-display-not-supported': `Manifest 'display' property must be one of 'standalone', 'fullscreen', or 'minimal-ui'`,
/** Error message explaining that the manifest could not be fetched, might be empty, or could not be parsed. */
'manifest-empty': `Manifest could not be fetched, is empty, or could not be parsed`,
/** Error message explaining that no matching service worker was detected,
/** Error message explaining that no matching service worker was detected,
* and provides a suggestion to reload the page or check whether the scope of the service worker
* for the current page encloses the scope and start URL from the manifest. */
'no-matching-service-worker': `No matching service worker detected. You may need to reload the page,
or check that the scope of the service worker for the current page
'no-matching-service-worker': `No matching service worker detected. You may need to reload the page,
or check that the scope of the service worker for the current page
encloses the scope and start URL from the manifest.`,
/**
* @description Error message explaining that the manifest does not contain a suitable icon.
* @example {192} value0
*/
'manifest-missing-suitable-icon': `Manifest does not contain a suitable icon - PNG,
SVG or WebP format of at least {value0}\xa0px
is required, the sizes attribute must be set, and the purpose attribute,
*/
'manifest-missing-suitable-icon': `Manifest does not contain a suitable icon - PNG,
SVG or WebP format of at least {value0}\xa0px
is required, the sizes attribute must be set, and the purpose attribute,
if set, must include "any" or "maskable".`,

/**
* @description Error message explaining that the manifest does not supply an icon of the correct format.
* @example {192} value0
*/
*/
'no-acceptable-icon': `No supplied icon is at least {value0}\xa0px square in PNG, SVG or WebP format`,

/** Error message explaining that the downloaded icon was empty or corrupt. */
Expand All @@ -89,13 +90,13 @@ const UIStrings = {
'no-url-for-service-worker': `Could not check service worker without a 'start_url' field in the manifest`,
/**Error message explaining that the manifest specifies prefer_related_applications: true. */
'prefer-related-applications': `Manifest specifies prefer_related_applications: true`,
/** Error message explaining that prefer_related_applications is only supported on Chrome Beta and Stable channe
/** Error message explaining that prefer_related_applications is only supported on Chrome Beta and Stable channe
on Android. */
'prefer-related-applications-only-beta-stable': `prefer_related_applications is only supported on Chrome Beta and Stable channe
'prefer-related-applications-only-beta-stable': `prefer_related_applications is only supported on Chrome Beta and Stable channe
on Android.`,
/** Error message explaining that the manifest contains 'display_override' field, and the first supported display
/** Error message explaining that the manifest contains 'display_override' field, and the first supported display
mode must be one of 'standalone', 'fulcreen', or 'minimal-ui. */
'manifest-display-override-not-supported': `Manifest contains 'display_override' field, and the first supported display
'manifest-display-override-not-supported': `Manifest contains 'display_override' field, and the first supported display
mode must be one of 'standalone', 'fulcreen', or 'minimal-ui`,
/** Error message explaining that the web manifest's URL changed while the manifest was being downloaded by the browser. */
'manifest-location-changed': `Manifest URL changed while the manifest was being fetched.`,
Expand Down

0 comments on commit 4311e98

Please sign in to comment.