lighthouse 12.8.2-dev.20251006 → 12.8.2-dev.20251008

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 (91) hide show
  1. package/core/audits/insights/dom-size-insight.js +5 -1
  2. package/core/audits/insights/font-display-insight.js +3 -1
  3. package/core/audits/insights/insight-audit.d.ts +4 -2
  4. package/core/audits/insights/insight-audit.js +22 -3
  5. package/core/audits/predictive-perf.js +2 -2
  6. package/core/audits/redirects.js +0 -1
  7. package/core/audits/seo/crawlable-anchors.js +2 -3
  8. package/core/computed/metrics/lcp-breakdown.d.ts +10 -5
  9. package/core/computed/metrics/lcp-breakdown.js +50 -23
  10. package/core/computed/metrics/time-to-first-byte.js +33 -10
  11. package/core/computed/metrics/timing-summary.js +3 -2
  12. package/core/config/default-config.js +0 -12
  13. package/core/gather/gatherers/anchor-elements.js +8 -24
  14. package/core/gather/gatherers/inspector-issues.js +1 -28
  15. package/core/gather/gatherers/trace-elements.d.ts +0 -9
  16. package/core/gather/gatherers/trace-elements.js +0 -36
  17. package/core/lib/network-request.d.ts +0 -7
  18. package/core/lib/network-request.js +0 -16
  19. package/package.json +2 -4
  20. package/shared/localization/locales/ar-XB.json +20 -38
  21. package/shared/localization/locales/ar.json +20 -38
  22. package/shared/localization/locales/bg.json +9 -27
  23. package/shared/localization/locales/ca.json +9 -27
  24. package/shared/localization/locales/cs.json +9 -27
  25. package/shared/localization/locales/da.json +9 -27
  26. package/shared/localization/locales/de.json +9 -27
  27. package/shared/localization/locales/el.json +9 -27
  28. package/shared/localization/locales/en-GB.json +9 -27
  29. package/shared/localization/locales/en-US.json +18 -45
  30. package/shared/localization/locales/en-XA.json +0 -27
  31. package/shared/localization/locales/en-XL.json +18 -45
  32. package/shared/localization/locales/es-419.json +9 -27
  33. package/shared/localization/locales/es.json +9 -27
  34. package/shared/localization/locales/fi.json +9 -27
  35. package/shared/localization/locales/fil.json +9 -27
  36. package/shared/localization/locales/fr.json +9 -27
  37. package/shared/localization/locales/he.json +31 -49
  38. package/shared/localization/locales/hi.json +9 -27
  39. package/shared/localization/locales/hr.json +9 -27
  40. package/shared/localization/locales/hu.json +9 -27
  41. package/shared/localization/locales/id.json +9 -27
  42. package/shared/localization/locales/it.json +9 -27
  43. package/shared/localization/locales/ja.json +9 -27
  44. package/shared/localization/locales/ko.json +10 -28
  45. package/shared/localization/locales/lt.json +9 -27
  46. package/shared/localization/locales/lv.json +10 -28
  47. package/shared/localization/locales/nl.json +9 -27
  48. package/shared/localization/locales/no.json +9 -27
  49. package/shared/localization/locales/pl.json +9 -27
  50. package/shared/localization/locales/pt-PT.json +9 -27
  51. package/shared/localization/locales/pt.json +9 -27
  52. package/shared/localization/locales/ro.json +10 -28
  53. package/shared/localization/locales/ru.json +9 -27
  54. package/shared/localization/locales/sk.json +9 -27
  55. package/shared/localization/locales/sl.json +9 -27
  56. package/shared/localization/locales/sr-Latn.json +9 -27
  57. package/shared/localization/locales/sr.json +9 -27
  58. package/shared/localization/locales/sv.json +9 -27
  59. package/shared/localization/locales/ta.json +9 -27
  60. package/shared/localization/locales/te.json +10 -28
  61. package/shared/localization/locales/th.json +9 -27
  62. package/shared/localization/locales/tr.json +9 -27
  63. package/shared/localization/locales/uk.json +9 -27
  64. package/shared/localization/locales/vi.json +9 -27
  65. package/shared/localization/locales/zh-HK.json +9 -27
  66. package/shared/localization/locales/zh-TW.json +10 -28
  67. package/shared/localization/locales/zh.json +9 -27
  68. package/tsconfig.json +0 -3
  69. package/types/artifacts.d.ts +4 -43
  70. package/core/audits/byte-efficiency/offscreen-images.d.ts +0 -63
  71. package/core/audits/byte-efficiency/offscreen-images.js +0 -240
  72. package/core/audits/dobetterweb/no-document-write.d.ts +0 -16
  73. package/core/audits/dobetterweb/no-document-write.js +0 -86
  74. package/core/audits/dobetterweb/uses-passive-event-listeners.d.ts +0 -16
  75. package/core/audits/dobetterweb/uses-passive-event-listeners.js +0 -69
  76. package/core/audits/metrics/first-meaningful-paint.d.ts +0 -12
  77. package/core/audits/metrics/first-meaningful-paint.js +0 -47
  78. package/core/computed/critical-request-chains.d.ts +0 -42
  79. package/core/computed/critical-request-chains.js +0 -143
  80. package/core/computed/viewport-meta.d.ts +0 -37
  81. package/core/computed/viewport-meta.js +0 -71
  82. package/core/gather/gatherers/cache-contents.d.ts +0 -11
  83. package/core/gather/gatherers/cache-contents.js +0 -56
  84. package/core/gather/gatherers/dobetterweb/domstats.d.ts +0 -10
  85. package/core/gather/gatherers/dobetterweb/domstats.js +0 -102
  86. package/core/gather/gatherers/dobetterweb/optimized-images.d.ts +0 -48
  87. package/core/gather/gatherers/dobetterweb/optimized-images.js +0 -169
  88. package/core/gather/gatherers/dobetterweb/response-compression.d.ts +0 -23
  89. package/core/gather/gatherers/dobetterweb/response-compression.js +0 -136
  90. package/types/internal/metaviewport-parser.d.ts +0 -13
  91. package/types/internal/parse-cache-control.d.ts +0 -20
