lighthouse 9.5.0-dev.20230130 → 9.5.0-dev.20230201
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.
- package/core/audits/byte-efficiency/offscreen-images.js +1 -1
- package/core/audits/critical-request-chains.d.ts +6 -6
- package/core/audits/critical-request-chains.js +15 -15
- package/core/audits/dobetterweb/doctype.js +4 -4
- package/core/audits/dobetterweb/{password-inputs-can-be-pasted-into.d.ts → paste-preventing-inputs.d.ts} +3 -3
- package/core/audits/dobetterweb/{password-inputs-can-be-pasted-into.js → paste-preventing-inputs.js} +17 -15
- package/core/audits/font-display.js +1 -1
- package/core/audits/network-requests.js +4 -4
- package/core/audits/redirects.js +2 -1
- package/core/audits/uses-rel-preconnect.js +5 -4
- package/core/config/default-config.js +2 -4
- package/core/gather/driver/network-monitor.js +2 -2
- package/core/gather/gatherers/dobetterweb/tags-blocking-first-paint.js +4 -4
- package/core/gather/gatherers/inputs.js +6 -0
- package/core/legacy/config/legacy-default-config.js +0 -1
- package/core/lib/bf-cache-strings.js +1 -1
- package/core/lib/dependency-graph/network-node.js +2 -2
- package/core/lib/dependency-graph/simulator/network-analyzer.js +8 -6
- package/core/lib/lighthouse-compatibility.d.ts +8 -0
- package/core/lib/lighthouse-compatibility.js +139 -0
- package/core/lib/navigation-error.js +3 -1
- package/core/lib/network-recorder.js +1 -1
- package/core/lib/network-request.d.ts +7 -7
- package/core/lib/network-request.js +26 -27
- package/core/runner.d.ts +1 -6
- package/core/runner.js +9 -20
- package/dist/report/bundle.esm.js +145 -129
- package/dist/report/flow.js +19 -13
- package/dist/report/standalone.js +10 -4
- package/package.json +1 -1
- package/report/assets/styles.css +1 -1
- package/report/renderer/components.js +1 -1
- package/report/renderer/i18n-formatter.js +1 -1
- package/report/renderer/report-ui-features.js +1 -1
- package/report/renderer/report-utils.d.ts +4 -4
- package/report/renderer/report-utils.js +13 -130
- package/report/test/renderer/report-ui-features-test.js +20 -31
- package/report/test/renderer/report-utils-test.js +0 -170
- package/report/tsconfig.json +1 -0
- package/shared/localization/locales/ar-XB.json +0 -9
- package/shared/localization/locales/ar.json +0 -9
- package/shared/localization/locales/bg.json +0 -9
- package/shared/localization/locales/ca.json +0 -9
- package/shared/localization/locales/cs.json +0 -9
- package/shared/localization/locales/da.json +0 -9
- package/shared/localization/locales/de.json +0 -9
- package/shared/localization/locales/el.json +0 -9
- package/shared/localization/locales/en-GB.json +0 -9
- package/shared/localization/locales/en-US.json +9 -9
- package/shared/localization/locales/en-XA.json +0 -9
- package/shared/localization/locales/en-XL.json +9 -9
- package/shared/localization/locales/es-419.json +0 -9
- package/shared/localization/locales/es.json +0 -9
- package/shared/localization/locales/fi.json +0 -9
- package/shared/localization/locales/fil.json +0 -9
- package/shared/localization/locales/fr.json +0 -9
- package/shared/localization/locales/he.json +0 -9
- package/shared/localization/locales/hi.json +0 -9
- package/shared/localization/locales/hr.json +0 -9
- package/shared/localization/locales/hu.json +0 -9
- package/shared/localization/locales/id.json +0 -9
- package/shared/localization/locales/it.json +0 -9
- package/shared/localization/locales/ja.json +0 -9
- package/shared/localization/locales/ko.json +0 -9
- package/shared/localization/locales/lt.json +0 -9
- package/shared/localization/locales/lv.json +0 -9
- package/shared/localization/locales/nl.json +0 -9
- package/shared/localization/locales/no.json +0 -9
- package/shared/localization/locales/pl.json +0 -9
- package/shared/localization/locales/pt-PT.json +0 -9
- package/shared/localization/locales/pt.json +0 -9
- package/shared/localization/locales/ro.json +0 -9
- package/shared/localization/locales/ru.json +0 -9
- package/shared/localization/locales/sk.json +0 -9
- package/shared/localization/locales/sl.json +0 -9
- package/shared/localization/locales/sr-Latn.json +0 -9
- package/shared/localization/locales/sr.json +0 -9
- package/shared/localization/locales/sv.json +0 -9
- package/shared/localization/locales/ta.json +0 -9
- package/shared/localization/locales/te.json +0 -9
- package/shared/localization/locales/th.json +0 -9
- package/shared/localization/locales/tr.json +0 -9
- package/shared/localization/locales/uk.json +0 -9
- package/shared/localization/locales/vi.json +0 -9
- package/shared/localization/locales/zh-HK.json +0 -9
- package/shared/localization/locales/zh-TW.json +0 -9
- package/shared/localization/locales/zh.json +0 -9
- package/tsconfig.json +1 -1
- package/types/artifacts.d.ts +2 -5
- package/types/lhr/lhr.d.ts +3 -11
- package/core/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste.d.ts +0 -10
- package/core/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste.js +0 -49
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Menghindari meminta izin notifikasi pada pemuatan halaman"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Mencegah menempelkan sandi akan merusak kebijakan keamanan yang baik. [Pelajari lebih lanjut](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Mencegah pengguna menempelkan sesuatu ke kolom sandi."
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Mengizinkan pengguna menempelkan sesuatu ke kolom sandi"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokol"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Evita di chiedere l'autorizzazione di accesso alle notifiche durante il caricamento della pagina"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Impedire di incollare le password pregiudica l'efficacia delle norme di sicurezza. [Ulteriori informazioni](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Impedisce agli utenti di incollare contenuti nei campi delle password"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Consente agli utenti di incollare contenuti nei campi delle password"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protocollo"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "ページの読み込み時に通知の許可はリクエストされません"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "パスワードの貼り付けを禁止すると、良好なセキュリティ ポリシーが損なわれます。[詳細](https://web.dev/password-inputs-can-be-pasted-into/)"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "ユーザーはパスワード欄に貼り付けできません"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "ユーザーはパスワード欄に貼り付けできます"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "プロトコル"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "페이지 로드 시 알림 권한 요청 방지하기"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "비밀번호 붙여넣기 방지로 인해 타당한 보안 정책이 저해됩니다. [자세히 알아보기](https://web.dev/password-inputs-can-be-pasted-into/)"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "사용자가 비밀번호 입력란에 내용을 붙여넣지 못하도록 차단"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "사용자가 비밀번호 입력란에 붙여넣을 수 있도록 허용"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "프로토콜"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Įkeliant puslapį vengiama pateikti užklausą dėl pranešimų leidimo"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Neleidžiant įklijuoti slaptažodžių, pažeidžiama tinkamos saugos politika. [Sužinokite daugiau](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Naudotojams neleidžiama įklijuoti teksto į slaptažodžių laukus"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Naudotojams leidžiama įklijuoti tekstą į slaptažodžių laukus"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokolas"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Netiek pieprasīta paziņojumu atļauja lapas ielādei"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Paroles ielīmēšanas novēršana neatbilst labai drošības politikai. [Uzziniet vairāk](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Neļauj lietotājiem ielīmēt paroles laukos"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Ļauj lietotājiem ielīmēt paroles laukos"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokols"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Vermijdt verzoeken om de meldingsrechten bij laden van pagina"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Verhindering van het plakken van wachtwoorden ondermijnt een goed beveiligingsbeleid. [Meer informatie](https://web.dev/password-inputs-can-be-pasted-into/)"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Voorkomt dat gebruikers kunnen plakken in wachtwoordvelden"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Laat gebruikers plakken in wachtwoordvelden"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protocol"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Unngår å spørre om varseltillatelsen ved sideinnlasting"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Å hindre brukere i å lime inn passord underminerer gode retningslinjer for sikkerhet. [Finn ut mer](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Forhindrer brukere fra å lime inn i passordfelt"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Brukerne kan lime inn i passordfelt"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokoll"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Nie pyta o zgodę na wyświetlanie powiadomień podczas wczytywania strony"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Uniemożliwianie wklejania haseł jest sprzeczne z dobrymi zasadami bezpieczeństwa. [Więcej informacji](https://web.dev/password-inputs-can-be-pasted-into/)"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Uniemożliwia wklejanie tekstu w polach haseł"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Pozwala wklejać tekst w polach haseł"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokół"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Evita a solicitação da autorização de notificações no carregamento da página"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Impedir a colagem de palavras-passe compromete o cumprimento de uma política de segurança adequada. [Saiba mais](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Impede que os utilizadores colem conteúdo nos campos de palavra-passe"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Permite que os utilizadores colem nos campos de palavra-passe"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protocolo"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Evita o pedido da permissão de notificação no carregamento de página"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Impedir a colagem da senha prejudica a política de boa segurança. [Saiba mais](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Evita que o usuário cole nos campos de senha"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Permite que o usuário cole nos campos de senha"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protocolo"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Evită solicitarea permisiunii de notificare la încărcarea paginii"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Împiedicarea inserării parolelor subminează buna politică de securitate. [Află mai multe](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Împiedică utilizatorii să insereze în câmpurile pentru parole"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Permite-le utilizatorilor să insereze în câmpurile pentru parole"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protocol"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Разрешение на отправку уведомлений не запрашивается при загрузке страницы"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Запрет на вставку пароля из буфера обмена отрицательно сказывается на безопасности пользователей. [Подробнее…](https://web.dev/password-inputs-can-be-pasted-into/)"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Вставка пароля из буфера обмена запрещена"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Вставка пароля из буфера обмена разрешена"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Протокол"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Nepožaduje povolenie na upozornenie pri načítaní stránky"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Ak zakážete prilepovanie hesiel, zhoršíte kvalitu zabezpečenia. [Ďalšie informácie](https://web.dev/password-inputs-can-be-pasted-into/)"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Zabráňte používateľom prilepovať do polí pre heslá"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Umožnite používateľom prilepovať do polí pre heslá"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokol"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Ne zahteva dovoljenja za obvestila pri nalaganju strani"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Preprečevanje lepljenja gesel omeji dober pravilnik o varnosti. [Več o tem](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Uporabnikom preprečuje lepljenje v polja za gesla"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Uporabnikom omogoča lepljenje v polja za gesla"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokol"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Izbegavajte traženje dozvole za obaveštenja pri učitavanju stranice"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Sprečavanje lepljenja lozinke narušava dobre smernice za bezbednost. [Saznajte više](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Sprečava korisnike da nalepe vrednost u polja za lozinke"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Dozvoljava korisnicima da nalepe vrednost u polja za lozinke"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokol"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Избегавајте тражење дозволе за обавештења при учитавању странице"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Спречавање лепљења лозинке нарушава добре смернице за безбедност. [Сазнајте више](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Спречава кориснике да налепе вредност у поља за лозинке"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Дозвољава корисницима да налепе вредност у поља за лозинке"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Протокол"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Undviker att begära aviseringsbehörighet vid sidinläsning"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Att förhindra att lösenord klistras in underminerar en bra säkerhetspolicy. [Läs mer](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Användarna tillåts inte att klistra in i lösenordsfält"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Användarna tillåts klistra in i lösenordsfält"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokoll"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "பக்கம் ஏற்றப்படும்போது அதுகுறித்த அறிவிப்பைத் தெரிந்துகொள்வதற்கான அனுமதியைக் கோராது"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "கடவுச்சொல்லை ஒட்டுவதைத் தடுப்பதால் நல்ல பாதுகாப்புக் கொள்கை பாதிக்கப்படுகிறது. [மேலும் அறிக](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "கடவுச்சொல் புலங்களில் பயனர்கள் ஒட்டுவதைத் தடுக்கும்"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "கடவுச்சொல் புலங்களில் பயனர்கள் ஒட்டுவதை அனுமதிக்கும்"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "நெறிமுறை"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "పేజీ లోడ్ సమయంలో నోటిఫికేషన్ అనుమతిని అభ్యర్థించడం నివారిస్తుంది"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "పాస్వర్డ్లో అతికించే చర్యను నిరోధించడం వలన మంచి భద్రతా విధానానికి ఆటంకం ఏర్పడుతుంది. [మరింత తెలుసుకోండి](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "పాస్వర్డ్ ఫీల్డ్లలో అతికించడం చేయలేకుండా వినియోగదారులను నిరోధిస్తుంది"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "పాస్వర్డ్ ఫీల్డ్లలో అతికించడానికి వినియోగదారులను అనుమతిస్తుంది"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "ప్రోటోకాల్"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "หลีกเลี่ยงการขอสิทธิ์การแจ้งเตือนในการโหลดหน้าเว็บ"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "การป้องกันการวางรหัสผ่านทำให้นโยบายความปลอดภัยที่ดีอ่อนแอลง [ดูข้อมูลเพิ่มเติม](https://web.dev/password-inputs-can-be-pasted-into/)"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "ป้องกันผู้ใช้ไม่ให้วางรหัสผ่านในช่อง"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "อนุญาตผู้ใช้ให้วางรหัสผ่านในช่องได้"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "โปรโตคอล"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Sayfa yüklemede bildirim izni istemiyor"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Şifre yapıştırmanın engellenmesi, iyi güvenlik politikasına zarar verir. [Daha fazla bilgi](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Kullanıcıların şifre alanlarına yapıştırmalarını önler"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Kullanıcıların şifre alanlarına yapıştırmalarına izin verir"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Protokol"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Уникає надсилання запитів на показ сповіщень під час завантаження сторінки"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Якщо заборонити вставляти пароль, це порушить правила щодо високого рівня безпеки. [Докладніше](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Не дозволяє користувачам вставляти вміст у поля паролів"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Дає змогу користувачам вставляти вміст у поля паролів"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Протокол"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "Tránh yêu cầu quyền truy cập thông báo khi tải trang"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "Việc ngăn dán mật khẩu sẽ làm giảm tác dụng của chính sách bảo mật hiệu quả. [Tìm hiểu thêm](https://web.dev/password-inputs-can-be-pasted-into/)."
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "Ngăn người dùng dán vào các trường mật khẩu"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "Cho phép người dùng dán vào các trường mật khẩu"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "Giao thức"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "避免在載入網頁時要求使用者允許網站顯示通知"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "禁止貼上密碼會對安全政策造成不良影響。[瞭解詳情](https://web.dev/password-inputs-can-be-pasted-into/)。"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "禁止使用者貼到密碼欄位"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "允許使用者貼到密碼欄位"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "通訊協定"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "避免在載入網頁時要求使用者允許網站顯示通知"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "禁止貼上密碼會對安全性政策造成不良影響[瞭解詳情](https://web.dev/password-inputs-can-be-pasted-into/)。"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "禁止使用者貼到密碼欄位"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "允許使用者貼到密碼欄位"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "通訊協定"
|
|
877
868
|
},
|
|
@@ -863,15 +863,6 @@
|
|
|
863
863
|
"core/audits/dobetterweb/notification-on-start.js | title": {
|
|
864
864
|
"message": "避免在网页加载时请求通知权限"
|
|
865
865
|
},
|
|
866
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | description": {
|
|
867
|
-
"message": "阻止密码粘贴,会破坏良好的安全政策。[了解详情](https://web.dev/password-inputs-can-be-pasted-into/)。"
|
|
868
|
-
},
|
|
869
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | failureTitle": {
|
|
870
|
-
"message": "不允许用户粘贴内容到密码字段"
|
|
871
|
-
},
|
|
872
|
-
"core/audits/dobetterweb/password-inputs-can-be-pasted-into.js | title": {
|
|
873
|
-
"message": "允许用户粘贴内容到密码字段"
|
|
874
|
-
},
|
|
875
866
|
"core/audits/dobetterweb/uses-http2.js | columnProtocol": {
|
|
876
867
|
"message": "协议"
|
|
877
868
|
},
|
package/tsconfig.json
CHANGED
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
"core/test/gather/gatherers/console-messages-test.js",
|
|
49
49
|
"core/test/gather/gatherers/devtools-log-test.js",
|
|
50
50
|
"core/test/gather/gatherers/dobetterweb/optimized-images-test.js",
|
|
51
|
-
"core/test/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste-test.js",
|
|
52
51
|
"core/test/gather/gatherers/dobetterweb/response-compression-test.js",
|
|
53
52
|
"core/test/gather/gatherers/dobetterweb/tags-blocking-first-paint-test.js",
|
|
54
53
|
"core/test/gather/gatherers/full-page-screenshot-test.js",
|
|
@@ -77,6 +76,7 @@
|
|
|
77
76
|
"core/test/lib/i18n/i18n-test.js",
|
|
78
77
|
"core/test/lib/icons-test.js",
|
|
79
78
|
"core/test/lib/lh-element-test.js",
|
|
79
|
+
"core/test/lib/lighthouse-compatibility-test.js",
|
|
80
80
|
"core/test/lib/manifest-parser-test.js",
|
|
81
81
|
"core/test/lib/median-run-test.js",
|
|
82
82
|
"core/test/lib/minification-estimator-test.js",
|
package/types/artifacts.d.ts
CHANGED
|
@@ -159,8 +159,6 @@ export interface GathererArtifacts extends PublicGathererArtifacts,LegacyBaseArt
|
|
|
159
159
|
MixedContent: {url: string};
|
|
160
160
|
/** Size and compression opportunity information for all the images in the page. */
|
|
161
161
|
OptimizedImages: Array<Artifacts.OptimizedImage | Artifacts.OptimizedImageError>;
|
|
162
|
-
/** HTML snippets and node paths from any password inputs that prevent pasting. */
|
|
163
|
-
PasswordInputsWithPreventedPaste: Artifacts.PasswordInputsWithPreventedPaste[];
|
|
164
162
|
/** Size info of all network records sent without compression and their size after gzipping. */
|
|
165
163
|
ResponseCompression: {requestId: string, url: string, mimeType: string, transferSize: number, resourceSize: number, gzipSize?: number}[];
|
|
166
164
|
/** Information on fetching and the content of the /robots.txt file. */
|
|
@@ -312,8 +310,6 @@ declare module Artifacts {
|
|
|
312
310
|
node: NodeDetails | null
|
|
313
311
|
}
|
|
314
312
|
|
|
315
|
-
interface PasswordInputsWithPreventedPaste {node: NodeDetails}
|
|
316
|
-
|
|
317
313
|
interface Script extends Omit<Crdp.Debugger.ScriptParsedEvent, 'url'|'embedderName'> {
|
|
318
314
|
/**
|
|
319
315
|
* Set by a sourceURL= magic comment if present, otherwise this is the same as the URL.
|
|
@@ -851,7 +847,8 @@ declare module Artifacts {
|
|
|
851
847
|
property: string;
|
|
852
848
|
attribute: string | null;
|
|
853
849
|
prediction: string | null;
|
|
854
|
-
}
|
|
850
|
+
};
|
|
851
|
+
preventsPaste?: boolean;
|
|
855
852
|
node: NodeDetails;
|
|
856
853
|
}
|
|
857
854
|
|
package/types/lhr/lhr.d.ts
CHANGED
|
@@ -155,18 +155,8 @@ declare module Result {
|
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* Entity classification for the run, for resolving URLs/items to entities in report.
|
|
158
|
-
* The two lookup tables (LUT) below provide space-optimized, O(1) index lookup into entities.list.
|
|
159
158
|
*/
|
|
160
|
-
interface Entities {
|
|
161
|
-
/** All entities (1st and 3rd party) discovered during the run */
|
|
162
|
-
list: Array<LhrEntity>;
|
|
163
|
-
/** Name of the first-party entity */
|
|
164
|
-
firstParty?: string;
|
|
165
|
-
/** Entity-name to entity index lookup table */
|
|
166
|
-
entityIndexByName: Record<string, number>;
|
|
167
|
-
/** URL origin to entity index lookup table */
|
|
168
|
-
entityIndexByOrigin: Record<string, number>;
|
|
169
|
-
}
|
|
159
|
+
interface Entities extends Array<LhrEntity> {}
|
|
170
160
|
|
|
171
161
|
/**
|
|
172
162
|
* An entity that's either recognized by third-party-web or made up by Lighthouse.
|
|
@@ -182,6 +172,8 @@ declare module Result {
|
|
|
182
172
|
isFirstParty?: boolean;
|
|
183
173
|
/** Is this entity recognized by third-party-web? */
|
|
184
174
|
isUnrecognized?: boolean;
|
|
175
|
+
/** List of origin strings that belong to this entity found in network records. */
|
|
176
|
+
origins: Array<string>;
|
|
185
177
|
}
|
|
186
178
|
|
|
187
179
|
/**
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export default PasswordInputsWithPreventedPaste;
|
|
2
|
-
declare class PasswordInputsWithPreventedPaste extends FRGatherer {
|
|
3
|
-
/**
|
|
4
|
-
* @param {LH.Gatherer.FRTransitionalContext} passContext
|
|
5
|
-
* @return {Promise<LH.Artifacts['PasswordInputsWithPreventedPaste']>}
|
|
6
|
-
*/
|
|
7
|
-
getArtifact(passContext: LH.Gatherer.FRTransitionalContext): Promise<LH.Artifacts['PasswordInputsWithPreventedPaste']>;
|
|
8
|
-
}
|
|
9
|
-
import FRGatherer from "../../base-gatherer.js";
|
|
10
|
-
//# sourceMappingURL=password-inputs-with-prevented-paste.d.ts.map
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright 2017 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
|
-
/* global document ClipboardEvent getNodeDetails */
|
|
8
|
-
|
|
9
|
-
import FRGatherer from '../../base-gatherer.js';
|
|
10
|
-
import {pageFunctions} from '../../../lib/page-functions.js';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @return {LH.Artifacts['PasswordInputsWithPreventedPaste']}
|
|
14
|
-
*/
|
|
15
|
-
/* c8 ignore start */
|
|
16
|
-
function findPasswordInputsWithPreventedPaste() {
|
|
17
|
-
return Array.from(document.querySelectorAll('input[type="password"]'))
|
|
18
|
-
.filter(passwordInput =>
|
|
19
|
-
!passwordInput.dispatchEvent(
|
|
20
|
-
new ClipboardEvent('paste', {cancelable: true})
|
|
21
|
-
)
|
|
22
|
-
)
|
|
23
|
-
.map(passwordInput => ({
|
|
24
|
-
// @ts-expect-error - getNodeDetails put into scope via stringification
|
|
25
|
-
node: getNodeDetails(passwordInput),
|
|
26
|
-
}));
|
|
27
|
-
}
|
|
28
|
-
/* c8 ignore stop */
|
|
29
|
-
|
|
30
|
-
class PasswordInputsWithPreventedPaste extends FRGatherer {
|
|
31
|
-
/** @type {LH.Gatherer.GathererMeta} */
|
|
32
|
-
meta = {
|
|
33
|
-
supportedModes: ['snapshot', 'navigation'],
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @param {LH.Gatherer.FRTransitionalContext} passContext
|
|
38
|
-
* @return {Promise<LH.Artifacts['PasswordInputsWithPreventedPaste']>}
|
|
39
|
-
*/
|
|
40
|
-
getArtifact(passContext) {
|
|
41
|
-
return passContext.driver.executionContext.evaluate(findPasswordInputsWithPreventedPaste, {
|
|
42
|
-
args: [],
|
|
43
|
-
deps: [pageFunctions.getNodeDetails],
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export default PasswordInputsWithPreventedPaste;
|