lighthouse 8.6.0-dev.20211031 → 8.6.0-dev.20211104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/report/flow.js +13 -13
  2. package/dist/report/standalone.js +41 -35
  3. package/flow-report/.eslintrc.cjs +2 -0
  4. package/flow-report/assets/standalone-flow-template.html +3 -2
  5. package/flow-report/assets/styles.css +1 -1
  6. package/flow-report/src/app.tsx +10 -11
  7. package/flow-report/src/common.tsx +22 -9
  8. package/flow-report/src/header.tsx +3 -3
  9. package/flow-report/src/i18n/i18n.tsx +10 -6
  10. package/flow-report/src/icons.tsx +30 -9
  11. package/flow-report/src/sidebar/flow.tsx +3 -3
  12. package/flow-report/src/sidebar/sidebar.tsx +30 -11
  13. package/flow-report/src/summary/category.tsx +9 -4
  14. package/flow-report/src/summary/summary.tsx +9 -3
  15. package/flow-report/src/util.ts +31 -19
  16. package/flow-report/src/wrappers/report-renderer.tsx +10 -3
  17. package/flow-report/src/wrappers/report.tsx +19 -10
  18. package/flow-report/standalone-flow.tsx +4 -3
  19. package/flow-report/test/common-test.tsx +25 -10
  20. package/flow-report/test/header-test.tsx +6 -6
  21. package/flow-report/test/setup/env-setup.ts +1 -1
  22. package/flow-report/test/sidebar/sidebar-test.tsx +43 -1
  23. package/flow-report/test/summary/category-test.tsx +5 -5
  24. package/flow-report/test/util-test.tsx +32 -11
  25. package/lighthouse-cli/.eslintrc.cjs +2 -0
  26. package/lighthouse-cli/cli-flags.js +1 -1
  27. package/lighthouse-cli/test/smokehouse/lighthouse-runners/bundle.js +4 -2
  28. package/lighthouse-cli/test/smokehouse/smokehouse.js +1 -1
  29. package/lighthouse-core/audits/audit.js +1 -1
  30. package/lighthouse-core/computed/metrics/lantern-total-blocking-time.js +3 -4
  31. package/lighthouse-core/computed/metrics/tbt-utils.js +57 -0
  32. package/lighthouse-core/computed/metrics/total-blocking-time.js +3 -53
  33. package/lighthouse-core/computed/resource-summary.js +1 -1
  34. package/lighthouse-core/config/config-helpers.js +20 -10
  35. package/lighthouse-core/config/default-config.js +59 -55
  36. package/lighthouse-core/fraggle-rock/config/default-config.js +1 -1
  37. package/lighthouse-core/fraggle-rock/gather/base-gatherer.js +6 -1
  38. package/lighthouse-core/gather/connections/cri.js +1 -1
  39. package/lighthouse-core/gather/gatherers/dobetterweb/response-compression.js +1 -0
  40. package/lighthouse-core/lib/asset-saver.js +4 -1
  41. package/lighthouse-core/lib/lh-env.js +2 -0
  42. package/lighthouse-core/lib/proto-preprocessor.js +14 -2
  43. package/lighthouse-core/lib/tappable-rects.js +8 -15
  44. package/lighthouse-core/lib/url-shim.js +1 -1
  45. package/lighthouse-core/runner.js +1 -1
  46. package/lighthouse-core/util-commonjs.js +25 -11
  47. package/package.json +11 -8
  48. package/report/.eslintrc.cjs +2 -0
  49. package/report/assets/standalone-template.html +2 -3
  50. package/report/assets/styles.css +227 -251
  51. package/report/assets/templates.html +19 -29
  52. package/report/clients/bundle.js +1 -0
  53. package/report/clients/standalone.js +6 -15
  54. package/report/renderer/api.js +32 -0
  55. package/report/renderer/category-renderer.js +22 -18
  56. package/report/renderer/components.js +46 -79
  57. package/report/renderer/crc-details-renderer.js +15 -12
  58. package/report/renderer/dom.js +16 -1
  59. package/report/renderer/drop-down-menu.js +2 -2
  60. package/report/renderer/element-screenshot-renderer.js +8 -8
  61. package/report/renderer/features-util.js +1 -1
  62. package/report/renderer/open-tab.js +9 -3
  63. package/report/renderer/performance-category-renderer.js +51 -24
  64. package/report/renderer/report-renderer.js +34 -10
  65. package/report/renderer/report-ui-features.js +36 -33
  66. package/report/renderer/swap-locale-feature.js +3 -3
  67. package/report/renderer/topbar-features.js +52 -48
  68. package/report/renderer/util.js +26 -11
  69. package/report/test/clients/bundle-test.js +8 -0
  70. package/report/test/renderer/category-renderer-test.js +2 -2
  71. package/report/test/renderer/performance-category-renderer-test.js +35 -9
  72. package/report/test/renderer/report-renderer-axe-test.js +5 -2
  73. package/report/test/renderer/report-renderer-test.js +14 -11
  74. package/report/test/renderer/report-ui-features-test.js +20 -10
  75. package/report/test/renderer/util-test.js +13 -31
  76. package/report/test-assets/faux-psi-template.html +2 -7
  77. package/report/test-assets/faux-psi.js +20 -39
  78. package/report/types/html-renderer.d.ts +2 -0
  79. package/report/types/report-renderer.d.ts +23 -0
  80. package/shared/localization/format.js +9 -4
  81. package/shared/localization/locales/ar-XB.json +0 -15
  82. package/shared/localization/locales/ar.json +0 -15
  83. package/shared/localization/locales/bg.json +0 -15
  84. package/shared/localization/locales/ca.json +0 -15
  85. package/shared/localization/locales/cs.json +0 -15
  86. package/shared/localization/locales/da.json +0 -15
  87. package/shared/localization/locales/de.json +0 -15
  88. package/shared/localization/locales/el.json +0 -15
  89. package/shared/localization/locales/en-GB.json +0 -15
  90. package/shared/localization/locales/en-US.json +19 -16
  91. package/shared/localization/locales/en-XA.json +0 -15
  92. package/shared/localization/locales/en-XL.json +19 -16
  93. package/shared/localization/locales/es-419.json +0 -15
  94. package/shared/localization/locales/es.json +0 -15
  95. package/shared/localization/locales/fi.json +0 -15
  96. package/shared/localization/locales/fil.json +0 -15
  97. package/shared/localization/locales/fr.json +0 -15
  98. package/shared/localization/locales/he.json +0 -15
  99. package/shared/localization/locales/hi.json +0 -15
  100. package/shared/localization/locales/hr.json +0 -15
  101. package/shared/localization/locales/hu.json +0 -15
  102. package/shared/localization/locales/id.json +0 -15
  103. package/shared/localization/locales/it.json +0 -15
  104. package/shared/localization/locales/ja.json +0 -15
  105. package/shared/localization/locales/ko.json +0 -15
  106. package/shared/localization/locales/lt.json +0 -15
  107. package/shared/localization/locales/lv.json +0 -15
  108. package/shared/localization/locales/nl.json +0 -15
  109. package/shared/localization/locales/no.json +0 -15
  110. package/shared/localization/locales/pl.json +0 -15
  111. package/shared/localization/locales/pt-PT.json +0 -15
  112. package/shared/localization/locales/pt.json +0 -15
  113. package/shared/localization/locales/ro.json +0 -15
  114. package/shared/localization/locales/ru.json +0 -15
  115. package/shared/localization/locales/sk.json +0 -15
  116. package/shared/localization/locales/sl.json +0 -15
  117. package/shared/localization/locales/sr-Latn.json +0 -15
  118. package/shared/localization/locales/sr.json +0 -15
  119. package/shared/localization/locales/sv.json +0 -15
  120. package/shared/localization/locales/ta.json +0 -15
  121. package/shared/localization/locales/te.json +0 -15
  122. package/shared/localization/locales/th.json +0 -15
  123. package/shared/localization/locales/tr.json +0 -15
  124. package/shared/localization/locales/uk.json +0 -15
  125. package/shared/localization/locales/vi.json +0 -15
  126. package/shared/localization/locales/zh-HK.json +0 -15
  127. package/shared/localization/locales/zh-TW.json +0 -15
  128. package/shared/localization/locales/zh.json +0 -15
  129. package/third-party/chromium-synchronization/installability-errors-test.js +2 -0
  130. package/types/lhr/flow.d.ts +3 -2
  131. package/types/rollup-plugin-postprocess.d.ts +10 -0
  132. package/lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js +0 -96