@@ -647,12 +647,6 @@
647
647
  "core/audits/bootup-time.js | title": {
648
648
  "message": "JavaScript yürütme süresi"
649
649
  },
650
- "core/audits/byte-efficiency/offscreen-images.js | description": {
651
- "message": "Etkileşim için hazır olma süresini kısaltmak için ekran dışı ve gizli resimleri, tüm kritik kaynakların yüklenmesi bittikten sonra gecikmeli olarak yükleme seçeneğini değerlendirin. [Ekran dışındaki resimleri nasıl geciktireceğinizi öğrenin](https://developer.chrome.com/docs/lighthouse/performance/offscreen-images/)."
652
- },
653
- "core/audits/byte-efficiency/offscreen-images.js | title": {
654
- "message": "Ekran dışındaki resimleri ertele"
655
- },
656
650
  "core/audits/byte-efficiency/total-byte-weight.js | description": {
657
651
  "message": "Büyük ağ yükleri kullanıcılar için parasal maliyet anlamına gelir ve yükleme sürelerinin uzamasında yüksek bir etkiye sahiptir. [Yük boyutlarını nasıl düşüreceğinizi öğrenin](https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/)."
658
652
  },
@@ -812,15 +806,6 @@
812
806
  "core/audits/dobetterweb/js-libraries.js | title": {
813
807
  "message": "JavaScript kitaplıkları algılandı"
814
808
  },
815
- "core/audits/dobetterweb/no-document-write.js | description": {
816
- "message": "`document.write()` kullanılarak dinamik olarak enjekte edilen harici komut dosyaları, yavaş bağlantıya sahip kullanıcılar için sayfa yüklemeyi onlarca saniye geciktirebilir. [Kodunuzu document.write() yönteminden nasıl arındıracağınızı öğrenin](https://developer.chrome.com/docs/lighthouse/best-practices/no-document-write/)."
817
- },
818
- "core/audits/dobetterweb/no-document-write.js | failureTitle": {
819
- "message": "`document.write()` kullanmaktan kaçının"
820
- },
821
- "core/audits/dobetterweb/no-document-write.js | title": {
822
- "message": "`document.write()` öğesinden kaçınıyor"
823
- },
824
809
  "core/audits/dobetterweb/notification-on-start.js | description": {
825
810
  "message": "Kullanıcılar herhangi bir bağlam olmadan bildirim göndermek isteyen sitelere şüpheyle bakarlar veya bu istek karşısında kafaları karışır. Onun yerine isteği kullanıcı hareketlerine bağlamayı değerlendirin. [Bildirimler için duyarlı bir şekilde izin alma hakkında daha fazla bilgi edinin](https://developer.chrome.com/docs/lighthouse/best-practices/notification-on-start/)."
826
811
  },
@@ -839,15 +824,6 @@
839
824
  "core/audits/dobetterweb/paste-preventing-inputs.js | title": {
840
825
  "message": "Kullanıcıların giriş alanlarına yapıştırmalarına izin verir"
841
826
  },
842
- "core/audits/dobetterweb/uses-passive-event-listeners.js | description": {
843
- "message": "Sayfanızın kaydırma performansını artırmak için dokunma ve tekerlek etkinliği işleyicilerini `passive` olarak işaretlemeyi değerlendirin. [Pasif etkinlik işleyicileri kullanma hakkında daha fazla bilgi edinin](https://developer.chrome.com/docs/lighthouse/best-practices/uses-passive-event-listeners/)."
844
- },
845
- "core/audits/dobetterweb/uses-passive-event-listeners.js | failureTitle": {
846
- "message": "Kaydırma performansını artırmak için pasif işleyicileri kullanmıyor"
847
- },
848
- "core/audits/dobetterweb/uses-passive-event-listeners.js | title": {
849
- "message": "Kaydırma performansını artırmak için pasif işleyicileri kullanıyor"
850
- },
851
827
  "core/audits/errors-in-console.js | description": {
852
828
  "message": "Konsola kaydedilen hatalar çözülmemiş problemleri belirtir Bunlar, ağ istek hatalarından ve diğer tarayıcı sorunlarından gelebilir. [Konsol teşhis denetlemesindeki hatalar hakkında daha fazla bilgi edinin](https://developer.chrome.com/docs/lighthouse/best-practices/errors-in-console/)."
853
829
  },
@@ -980,9 +956,6 @@
980
956
  "core/audits/metrics/first-contentful-paint.js | description": {
981
957
  "message": "İlk Zengin İçerikli Boyama, ilk metnin veya resmin boyandığı zamanı işaret eder. [İlk zengin içerikli boyama metriği hakkında daha fazla bilgi edinin](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/)."
982
958
  },
983
- "core/audits/metrics/first-meaningful-paint.js | description": {
984
- "message": "İlk Anlamlı Boyama, bir sayfanın ana içeriğinin ne zaman görünür hale geldiğini ölçer. [İlk anlamlı boyama metriği hakkında daha fazla bilgi edinin](https://developer.chrome.com/docs/lighthouse/performance/first-meaningful-paint/)."
985
- },
986
959
  "core/audits/metrics/interaction-to-next-paint.js | description": {
987
960
  "message": "Sonraki Boyamayla Etkileşim, sayfanın tepkisini ve kullanıcı girişine görünür şekilde yanıt vermesinin ne kadar sürdüğünü ölçer. [Sonraki Boyamayla Etkileşim metriği hakkında daha fazla bilgi edinin](https://web.dev/articles/inp)."
988
961
  },
@@ -2726,15 +2699,24 @@
2726
2699
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTC": {
2727
2700
  "message": "WebRTC içeren sayfalar geri-ileri önbelleğe giremez."
2728
2701
  },
2702
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTCUsedWithCCNS": {
2703
+ "message": "WebRTC kullanıldığı için geri-ileri önbellek devre dışı bırakıldı."
2704
+ },
2729
2705
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webShare": {
2730
2706
  "message": "WebShare kullanan sayfalar şu an için geri-ileri önbelleğe alınmaya uygun değildir."
2731
2707
  },
2732
2708
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocket": {
2733
2709
  "message": "WebSocket içeren sayfalar geri-ileri önbelleğe giremez."
2734
2710
  },
2711
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocketUsedWithCCNS": {
2712
+ "message": "WebSocket kullanıldığı için geri-ileri önbellek devre dışı bırakıldı."
2713
+ },
2735
2714
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransport": {
2736
2715
  "message": "WebTransport içeren sayfalar geri-ileri önbelleğe giremez."
2737
2716
  },
2717
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransportUsedWithCCNS": {
2718
+ "message": "WebTransport kullanıldığı için geri-ileri önbellek devre dışı bırakıldı."
2719
+ },
2738
2720
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webXR": {
2739
2721
  "message": "WebXR kullanan sayfalar şu an için geri-ileri önbelleğe alınmaya uygun değildir."
2740
2722
  },
@@ -647,12 +647,6 @@
647
647
  "core/audits/bootup-time.js | title": {
648
648
  "message": "Час виконання JavaScript"
649
649
  },
650
- "core/audits/byte-efficiency/offscreen-images.js | description": {
651
- "message": "Щоб зменшити час до повного завантаження, використовуйте відкладене завантаження закадрових і прихованих зображень. Тоді важливі ресурси сайту завантажуватимуться в першу чергу. [Дізнайтесь, як відкласти завантаження закадрових зображень.](https://developer.chrome.com/docs/lighthouse/performance/offscreen-images/)"
652
- },
653
- "core/audits/byte-efficiency/offscreen-images.js | title": {
654
- "message": "Відкладіть закадрові зображення"
655
- },
656
650
  "core/audits/byte-efficiency/total-byte-weight.js | description": {
657
651
  "message": "Великі обсяги мережевих даних використовують багато коштовного трафіку відвідувачів і довго завантажуються. [Дізнайтесь, як зменшити обсяг даних.](https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/)"
658
652
  },
@@ -812,15 +806,6 @@
812
806
  "core/audits/dobetterweb/js-libraries.js | title": {
813
807
  "message": "Виявлені бібліотеки JavaScript"
814
808
  },
815
- "core/audits/dobetterweb/no-document-write.js | description": {
816
- "message": "Зовнішні скрипти, динамічно вставлені методом `document.write()`, можуть затримувати завантаження сторінки на десятки секунд для користувачів із повільним з’єднанням. [Дізнайтесь, як уникнути використання методу document.write().](https://developer.chrome.com/docs/lighthouse/best-practices/no-document-write/)"
817
- },
818
- "core/audits/dobetterweb/no-document-write.js | failureTitle": {
819
- "message": "Уникайте `document.write()`"
820
- },
821
- "core/audits/dobetterweb/no-document-write.js | title": {
822
- "message": "Уникає `document.write()`"
823
- },
824
809
  "core/audits/dobetterweb/notification-on-start.js | description": {
825
810
  "message": "Сайти, які надсилають запит на показ сповіщень без пояснення, викликають у користувачів недовіру або спантеличеність. Радимо пов’язувати запит із жестами користувача. [Дізнайтесь, як відповідально отримувати дозволи на показ сповіщень.](https://developer.chrome.com/docs/lighthouse/best-practices/notification-on-start/)"
826
811
  },
@@ -839,15 +824,6 @@
839
824
  "core/audits/dobetterweb/paste-preventing-inputs.js | title": {
840
825
  "message": "Дає користувачам змогу вставляти контент із буфера в поля введення"
841
826
  },
842
- "core/audits/dobetterweb/uses-passive-event-listeners.js | description": {
843
- "message": "Щоб сторінка краще прокручувалася, позначте блоки прослуховування подій сенсорного екрана та коліщатка як `passive`. [Дізнайтесь, як використовувати пасивні блоки прослуховування подій.](https://developer.chrome.com/docs/lighthouse/best-practices/uses-passive-event-listeners/)"
844
- },
845
- "core/audits/dobetterweb/uses-passive-event-listeners.js | failureTitle": {
846
- "message": "Не використовує пасивні прослуховувачі, щоб покращити функцію прокручування"
847
- },
848
- "core/audits/dobetterweb/uses-passive-event-listeners.js | title": {
849
- "message": "Використовує пасивні прослуховувачі, щоб покращити прокручування сторінки"
850
- },
851
827
  "core/audits/errors-in-console.js | description": {
852
828
  "message": "Помилки, записані в журнал консолі, указують на невирішені проблеми. Вони можуть бути викликані збоями запитів мережі або іншими проблемами веб-переглядача. [Докладніше про ці помилки під час діагностичної перевірки консолі.](https://developer.chrome.com/docs/lighthouse/best-practices/errors-in-console/)"
853
829
  },
@@ -980,9 +956,6 @@
980
956
  "core/audits/metrics/first-contentful-paint.js | description": {
981
957
  "message": "Перша візуалізація контенту показує, коли з’являється текст чи зображення. [Докладніше про показник \"Перша візуалізація контенту\".](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/)"
982
958
  },
983
- "core/audits/metrics/first-meaningful-paint.js | description": {
984
- "message": "Перше значуще відображення вказує, коли видно основний контент сторінки. [Докладніше про показник \"Перше значуще відображення\".](https://developer.chrome.com/docs/lighthouse/performance/first-meaningful-paint/)"
985
- },
986
959
  "core/audits/metrics/interaction-to-next-paint.js | description": {
987
960
  "message": "Показник Interaction to Next Paint вимірює, наскільки швидко сторінка може відповідати на ввід користувача. [Докладніше про показник Interaction to Next Paint.](https://web.dev/articles/inp)"
988
961
  },
@@ -2726,15 +2699,24 @@
2726
2699
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTC": {
2727
2700
  "message": "Сторінки з WebRTC не можна додавати у зворотний кеш."
2728
2701
  },
2702
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTCUsedWithCCNS": {
2703
+ "message": "Зворотний кеш вимкнено, оскільки використовується WebRTC."
2704
+ },
2729
2705
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webShare": {
2730
2706
  "message": "Сторінки, які використовують WebShare, наразі не підходять для зворотного кешу."
2731
2707
  },
2732
2708
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocket": {
2733
2709
  "message": "Сторінки з WebSocket не можна додавати у зворотний кеш."
2734
2710
  },
2711
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocketUsedWithCCNS": {
2712
+ "message": "Зворотний кеш вимкнено, оскільки використовується WebSocket."
2713
+ },
2735
2714
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransport": {
2736
2715
  "message": "Сторінки з WebTransport не можна додавати у зворотний кеш."