@@ -401,10 +401,10 @@ describe('util helpers', () => {
401
401
  const category = {
402
402
  id: 'performance',
403
403
  auditRefs: [
404
- {weight: 3, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'diagnostics'},
405
- {weight: 2, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'diagnostics'},
406
- {weight: 0, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'diagnostics'},
407
- {weight: 1, result: {score: 0, scoreDisplayMode: 'binary'}, group: 'diagnostics'},
404
+ {weight: 3, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'metrics'},
405
+ {weight: 2, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'metrics'},
406
+ {weight: 0, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'metrics'},
407
+ {weight: 1, result: {score: 0, scoreDisplayMode: 'binary'}, group: 'metrics'},
408
408
  ],
409
409
  };
410
410
  const fraction = Util.calculateCategoryFraction(category);
@@ -416,14 +416,14 @@ describe('util helpers', () => {
416
416
  });
417
417
  });
418
418
 
419
- it('ignores manual audits, N/A audits, and performance audits with no group', () => {
419
+ it('ignores manual audits, N/A audits, and hidden audits', () => {
420
420
  const category = {
421
421
  id: 'performance',
422
422
  auditRefs: [
423
- {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'diagnostics'},
424
- {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}},
425
- {weight: 1, result: {score: 0, scoreDisplayMode: 'manual'}, group: 'diagnostics'},
426
- {weight: 1, result: {score: 0, scoreDisplayMode: 'notApplicable'}, group: 'diagnostics'},
423
+ {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'metrics'},
424
+ {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'hidden'},
425
+ {weight: 1, result: {score: 0, scoreDisplayMode: 'manual'}, group: 'metrics'},
426
+ {weight: 1, result: {score: 0, scoreDisplayMode: 'notApplicable'}, group: 'metrics'},
427
427
  ],
428
428
  };
429
429
  const fraction = Util.calculateCategoryFraction(category);
@@ -435,32 +435,14 @@ describe('util helpers', () => {
435
435
  });
436
436
  });
437
437
 
438
- it('does not ignore audits with no group in non-performance category', () => {
439
- const category = {
440
- id: 'seo',
441
- auditRefs: [
442
- {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'diagnostics'},
443
- {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}},
444
- {weight: 1, result: {score: 0, scoreDisplayMode: 'manual'}, group: 'diagnostics'},
445
- ],
446
- };
447
- const fraction = Util.calculateCategoryFraction(category);
448
- expect(fraction).toEqual({
449
- numPassableAudits: 2,
450
- numPassed: 2,
451
- numInformative: 0,
452
- totalWeight: 2,
453
- });
454
- });
455
-
456
438
  it('tracks informative audits separately', () => {
457
439
  const category = {
458
440
  id: 'performance',
459
441
  auditRefs: [
460
- {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'diagnostics'},
461
- {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'diagnostics'},
462
- {weight: 0, result: {score: 1, scoreDisplayMode: 'informative'}, group: 'diagnostics'},
463
- {weight: 1, result: {score: 0, scoreDisplayMode: 'informative'}, group: 'diagnostics'},
442
+ {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'metrics'},
443
+ {weight: 1, result: {score: 1, scoreDisplayMode: 'binary'}, group: 'metrics'},
444
+ {weight: 0, result: {score: 1, scoreDisplayMode: 'informative'}, group: 'metrics'},
445
+ {weight: 1, result: {score: 0, scoreDisplayMode: 'informative'}, group: 'metrics'},
464
446
  ],
465
447
  };
466
448
  const fraction = Util.calculateCategoryFraction(category);
@@ -66,7 +66,6 @@
66
66
  }
67
67
 
68
68
  .tab-panel {
69
- padding: 30px 0;
70
69
  border-top: 1px solid #ccc;
71
70
  }
72
71
 
@@ -101,13 +100,9 @@ body {
101
100
  <label for="tab2">Desktop</label>
102
101
 
103
102
  <div class="tab-panels">
104
- <section id="mobile" class="tab-panel">
105
- <main></main>
106
- </section>
103
+ <section id="mobile" class="tab-panel"></section>
107
104
 
108
- <section id="desktop" class="tab-panel">
109
- <main></main>
110
- </section>
105
+ <section id="desktop" class="tab-panel"></section>
111
106
 
112
107
  </div>
113
108
  </div>
@@ -26,43 +26,25 @@ const lighthouseRenderer = window['report'];
26
26
  for (const [tabId, lhr] of Object.entries(lhrs)) {
27
27
  await distinguishLHR(lhr, tabId);
28
28
 
29
- const container = document.querySelector(`#${tabId} main`);
29
+ const container = document.querySelector(`section#${tabId}`);
30
30
  if (!container) throw new Error('Unexpected DOM. Bailing.');
31
31
 
32
- renderLHReport(lhr, container);
33
- }
34
- })();
35
-
36
- /**
37
- * @param {LH.Result} lhrData
38
- * @param {HTMLElement} reportContainer
39
- */
40
- function renderLHReport(lhrData, reportContainer) {
41
- /**
42
- * @param {Document} doc
43
- */
44
- function getRenderer(doc) {
45
- const dom = new lighthouseRenderer.DOM(doc);
46
- return new lighthouseRenderer.ReportRenderer(dom);
47
- }
48
-
49
- const renderer = getRenderer(reportContainer.ownerDocument);
50
- reportContainer.classList.add('lh-root', 'lh-vars');
51
-
52
- try {
53
- renderer.renderReport(lhrData, reportContainer);
54
- // TODO: handle topbar removal better
55
- // TODO: display warnings if appropriate.
56
- for (const el of reportContainer.querySelectorAll('.lh-topbar, .lh-warnings')) {
57
- el.setAttribute('hidden', 'true');
32
+ try {
33
+ const reportRootEl = lighthouseRenderer.renderReport(lhr, {
34
+ omitTopbar: true,
35
+ disableAutoDarkModeAndFireworks: true,
36
+ });
37
+ // TODO: display warnings if appropriate.
38
+ for (const el of reportRootEl.querySelectorAll('.lh-warnings')) {
39
+ el.setAttribute('hidden', 'true');
40
+ }
41
+ container.append(reportRootEl);
42
+ } catch (e) {
43
+ console.error(e);
44
+ container.textContent = 'Error: LHR failed to render.';
58
45
  }
59
- const features = new lighthouseRenderer.ReportUIFeatures(renderer._dom);
60
- features.initFeatures(lhrData);
61
- } catch (e) {
62
- console.error(e);
63
- reportContainer.textContent = 'Error: LHR failed to render.';
64
46
  }
65
- }
47
+ })();
66
48
 