2737
2716
  },
2717
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransportUsedWithCCNS": {
2718
+ "message": "Зворотний кеш вимкнено, оскільки використовується WebTransport."
2719
+ },
2738
2720
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webXR": {
2739
2721
  "message": "Сторінки, які використовують WebXR, наразі не підходять для зворотного кешу."
2740
2722
  },
@@ -647,12 +647,6 @@
647
647
  "core/audits/bootup-time.js | title": {
648
648
  "message": "Thời gian thực thi JavaScript"
649
649
  },
650
- "core/audits/byte-efficiency/offscreen-images.js | description": {
651
- "message": "Hãy cân nhắc tải từng phần các hình ảnh ẩn và nằm ngoài màn hình sau khi tải xong tất cả tài nguyên quan trọng nhằm giảm thời gian tương tác. [Tìm hiểu cách trì hoãn hình ảnh ngoài màn hình](https://developer.chrome.com/docs/lighthouse/performance/offscreen-images/)."
652
- },
653
- "core/audits/byte-efficiency/offscreen-images.js | title": {
654
- "message": "Trì hoãn tải các hình ảnh ngoài màn hình"
655
- },
656
650
  "core/audits/byte-efficiency/total-byte-weight.js | description": {
657
651
  "message": "Tải trọng mạng lớn gây tốn kém cho người dùng và thường khiến thời gian tải kéo dài. [Tìm hiểu cách giảm kích thước tải trọng](https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/)."
658
652
  },
@@ -812,15 +806,6 @@
812
806
  "core/audits/dobetterweb/js-libraries.js | title": {
813
807
  "message": "Thư viện JavaScript phát hiện được"
814
808
  },
815
- "core/audits/dobetterweb/no-document-write.js | description": {
816
- "message": "Đối với những người dùng có kết nối chậm, các tập lệnh bên ngoài tự động được đưa vào qua `document.write()` có thể làm trang tải chậm hàng chục giây. [Tìm hiểu cách tránh document.write()](https://developer.chrome.com/docs/lighthouse/best-practices/no-document-write/)."
817
- },
818
- "core/audits/dobetterweb/no-document-write.js | failureTitle": {
819
- "message": "Tránh `document.write()`"
820
- },
821
- "core/audits/dobetterweb/no-document-write.js | title": {
822
- "message": "Tránh `document.write()`"
823
- },
824
809
  "core/audits/dobetterweb/notification-on-start.js | description": {
825
810
  "message": "Các trang web yêu cầu gửi thông báo không có ngữ cảnh sẽ khiến người dùng không tin tưởng hoặc bối rối. Hãy cân nhắc liên kết yêu cầu với cử chỉ của người dùng. [Tìm hiểu thêm về việc xin cấp quyền gửi thông báo một cách có trách nhiệm](https://developer.chrome.com/docs/lighthouse/best-practices/notification-on-start/)."
826
811
  },
@@ -839,15 +824,6 @@
839
824
  "core/audits/dobetterweb/paste-preventing-inputs.js | title": {
840
825
  "message": "Cho phép người dùng dán nội dung vào các trường nhập dữ liệu"
841
826
  },
842
- "core/audits/dobetterweb/uses-passive-event-listeners.js | description": {
843
- "message": "Hãy cân nhắc đánh dấu trình nghe sự kiện chạm và di chuyển con lăn là `passive` để cải thiện hiệu suất cuộn trên trang. [Tìm hiểu thêm về cách sử dụng trình nghe sự kiện thụ động](https://developer.chrome.com/docs/lighthouse/best-practices/uses-passive-event-listeners/)."
844
- },
845
- "core/audits/dobetterweb/uses-passive-event-listeners.js | failureTitle": {
846
- "message": "Không sử dụng trình nghe bị động để cải thiện hiệu suất cuộn"
847
- },
848
- "core/audits/dobetterweb/uses-passive-event-listeners.js | title": {
849
- "message": "Sử dụng trình nghe bị động để cải thiện hiệu suất cuộn"
850
- },
851
827
  "core/audits/errors-in-console.js | description": {
852
828
  "message": "Các lỗi được ghi vào bảng điều khiển là những sự cố chưa giải quyết. Những sự cố này có thể do lỗi yêu cầu mạng và các vấn đề khác của trình duyệt gây ra. [Tìm hiểu thêm về lỗi này trong thông tin kiểm tra chẩn đoán bảng điều khiển](https://developer.chrome.com/docs/lighthouse/best-practices/errors-in-console/)"
853
829
  },
@@ -980,9 +956,6 @@
980
956
  "core/audits/metrics/first-contentful-paint.js | description": {
981
957
  "message": "Chỉ số Hiển thị nội dung đầu tiên đánh dấu thời điểm hiển thị văn bản hoặc hình ảnh đầu tiên. [Tìm hiểu thêm về chỉ số Hiển thị nội dung đầu tiên](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/)."
982
958
  },
983
- "core/audits/metrics/first-meaningful-paint.js | description": {
984
- "message": "Chỉ số Hiển thị nội dung đầu tiên đo lường thời điểm hiển thị nội dung chính của trang. [Tìm hiểu thêm về chỉ số Hiển thị nội dung đầu tiên](https://developer.chrome.com/docs/lighthouse/performance/first-meaningful-paint/)."
985
- },
986
959
  "core/audits/metrics/interaction-to-next-paint.js | description": {
987
960
  "message": "Hoạt động tương tác với thời gian hiển thị tiếp theo đo lường khả năng phản hồi của trang, thời gian trang cần để phản hồi hoạt động đầu vào của người dùng một cách rõ ràng. [Tìm hiểu thêm về chỉ số Hoạt động tương tác với thời gian hiển thị tiếp theo](https://web.dev/articles/inp)."
988
961
  },
@@ -2726,15 +2699,24 @@
2726
2699
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTC": {
2727
2700
  "message": "Những trang có WebRTC không thể chuyển sang bộ nhớ đệm cho thao tác tiến/lùi."
2728
2701
  },