67
49
 
68
50
  /**
@@ -72,7 +54,6 @@ function renderLHReport(lhrData, reportContainer) {
72
54
  * @param {string} tabId
73
55
  */
74
56
  async function distinguishLHR(lhr, tabId) {
75
- lhr.categories.performance.title += ` ${tabId}`; // for easier identification
76
57
  if (tabId === 'desktop') {
77
58
  lhr.categories.performance.score = 0.81;
78
59
  }
@@ -101,15 +82,15 @@ async function decorateScreenshot(datauri, tabId) {
101
82
  img.src = datauri;
102
83
  });
103
84
  const c = document.createElement('canvas');
104
- c.width = img.width;
105
- c.height = img.height;
85
+ c.width = tabId === 'desktop' ? 280 : img.width;
86
+ c.height = tabId === 'desktop' ? 194 : img.height;
106
87
 
107
88
  const ctx = c.getContext('2d');
108
89
  if (!ctx) throw new Error();
109
- ctx.drawImage(img, 0, 0);
110
- ctx.font = `${img.width / 2}px serif`;
90
+ ctx.drawImage(img, 0, 0, c.width, c.height);
91
+ ctx.font = `${c.width / 2}px serif`;
111
92
  ctx.textAlign = 'center';
112
93
  ctx.globalAlpha = 0.7;
113
- ctx.fillText(tabId === 'mobile' ? '📱' : '💻', img.width / 2, Math.min(img.height / 2, 700));
94
+ ctx.fillText(tabId === 'mobile' ? '📱' : '💻', c.width / 2, Math.min(c.height / 2, 700));
114
95
  return c.toDataURL();
115
96
  }
@@ -8,6 +8,7 @@ import AuditDetails from '../../types/lhr/audit-details';
8
8
  import {FormattedIcu as FormattedIcu_, IcuMessage as IcuMessage_} from '../../types/lhr/i18n';
9
9
  import LHResult from '../../types/lhr/lhr';
10
10
  import ReportResult_ from './report-result';
11
+ import Renderer_ from './report-renderer';
11
12
  import * as Settings from '../../types/lhr/settings';
12
13
  import Treemap_ from '../../types/lhr/treemap';
13
14
 
@@ -16,6 +17,7 @@ declare global {
16
17
  module LH {
17
18
  export import Result = LHResult;
18
19
  export import ReportResult = ReportResult_;
20
+ export import Renderer = Renderer_;
19
21
  export import Locale = Settings.Locale;
20
22
  export type IcuMessage = IcuMessage_;
21
23
  export type FormattedIcu<T> = FormattedIcu_<T>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license Copyright 2021 The Lighthouse Authors. All Rights Reserved.
3
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
4
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
5
+ */
6
+
7
+ import { Result as AuditResult } from "../../types/lhr/audit-result";
8
+
9
+ declare module Renderer {
10
+ function renderReport(lhr: AuditResult, options?: Options): HTMLElement;
11
+
12
+ interface Options {
13
+ /**
14
+ * Don't automatically apply dark-mode to dark based on (prefers-color-scheme: dark). (DevTools and PSI don't want this.)
15
+ * Also, the fireworks easter-egg will want to flip to dark, so this setting will also disable chance of fireworks. */
16
+ disableAutoDarkModeAndFireworks?: boolean;
17
+
18
+ /** Disable the topbar UI component */
19
+ omitTopbar?: boolean;
20
+ }
21
+ }
22
+
23
+ export default Renderer;
@@ -7,11 +7,13 @@
7
7
 
8
8
  const fs = require('fs');
9
9
 
10
- const MessageFormat = require('intl-messageformat').default;
10
+ const MessageFormat = require('intl-messageformat');
11
11
  const {isObjectOfUnknownValues, isObjectOrArrayOfUnknownValues} = require('../type-verifiers.js');
12
12
 
13
13
  /** Contains available locales with messages. May be an empty object if bundled. */
14
- const LOCALE_MESSAGES = require('./locales.js');
14
+ /** @type {import('./locales')} */
15
+ // @ts-expect-error TODO(esmodules): remove when file is es modules.
16
+ const LOCALE_MESSAGES = require('./locales.js').default || require('./locales.js');
15
17
 
16
18
  const DEFAULT_LOCALE = 'en-US';
17
19
 
@@ -93,7 +95,7 @@ function collectAllCustomElementsFromICU(icuElements, seenElementsById = new Map
93
95
  * Returns a copy of the `values` object, with the values formatted based on how
94
96
  * they will be used in their icuMessage, e.g. KB or milliseconds. The original
95
97
  * object is unchanged.
96
- * @param {MessageFormat} messageFormatter
98
+ * @param {MessageFormat.IntlMessageFormat} messageFormatter
97
99
  * @param {Readonly<Record<string, string | number>>} values
98
100
  * @param {string} lhlMessage Used for clear error logging.
99
101
  * @return {Record<string, string | number>}
@@ -171,7 +173,10 @@ function formatMessage(message, values = {}, locale) {
171
173
  // When using accented english, force the use of a different locale for number formatting.
172
174
  const localeForMessageFormat = (locale === 'en-XA' || locale === 'en-XL') ? 'de-DE' : locale;
173
175
 
174
- const formatter = new MessageFormat(message, localeForMessageFormat, formats);
176
+ // This package is not correctly bundled by Rollup.
177
+ /** @type {typeof MessageFormat.IntlMessageFormat} */
178
+ const MessageFormatCtor = MessageFormat.IntlMessageFormat || MessageFormat;
179
+ const formatter = new MessageFormatCtor(message, localeForMessageFormat, formats);
175
180
 
176
181
  // Preformat values for the message format like KB and milliseconds.
177
182
  const valuesForMessageFormat = _preformatValues(formatter, values, message);
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "‏‮Avoids‬‏ ‏‮an‬‏ ‏‮excessive‬‏ ‏‮DOM‬‏ ‏‮size‬‏"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "‏‮Failing‬‏ ‏‮Anchors‬‏"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "‏‮Add‬‏ `rel=\"noopener\"` ‏‮or‬‏ `rel=\"noreferrer\"` ‏‮to‬‏ ‏‮any‬‏ ‏‮external‬‏ ‏‮links‬‏ ‏‮to‬‏ ‏‮improve‬‏ ‏‮performance‬‏ ‏‮and‬‏ ‏‮prevent‬‏ ‏‮security‬‏ ‏‮vulnerabilities‬‏. [‏‮Learn‬‏ ‏‮more‬‏](https://web.dev/external-anchors-use-rel-noopener/)."
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "‏‮Links‬‏ ‏‮to‬‏ ‏‮cross‬‏-‏‮origin‬‏ ‏‮destinations‬‏ ‏‮are‬‏ ‏‮unsafe‬‏"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "‏‮Links‬‏ ‏‮to‬‏ ‏‮cross‬‏-‏‮origin‬‏ ‏‮destinations‬‏ ‏‮are‬‏ ‏‮safe‬‏"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "‏‮Unable‬‏ ‏‮to‬‏ ‏‮determine‬‏ ‏‮the‬‏ ‏‮destination‬‏ ‏‮for‬‏ ‏‮anchor‬‏ ({anchorHTML}). ‏‮If‬‏ ‏‮not‬‏ ‏‮used‬‏ ‏‮as‬‏ ‏‮a‬‏ ‏‮hyperlink‬‏, ‏‮consider‬‏ ‏‮removing‬‏ ‏‮target‬‏=_‏‮blank‬‏."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "‏‮Users‬‏ ‏‮are‬‏ ‏‮mistrustful‬‏ ‏‮of‬‏ ‏‮or‬‏ ‏‮confused‬‏ ‏‮by‬‏ ‏‮sites‬‏ ‏‮that‬‏ ‏‮request‬‏ ‏‮their‬‏ ‏‮location‬‏ ‏‮without‬‏ ‏‮context‬‏. ‏‮Consider‬‏ ‏‮tying‬‏ ‏‮the‬‏ ‏‮request‬‏ ‏‮to‬‏ ‏‮a‬‏ ‏‮user‬‏ ‏‮action‬‏ ‏‮instead‬‏. [‏‮Learn‬‏ ‏‮more‬‏](https://web.dev/geolocation-on-start/)."
820
805
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "تجنُب حجم DOM الزائد"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "علامات الارتساء التي تعذّرت مراجعتها"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "يمكنك إضافة `rel=\"noopener\"` أو `rel=\"noreferrer\"` إلى أي روابط خارجية لتحسين الأداء ومنع الثغرات الأمنية. [مزيد من المعلومات](https://web.dev/external-anchors-use-rel-noopener/)"
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "الروابط إلى وجهات مشتركة المصدر هي غير آمنة"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "الروابط إلى وجهات مشتركة المصدر هي آمنة"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "يتعذّر تحديد الوجهة لإعلان ثابت {anchorHTML}). في حال عدم استخدامه كرابط تشعبي، يمكنك إزالة target=_blank."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "لا يثق المستخدمون في المواقع الإلكترونية التي تطلب مواقعهم الجغرافية بدون سياق أو قد يؤدي ذلك إلى إرباكهم. يمكنك ربط الطلب بإجراء المستخدم بدلاً من ذلك. [مزيد من المعلومات](https://web.dev/geolocation-on-start/)"
820
805
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "Не се използва DOM с твърде голям размер"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "Anchor маркери с грешки"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "Добавете `rel=\"noopener\"` или `rel=\"noreferrer\"` към връзките към външни сайтове, за да подобрите ефективността и да избегнете уязвимости в сигурността. [Научете повече](https://web.dev/external-anchors-use-rel-noopener/)."
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "Връзките към външни дестинации не са безопасни"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "Връзките към външни дестинации са безопасни"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "Не можахме да определим дестинацията за котвата ({anchorHTML}). Ако не се използва като хипервръзка, бихте могли да премахнете target=_blank."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "Потребителите се объркват или нямат доверие на сайтове, които искат да узнаят местоположението им без контекст. Вместо това бихте могли да обвържете заявката към действие на потребителя. [Научете повече](https://web.dev/geolocation-on-start/)."
820
805
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "Evita una mida excessiva de DOM"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "Àncora amb errors"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "Afegeix `rel=\"noopener\"` o `rel=\"noreferrer\"` a qualsevol enllaç extern per millorar-ne el rendiment i evitar vulnerabilitats de seguretat. [Obtén més informació](https://web.dev/external-anchors-use-rel-noopener/)."
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "Els enllaços a destinacions de diversos orígens no són segurs"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "Els enllaços a destinacions de diversos orígens són segurs"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "No es pot determinar la destinació de l'ancoratge ({anchorHTML}). Si no s'utilitza com a enllaç, et recomanem que suprimeixis target=_blank."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "Els usuaris reaccionen amb desconfiança i desconcert davant dels llocs web que els sol·liciten la ubicació sense context. Et recomanem que vinculis la sol·licitud a una acció de l'usuari. [Obtén més informació](https://web.dev/geolocation-on-start/)."
820
805
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "Nepoužívá příliš velký model DOM"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "Ukotvení, která neprošla"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "Ke všem externím odkazům přidejte atribut `rel=\"noopener\"` nebo `rel=\"noreferrer\"`. Stránku tím zrychlíte a předejdete ohrožení zabezpečení. [Další informace](https://web.dev/external-anchors-use-rel-noopener/)"
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "Odkazy na cíle v jiných doménách nejsou bezpečné"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "Odkazy na cíle v jiných doménách jsou bezpečné"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "Nepodařilo se určit cíl ukotvení ({anchorHTML}). Pokud tento prvek nepoužíváte jako hypertextový odkaz, zvažte odstranění atributu target=_blank."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "Vůči webům, které bez kontextu žádají o polohu, mohou být uživatelé nedůvěřiví nebo z nich mohou být zmateni. Zvažte možnost spojit tuto žádost s akcí uživatele. [Další informace](https://web.dev/geolocation-on-start/)"
820
805
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "Undgår en overdreven DOM-størrelse"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "Ankere, der ikke bestod gennemgangen"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "Føj `rel=\"noopener\"` eller `rel=\"noreferrer\"` til alle eksterne links for at forbedre ydeevnen og forhindre sikkerhedssårbarheder. [Få flere oplysninger](https://web.dev/external-anchors-use-rel-noopener/)."
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "Links til destinationer af anden oprindelse er ikke sikre"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "Links til destinationer af anden oprindelse er sikre"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "Destinationen for ankeret ({anchorHTML}) kunne ikke identificeres. Hvis det ikke bruges som hyperlink, bør du overveje at fjerne target=_blank."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "Brugere er mistænksomme over for eller forvirres af websites, der anmoder om deres placering uden sammenhæng. Overvej at knytte anmodningen til en brugerhandling i stedet for. [Få flere oplysninger](https://web.dev/geolocation-on-start/)."
820
805
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "Vermeidet eine übermäßige DOM-Größe"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "Fehlerhafte Anker"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "Fügen Sie beliebigen externen Links `rel=\"noopener\"` oder `rel=\"noreferrer\"` hinzu, um die Leistung zu verbessern und Sicherheitslücken zu vermeiden. [Weitere Informationen.](https://web.dev/external-anchors-use-rel-noopener/)"
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "Links zu ursprungsübergreifenden Zielen sind unsicher"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "Links zu ursprungsübergreifenden Zielen sind sicher"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "Ziel für Anker ({anchorHTML}) kann nicht bestimmt werden. Wenn dies nicht als Hyperlink genutzt wird, sollten Sie target=_blank entfernen."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "Nutzer sind misstrauisch oder verwirrt, wenn Websites den Standort ohne Begründung anfordern. Versuchen Sie stattdessen, die Anforderung mit einer Nutzeraktion zu verbinden. [Weitere Informationen.](https://web.dev/geolocation-on-start/)"
820
805
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "Αποφεύγει τα υπερβολικά μεγάλα μεγέθη DOM"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "Αγκυρώσεις που αποτυγχάνουν"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "Προσθέστε ένα στοιχείο `rel=\"noopener\"` ή `rel=\"noreferrer\"` στους εξωτερικούς συνδέσμους για να βελτιώσετε την απόδοση και να αποφύγετε τις ευπάθειες ασφάλειας. [Μάθετε περισσότερα](https://web.dev/external-anchors-use-rel-noopener/)."
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "Οι σύνδεσμοι με προορισμούς διασταυρούμενων προελεύσεων δεν είναι ασφαλείς"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "Οι σύνδεσμοι με προορισμούς διασταυρούμενων προελεύσεων είναι ασφαλείς"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "Δεν ήταν δυνατός ο προσδιορισμός του προορισμού για την αγκύρωση ({anchorHTML}). Εάν δεν χρησιμοποιείται ως υπερσύνδεσμος, εξετάστε το ενδεχόμενο να καταργήσετε το χαρακτηριστικό target=_blank."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "Οι ιστότοποι που απαιτούν τη γνωστοποίηση τοποθεσίας χωρίς προφανή αιτία προκαλούν σύγχυση ή φαίνονται ύποπτοι στους χρήστες. Συνιστάται τα αιτήματα να συνδέονται με τις ενέργειες των χρηστών. [Μάθετε περισσότερα](https://web.dev/geolocation-on-start/)."
820
805
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "Avoids an excessive DOM size"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "Failing anchors"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "Add `rel=\"noopener\"` or `rel=\"noreferrer\"` to any external links to improve performance and prevent security vulnerabilities. [Learn more](https://web.dev/external-anchors-use-rel-noopener/)."
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "Links to cross-origin destinations are unsafe"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "Links to cross-origin destinations are safe"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "Unable to determine the destination for anchor ({anchorHTML}). If not used as a hyperlink, consider removing target=_blank."
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "Users are mistrustful of or confused by sites that request their location without context. Consider tying the request to a user action instead. [Learn more](https://web.dev/geolocation-on-start/)."
820
805
  },
@@ -821,21 +821,6 @@
821
821
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
822
822
  "message": "Avoids an excessive DOM size"
823
823
  },
824
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
825
- "message": "Failing Anchors"
826
- },
827
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
828
- "message": "Add `rel=\"noopener\"` or `rel=\"noreferrer\"` to any external links to improve performance and prevent security vulnerabilities. [Learn more](https://web.dev/external-anchors-use-rel-noopener/)."
829
- },
830
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
831
- "message": "Links to cross-origin destinations are unsafe"
832
- },
833
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
834
- "message": "Links to cross-origin destinations are safe"
835
- },
836
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
837
- "message": "Unable to determine the destination for anchor ({anchorHTML}). If not used as a hyperlink, consider removing target=_blank."
838
- },
839
824
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
840
825
  "message": "Users are mistrustful of or confused by sites that request their location without context. Consider tying the request to a user action instead. [Learn more](https://web.dev/geolocation-on-start/)."