2702
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTCUsedWithCCNS": {
2703
+ "message": "Bộ nhớ đệm cho thao tác tiến/lùi bị tắt vì WebRTC đã được dùng."
2704
+ },
2729
2705
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webShare": {
2730
2706
  "message": "Những trang sử dụng WebShare hiện không đủ điều kiện dùng bộ nhớ đệm cho thao tác tiến/lùi."
2731
2707
  },
2732
2708
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocket": {
2733
2709
  "message": "Những trang có WebSocket không thể chuyển sang bộ nhớ đệm cho thao tác tiến/lùi."
2734
2710
  },
2711
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocketUsedWithCCNS": {
2712
+ "message": "Bộ nhớ đệm cho thao tác tiến/lùi bị tắt vì WebSocket đã được dùng."
2713
+ },
2735
2714
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransport": {
2736
2715
  "message": "Những trang có WebTransport không thể chuyển sang bộ nhớ đệm cho thao tác tiến/lùi."
2737
2716
  },
2717
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransportUsedWithCCNS": {
2718
+ "message": "Bộ nhớ đệm cho thao tác tiến/lùi bị tắt vì WebTransport đã được dùng."
2719
+ },
2738
2720
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webXR": {
2739
2721
  "message": "Những trang sử dụng WebXR hiện không đủ điều kiện dùng bộ nhớ đệm cho thao tác tiến/lùi."
2740
2722
  },
@@ -647,12 +647,6 @@
647
647
  "core/audits/bootup-time.js | title": {
648
648
  "message": "JavaScript 執行時間"
649
649
  },
650
- "core/audits/byte-efficiency/offscreen-images.js | description": {
651
- "message": "建議在所有重要資源載入完成前,延遲載入螢幕外和隱藏的圖片,以縮短可互動所需時間。[瞭解如何延遲載入螢幕外的圖片](https://developer.chrome.com/docs/lighthouse/performance/offscreen-images/)。"
652
- },
653
- "core/audits/byte-efficiency/offscreen-images.js | title": {
654
- "message": "延遲載入螢幕外圖片"
655
- },
656
650
  "core/audits/byte-efficiency/total-byte-weight.js | description": {
657
651
  "message": "網絡負載過大會造成使用者的費用負擔,且往往與過長載入時間息息相關。[瞭解如何減低負載大小](https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/)。"
658
652
  },
@@ -812,15 +806,6 @@
812
806
  "core/audits/dobetterweb/js-libraries.js | title": {
813
807
  "message": "偵測到的 JavaScript 媒體庫"
814
808
  },
815
- "core/audits/dobetterweb/no-document-write.js | description": {
816
- "message": "對於連線速度較慢的使用者,透過 `document.write()` 動態插入的外部指令碼可能會導致網頁延遲載入數十秒。[瞭解如何避免 document.write()](https://developer.chrome.com/docs/lighthouse/best-practices/no-document-write/)。"
817
- },
818
- "core/audits/dobetterweb/no-document-write.js | failureTitle": {
819
- "message": "避免使用 `document.write()`"
820
- },
821
- "core/audits/dobetterweb/no-document-write.js | title": {
822
- "message": "避免使用 `document.write()`"
823
- },
824
809
  "core/audits/dobetterweb/notification-on-start.js | description": {
825
810
  "message": "如果未提供其他資訊就要求使用者允許網站顯示通知,會讓使用者感到困惑而不信任網站。建議您在使用者操作特定手勢時,再提出這項要求。[進一步瞭解以負責任的方式取得通知權限](https://developer.chrome.com/docs/lighthouse/best-practices/notification-on-start/)。"
826
811
  },
@@ -839,15 +824,6 @@
839
824
  "core/audits/dobetterweb/paste-preventing-inputs.js | title": {
840
825
  "message": "允許使用者貼上至輸入欄位"
841
826
  },
842
- "core/audits/dobetterweb/uses-passive-event-listeners.js | description": {
843
- "message": "建議將輕觸動作和滑鼠滾輪事件監聽器標示為 `passive`,以提升網頁的捲動效能。[進一步瞭解如何採用被動事件監聽器器](https://developer.chrome.com/docs/lighthouse/best-practices/uses-passive-event-listeners/)。"
844
- },
845
- "core/audits/dobetterweb/uses-passive-event-listeners.js | failureTitle": {
846
- "message": "未使用被動事件監聽器來提升捲動效能"
847
- },
848
- "core/audits/dobetterweb/uses-passive-event-listeners.js | title": {
849
- "message": "使用被動活動監聽器來提升捲動效能"
850
- },
851
827
  "core/audits/errors-in-console.js | description": {
852
828
  "message": "如果控制台有錯誤記錄,表示系統仍有問題尚待解決,例如網絡要求錯誤和其他瀏覽器問題。[進一步瞭解在控制台診斷審核中的這些錯誤](https://developer.chrome.com/docs/lighthouse/best-practices/errors-in-console/)"
853
829
  },
@@ -980,9 +956,6 @@
980
956
  "core/audits/metrics/first-contentful-paint.js | description": {
981
957
  "message": "「首次內容繪製時間」標示繪製首個文字/首張圖片的時間。[進一步瞭解「首次內容繪製時間」數據](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/)。"
982
958
  },
983
- "core/audits/metrics/first-meaningful-paint.js | description": {
984
- "message": "「首次有效繪製時間」評估頁面主要內容顯示的時間。[進一步瞭解「首次有效繪製時間」數據](https://developer.chrome.com/docs/lighthouse/performance/first-meaningful-paint/)。"
985
- },
986
959
  "core/audits/metrics/interaction-to-next-paint.js | description": {
987
960
  "message": "「互動至下一個繪製」會測量網頁回應速度,亦即網頁明顯回應使用者輸入內容所需的時間。[進一步瞭解「互動至下一個繪製」數據](https://web.dev/articles/inp)。"
988
961
  },
@@ -2726,15 +2699,24 @@
2726
2699
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTC": {
2727
2700
  "message": "使用 WebRTC 的網頁無法儲存至向前/返回快取。"
2728
2701
  },
2702
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTCUsedWithCCNS": {
2703
+ "message": "由於已使用 WebRTC,因此系統已停用向前/返回快取。"
2704
+ },
2729
2705
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webShare": {
2730
2706
  "message": "使用 WebShare 的網頁目前不符合向前/返回快取的資格。"