841
826
  },
@@ -1776,7 +1761,7 @@
1776
1761
  "message": "These checks are required by the baseline [PWA Checklist](https://developers.google.com/web/progressive-web-apps/checklist) but are not automatically checked by Lighthouse. They do not affect your score but it's important that you verify them manually."
1777
1762
  },
1778
1763
  "lighthouse-core/config/default-config.js | pwaCategoryTitle": {
1779
- "message": "Progressive Web App"
1764
+ "message": "PWA"
1780
1765
  },
1781
1766
  "lighthouse-core/config/default-config.js | pwaInstallableGroupTitle": {
1782
1767
  "message": "Installable"
@@ -2345,6 +2330,9 @@
2345
2330
  "report/renderer/util.js | calculatorLink": {
2346
2331
  "message": "See calculator."
2347
2332
  },
2333
+ "report/renderer/util.js | collapseView": {
2334
+ "message": "Collapse view"
2335
+ },
2348
2336
  "report/renderer/util.js | crcInitialNavigation": {
2349
2337
  "message": "Initial Navigation"
2350
2338
  },
@@ -2381,9 +2369,15 @@
2381
2369
  "report/renderer/util.js | errorMissingAuditInfo": {
2382
2370
  "message": "Report error: no audit information"
2383
2371
  },
2372
+ "report/renderer/util.js | expandView": {
2373
+ "message": "Expand view"
2374
+ },
2384
2375
  "report/renderer/util.js | footerIssue": {
2385
2376
  "message": "File an issue"
2386
2377
  },
2378
+ "report/renderer/util.js | hide": {
2379
+ "message": "Hide"
2380
+ },
2387
2381
  "report/renderer/util.js | labDataTitle": {
2388
2382
  "message": "Lab Data"
2389
2383
  },
@@ -2408,6 +2402,9 @@
2408
2402
  "report/renderer/util.js | runtimeAnalysisWindow": {
2409
2403
  "message": "Initial page load"
2410
2404
  },
2405
+ "report/renderer/util.js | runtimeCustom": {
2406
+ "message": "Custom throttling"
2407
+ },
2411
2408
  "report/renderer/util.js | runtimeDesktopEmulation": {
2412
2409
  "message": "Emulated Desktop"
2413
2410
  },
@@ -2441,9 +2438,15 @@
2441
2438
  "report/renderer/util.js | runtimeSingleLoadTooltip": {
2442
2439
  "message": "This data is taken from a single page load, as opposed to field data summarizing many sessions."
2443
2440
  },
2441
+ "report/renderer/util.js | runtimeSlow4g": {
2442
+ "message": "Slow 4G throttling"
2443
+ },
2444
2444
  "report/renderer/util.js | runtimeUnknown": {
2445
2445
  "message": "Unknown"
2446
2446
  },
2447
+ "report/renderer/util.js | show": {
2448
+ "message": "Show"
2449
+ },
2447
2450
  "report/renderer/util.js | showRelevantAudits": {
2448
2451
  "message": "Show audits relevant to:"
2449
2452
  },
@@ -800,21 +800,6 @@
800
800
  "lighthouse-core/audits/dobetterweb/dom-size.js | title": {
801
801
  "message": "[Åvöîðš åñ éxçéššîvé ÐÖM šîžé one two three four five six]"
802
802
  },
803
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | columnFailingAnchors": {
804
- "message": "[Fåîļîñĝ Åñçĥöŕš one two]"
805
- },
806
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | description": {
807
- "message": "[Åðð ᐅ`rel=\"noopener\"`ᐊ öŕ ᐅ`rel=\"noreferrer\"`ᐊ ţö åñý éxţéŕñåļ ļîñķš ţö îmþŕövé þéŕƒöŕmåñçé åñð þŕévéñţ šéçûŕîţý vûļñéŕåбîļîţîéš. ᐅ[ᐊĻéåŕñ möŕéᐅ](https://web.dev/external-anchors-use-rel-noopener/)ᐊ. one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen]"
808
- },
809
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | failureTitle": {
810
- "message": "[Ļîñķš ţö çŕöšš-öŕîĝîñ ðéšţîñåţîöñš åŕé ûñšåƒé one two three four five six seven eight nine]"
811
- },
812
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | title": {
813
- "message": "[Ļîñķš ţö çŕöšš-öŕîĝîñ ðéšţîñåţîöñš åŕé šåƒé one two three four five six seven eight nine]"
814
- },
815
- "lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js | warning": {
816
- "message": "[Ûñåбļé ţö ðéţéŕmîñé ţĥé ðéšţîñåţîöñ ƒöŕ åñçĥöŕ (ᐅ{anchorHTML}ᐊ). ΃ ñöţ ûšéð åš å ĥýþéŕļîñķ, çöñšîðéŕ ŕémövîñĝ ţåŕĝéţ=_бļåñķ. one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen]"
817
- },
818
803
  "lighthouse-core/audits/dobetterweb/geolocation-on-start.js | description": {
819
804
  "message": "[Ûšéŕš åŕé mîšţŕûšţƒûļ öƒ öŕ çöñƒûšéð бý šîţéš ţĥåţ ŕéqûéšţ ţĥéîŕ ļöçåţîöñ ŵîţĥöûţ çöñţéxţ. Çöñšîðéŕ ţýîñĝ ţĥé ŕéqûéšţ ţö å ûšéŕ åçţîöñ îñšţéåð. ᐅ[ᐊĻéåŕñ möŕéᐅ](https://web.dev/geolocation-on-start/)ᐊ. one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty twentyone twentytwo twentythree]"
820
805
  },