2731
2707
  },
2732
2708
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocket": {
2733
2709
  "message": "使用 WebSocket 的網頁無法儲存至向前/返回快取。"
2734
2710
  },
2711
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocketUsedWithCCNS": {
2712
+ "message": "由於已使用 WebSocket,因此系統已停用向前/返回快取。"
2713
+ },
2735
2714
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransport": {
2736
2715
  "message": "使用 WebTransport 的網頁無法儲存至向前/返回快取。"
2737
2716
  },
2717
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransportUsedWithCCNS": {
2718
+ "message": "由於已使用 WebTransport,因此系統已停用向前/返回快取。"
2719
+ },
2738
2720
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webXR": {
2739
2721
  "message": "使用 WebXR 的網頁目前不符合向前/返回快取的資格。"
2740
2722
  },
@@ -647,12 +647,6 @@
647
647
  "core/audits/bootup-time.js | title": {
648
648
  "message": "JavaScript 執行時間"
649
649
  },
650
- "core/audits/byte-efficiency/offscreen-images.js | description": {
651
- "message": "建議在所有重要資源載入完成之前,延遲載入畫面外圖片和隱藏項目,以縮短互動準備時間。[瞭解如何延遲載入畫面外圖片](https://developer.chrome.com/docs/lighthouse/performance/offscreen-images/)。"
652
- },
653
- "core/audits/byte-efficiency/offscreen-images.js | title": {
654
- "message": "延後載入畫面外圖片"
655
- },
656
650
  "core/audits/byte-efficiency/total-byte-weight.js | description": {
657
651
  "message": "大量的網路酬載會增加使用者的費用負擔,而且往往會延長網頁載入時間。[瞭解如何減少酬載大小](https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/)。"
658
652
  },
@@ -812,15 +806,6 @@
812
806
  "core/audits/dobetterweb/js-libraries.js | title": {
813
807
  "message": "偵測到 JavaScript 程式庫"
814
808
  },
815
- "core/audits/dobetterweb/no-document-write.js | description": {
816
- "message": "對於連線速度較慢的使用者,透過 `document.write()` 動態插入的外部指令碼可能會導致網頁延遲數十秒載入。[瞭解如何避免 document.write()](https://developer.chrome.com/docs/lighthouse/best-practices/no-document-write/)。"
817
- },
818
- "core/audits/dobetterweb/no-document-write.js | failureTitle": {
819
- "message": "避免使用 `document.write()`"
820
- },
821
- "core/audits/dobetterweb/no-document-write.js | title": {
822
- "message": "避免使用 `document.write()`"
823
- },
824
809
  "core/audits/dobetterweb/notification-on-start.js | description": {
825
810
  "message": "如果未提供其他資訊就要求使用者允許網站顯示通知,會讓使用者感到困惑或不信任網站。建議你在使用者操作特定手勢時,再提出這項要求。[進一步瞭解以負責任的方式取得通知權限](https://developer.chrome.com/docs/lighthouse/best-practices/notification-on-start/)。"
826
811
  },
@@ -839,15 +824,6 @@
839
824
  "core/audits/dobetterweb/paste-preventing-inputs.js | title": {
840
825
  "message": "允許使用者將內容貼到輸入欄位"
841
826
  },
842
- "core/audits/dobetterweb/uses-passive-event-listeners.js | description": {
843
- "message": "建議將輕觸動作和滑鼠滾輪事件監聽器標示為 `passive`,以提升網頁的捲動效能。[進一步瞭解如何採用被動事件監聽器](https://developer.chrome.com/docs/lighthouse/best-practices/uses-passive-event-listeners/)。"
844
- },
845
- "core/audits/dobetterweb/uses-passive-event-listeners.js | failureTitle": {
846
- "message": "未使用被動事件監聽器來提升捲動效能"
847
- },
848
- "core/audits/dobetterweb/uses-passive-event-listeners.js | title": {
849
- "message": "使用被動事件監聽器來提升捲動效能"
850
- },
851
827
  "core/audits/errors-in-console.js | description": {
852
828
  "message": "如果主控台有錯誤記錄,表示系統有問題尚待解決,例如網路要求錯誤和其他瀏覽器問題。[進一步瞭解主控台診斷稽核中的這些錯誤](https://developer.chrome.com/docs/lighthouse/best-practices/errors-in-console/)"
853
829
  },
@@ -980,9 +956,6 @@
980
956
  "core/audits/metrics/first-contentful-paint.js | description": {
981
957
  "message": "首次顯示內容所需時間是指瀏覽器首次顯示文字或圖片的時間。[進一步瞭解「首次顯示內容所需時間」指標](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/)。"
982
958
  },
983
- "core/audits/metrics/first-meaningful-paint.js | description": {
984
- "message": "畫面首次有效顯示所需時間是指網頁顯示主要內容的時間。[進一步瞭解「畫面首次有效顯示所需時間」指標](https://developer.chrome.com/docs/lighthouse/performance/first-meaningful-paint/)。"
985
- },
986
959
  "core/audits/metrics/interaction-to-next-paint.js | description": {
987
960
  "message": "「與下一個顯示的內容互動」指標的用途是測量網頁回應,也就是網頁明顯回應使用者輸入內容所需的時間。[進一步瞭解「與下一個顯示的內容互動」指標](https://web.dev/articles/inp)。"
988
961
  },
@@ -2346,7 +2319,7 @@
2346
2319
  "message": "CSS 選取器成本"
2347
2320
  },
2348
2321
  "node_modules/@paulirish/trace_engine/models/trace/insights/SlowCSSSelector.js | topSelectorElapsedTime": {
2349
- "message": "最耗費時間的選取器"
2322
+ "message": "最耗時的選取器"
2350
2323
  },
2351
2324
  "node_modules/@paulirish/trace_engine/models/trace/insights/SlowCSSSelector.js | topSelectorMatchAttempt": {
2352
2325
  "message": "最常嘗試比對的選取器"
@@ -2726,15 +2699,24 @@
2726
2699
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTC": {
2727
2700
  "message": "使用 WebRTC 的網頁無法儲存至往返快取。"
2728
2701
  },
2702
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTCUsedWithCCNS": {
2703
+ "message": "已使用 WebRTC,因此停用往返快取功能。"
2704
+ },
2729
2705
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webShare": {
2730
2706
  "message": "使用 WebShare 的網頁目前不適用往返快取。"
2731
2707
  },
2732
2708
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocket": {
2733
2709
  "message": "使用 WebSocket 的網頁無法儲存至往返快取。"
2734
2710
  },
2711
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocketUsedWithCCNS": {
2712
+ "message": "已使用 WebSocket,因此停用往返快取功能。"
2713
+ },
2735
2714
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransport": {
2736
2715
  "message": "使用 WebTransport 的網頁無法儲存至往返快取。"
2737
2716
  },
2717
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransportUsedWithCCNS": {
2718
+ "message": "已使用 WebTransport,因此停用往返快取功能。"
2719
+ },
2738
2720
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webXR": {
2739
2721
  "message": "使用 WebXR 的網頁目前不適用往返快取。"
2740
2722
  },
@@ -647,12 +647,6 @@
647
647
  "core/audits/bootup-time.js | title": {
648
648
  "message": "JavaScript 执行用时"
649
649
  },
650
- "core/audits/byte-efficiency/offscreen-images.js | description": {
651
- "message": "建议您在所有关键资源加载完毕后再加载屏幕外图片和处于隐藏状态的图片,从而缩短 Time to Interactive。[了解如何推迟加载屏幕外图片](https://developer.chrome.com/docs/lighthouse/performance/offscreen-images/)。"
652
- },
653
- "core/audits/byte-efficiency/offscreen-images.js | title": {
654
- "message": "推迟加载屏幕外图片"
655
- },
656
650
  "core/audits/byte-efficiency/total-byte-weight.js | description": {
657
651
  "message": "网络载荷过大不仅会让用户付出真金白银,还极有可能会延长加载用时。[了解如何缩减载荷大小](https://developer.chrome.com/docs/lighthouse/performance/total-byte-weight/)。"
658
652
  },
@@ -812,15 +806,6 @@
812
806
  "core/audits/dobetterweb/js-libraries.js | title": {
813
807
  "message": "已检测到的 JavaScript 库"
814
808
  },
815
- "core/audits/dobetterweb/no-document-write.js | description": {
816
- "message": "对于连接速度较慢的用户,通过 `document.write()` 动态注入的外部脚本可将网页加载延迟数十秒。[了解如何避免使用 document.write()](https://developer.chrome.com/docs/lighthouse/best-practices/no-document-write/)。"
817
- },
818
- "core/audits/dobetterweb/no-document-write.js | failureTitle": {
819
- "message": "避免使用 `document.write()`"
820
- },
821
- "core/audits/dobetterweb/no-document-write.js | title": {
822
- "message": "请勿使用 `document.write()`"
823
- },
824
809
  "core/audits/dobetterweb/notification-on-start.js | description": {
825
810
  "message": "如果网站在缺少上下文的情况下请求发送通知,会导致用户不信任网站或感到困惑。建议将请求与用户手势进行绑定。[详细了解如何以负责任的方式获取通知权限](https://developer.chrome.com/docs/lighthouse/best-practices/notification-on-start/)。"
826
811
  },
@@ -839,15 +824,6 @@
839
824
  "core/audits/dobetterweb/paste-preventing-inputs.js | title": {
840
825
  "message": "允许用户将内容粘贴到输入字段中"
841
826
  },
842
- "core/audits/dobetterweb/uses-passive-event-listeners.js | description": {
843
- "message": "建议您将轻触和滚轮事件监听器标记为 `passive`,以提高页面的滚动性能。[详细了解如何采用被动事件监听器](https://developer.chrome.com/docs/lighthouse/best-practices/uses-passive-event-listeners/)。"
844
- },
845
- "core/audits/dobetterweb/uses-passive-event-listeners.js | failureTitle": {
846
- "message": "未使用被动式监听器来提高滚动性能"
847
- },
848
- "core/audits/dobetterweb/uses-passive-event-listeners.js | title": {
849
- "message": "使用被动式监听器来提高滚动性能"
850
- },
851
827
  "core/audits/errors-in-console.js | description": {
852
828
  "message": "控制台中记录的错误表明有未解决的问题。这些问题的起因可能是网络请求失败和其他浏览器问题。[在控制台诊断审核中详细了解此错误](https://developer.chrome.com/docs/lighthouse/best-practices/errors-in-console/)"
853
829
  },
@@ -980,9 +956,6 @@
980
956
  "core/audits/metrics/first-contentful-paint.js | description": {
981
957
  "message": "First Contentful Paint 标记了绘制出首个文本或首张图片的时间。[详细了解 First Contentful Paint 指标](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/)。"
982
958
  },
983
- "core/audits/metrics/first-meaningful-paint.js | description": {
984
- "message": "“首次有效绘制时间”测量的是网页主要内容开始对用户显示的时间。[详细了解“首次有效绘制时间”指标](https://developer.chrome.com/docs/lighthouse/performance/first-meaningful-paint/)。"
985
- },
986
959
  "core/audits/metrics/interaction-to-next-paint.js | description": {
987
960
  "message": "Interaction to Next Paint 用于衡量网页响应速度,即网页需要多久才会明显响应用户输入。[详细了解 Interaction to Next Paint 指标](https://web.dev/articles/inp)。"
988
961
  },
@@ -2726,15 +2699,24 @@
2726
2699
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTC": {
2727
2700
  "message": "使用 WebRTC 的网页无法储存至往返缓存。"
2728
2701
  },
2702
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webRTCUsedWithCCNS": {
2703
+ "message": "往返缓存已被停用,因为使用了 WebRTC。"
2704
+ },
2729
2705
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webShare": {
2730
2706
  "message": "使用 Webshare 的网页目前无法储存至往返缓存。"
2731
2707
  },
2732
2708
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocket": {
2733
2709
  "message": "使用 WebSocket 的网页无法储存至往返缓存。"
2734
2710
  },
2711
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webSocketUsedWithCCNS": {
2712
+ "message": "往返缓存已被停用,因为使用了 WebSocket。"
2713
+ },
2735
2714
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransport": {
2736
2715
  "message": "使用 WebTransport 的网页无法储存至往返缓存。"
2737
2716
  },
2717
+ "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webTransportUsedWithCCNS": {
2718
+ "message": "往返缓存已被停用,因为使用了 WebTransport。"
2719
+ },
2738
2720
  "node_modules/@paulirish/trace_engine/panels/application/components/BackForwardCacheStrings.js | webXR": {
2739
2721
  "message": "使用 WebXR 的网页目前无法储存至往返缓存。"
2740
2722
  },
package/tsconfig.json CHANGED
@@ -44,11 +44,8 @@
44
44
  "core/test/config/default-config-test.js",
45
45
  "core/test/gather/driver/wait-for-condition-test.js",
46
46
  "core/test/gather/gatherers/accessibility-test.js",
47
- "core/test/gather/gatherers/cache-contents-test.js",
48
47
  "core/test/gather/gatherers/console-messages-test.js",
49
48
  "core/test/gather/gatherers/devtools-log-test.js",
50
- "core/test/gather/gatherers/dobetterweb/optimized-images-test.js",
51
- "core/test/gather/gatherers/dobetterweb/response-compression-test.js",
52
49
  "core/test/gather/gatherers/full-page-screenshot-test.js",
53
50
  "core/test/gather/gatherers/global-listeners-test.js",
54
51
  "core/test/gather/gatherers/html-without-javascript-test.js",
@@ -107,8 +107,6 @@ export interface GathererArtifacts extends PublicGathererArtifacts {
107
107
  AnchorElements: Artifacts.AnchorElement[];
108
108
  /** Errors when attempting to use the back/forward cache. */
109
109
  BFCacheFailures: Artifacts.BFCacheFailure[];
110
- /** Array of all URLs cached in CacheStorage. */
111
- CacheContents: string[];
112
110
  /** CSS coverage information for styles used by page's final state. */
113
111
  CSSUsage: Crdp.CSS.RuleUsage[];
114
112
  /** The log of devtools protocol activity if there was a page load error and Chrome navigated to a `chrome-error://` page. */
@@ -116,8 +114,6 @@ export interface GathererArtifacts extends PublicGathererArtifacts {
116
114
  /** Information on the document's doctype(or null if not present), specifically the name, publicId, and systemId.
117
115
  All properties default to an empty string if not present */
118
116
  Doctype: Artifacts.Doctype | null;
119
- /** Information on the size of all DOM nodes in the page and the most extreme members. */
120
- DOMStats: Artifacts.DOMStats;
121
117
  /** All the iframe elements in the page. */
122
118
  IFrameElements: Artifacts.IFrameElement[];
123
119
  /** All the input elements, including associated form and label elements. */
@@ -131,10 +127,6 @@ export interface GathererArtifacts extends PublicGathererArtifacts {
131
127
  JsUsage: Record<string, Omit<Crdp.Profiler.ScriptCoverage, 'url'>>;
132
128
  /** The user agent string that Lighthouse used to load the page. Set to the empty string if unknown. */
133
129
  NetworkUserAgent: string;
134
- /** Size and compression opportunity information for all the images in the page. */
135
- OptimizedImages: Array<Artifacts.OptimizedImage | Artifacts.OptimizedImageError>;
136
- /** Size info of all network records sent without compression and their size after gzipping. */
137
- ResponseCompression: {requestId: string, url: string, mimeType: string, transferSize: number, resourceSize: number, gzipSize?: number}[];
138
130
  /** Information on fetching and the content of the /robots.txt file. */
139
131
  RobotsTxt: {status: number|null, content: string|null, errorMessage?: string};
140
132
  /** Source maps of scripts executed in the page. */
@@ -224,13 +216,6 @@ declare module Artifacts {
224
216
  documentCompatMode: string;
225
217
  }
226
218
 
227
- interface DOMStats {
228
- /** The total number of elements found within the page's body. */
229
- totalBodyElements: number;
230
- width: NodeDetails & {max: number;};
231
- depth: NodeDetails & {max: number;};
232
- }
233
-
234
219
  interface IFrameElement {
235
220
  /** The `id` attribute of the iframe. */
236
221
  id: string,
@@ -363,9 +348,6 @@ declare module Artifacts {
363
348
  listeners?: Array<{
364
349
  type: Crdp.DOMDebugger.EventListener['type']
365
350
  }>
366
- ancestorListeners?: Array<{
367
- type: Crdp.DOMDebugger.EventListener['type']
368
- }>
369
351
  }
370
352
 
371
353
  type BFCacheReasonMap = {
@@ -446,30 +428,8 @@ declare module Artifacts {
446
428
  fetchPriority?: string;
447
429
  }
448
430
 
449
- interface OptimizedImage {
450
- failed: false;
451
- originalSize: number;
452
- jpegSize?: number;
453
- webpSize?: number;
454
-
455
- requestId: string;
456
- url: string;
457
- mimeType: string;
458
- resourceSize: number;
459
- }
460
-
461
- interface OptimizedImageError {
462
- failed: true;
463
- errMsg: string;
464
-
465
- requestId: string;
466
- url: string;
467
- mimeType: string;
468
- resourceSize: number;
469
- }
470
-
471
431
  interface TraceElement {
472
- traceEventType: 'trace-engine'|'largest-contentful-paint'|'layout-shift'|'animation'|'responsiveness';
432
+ traceEventType: 'trace-engine'|'layout-shift'|'animation';
473
433
  node: NodeDetails;
474
434
  nodeId: number;
475
435
  animations?: {name?: string, failureReasonsMask?: number, unsupportedProperties?: string[]}[];
@@ -639,8 +599,9 @@ declare module Artifacts {
639
599
  largestContentfulPaintAllFramesTs: number | undefined;
640
600
  timeToFirstByte: number | undefined;
641
601
  timeToFirstByteTs: number | undefined;
642
- lcpLoadStart: number | undefined;
643
- lcpLoadEnd: number | undefined;
602
+ lcpLoadDelay: number | undefined;
603
+ lcpLoadDuration: number | undefined;
604
+ lcpRenderDelay: number | undefined;
644
605
  interactive: number | undefined;
645
606
  interactiveTs: number | undefined;
646
607
  speedIndex: number | undefined;