lighthouse 12.3.0 → 12.4.0-dev.20250227
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/cli/test/smokehouse/core-tests.js +4 -0
- package/core/audits/audit.d.ts +5 -0
- package/core/audits/audit.js +12 -0
- package/core/audits/bootup-time.js +0 -2
- package/core/audits/byte-efficiency/duplicated-javascript.d.ts +4 -5
- package/core/audits/byte-efficiency/duplicated-javascript.js +9 -5
- package/core/audits/byte-efficiency/legacy-javascript.d.ts +2 -2
- package/core/audits/byte-efficiency/legacy-javascript.js +17 -5
- package/core/audits/byte-efficiency/polyfill-graph-data.json +48 -49
- package/core/audits/byte-efficiency/total-byte-weight.js +0 -2
- package/core/audits/clickjacking-mitigation.d.ts +42 -0
- package/core/audits/clickjacking-mitigation.js +139 -0
- package/core/audits/dobetterweb/dom-size.js +0 -2
- package/core/audits/insights/README.md +3 -0
- package/core/audits/insights/cls-culprits-insight.d.ts +25 -0
- package/core/audits/insights/cls-culprits-insight.js +137 -0
- package/core/audits/insights/document-latency-insight.d.ts +11 -0
- package/core/audits/insights/document-latency-insight.js +48 -0
- package/core/audits/insights/dom-size-insight.d.ts +11 -0
- package/core/audits/insights/dom-size-insight.js +85 -0
- package/core/audits/insights/font-display-insight.d.ts +11 -0
- package/core/audits/insights/font-display-insight.js +53 -0
- package/core/audits/insights/forced-reflow-insight.d.ts +11 -0
- package/core/audits/insights/forced-reflow-insight.js +52 -0
- package/core/audits/insights/image-delivery-insight.d.ts +11 -0
- package/core/audits/insights/image-delivery-insight.js +83 -0
- package/core/audits/insights/insight-audit.d.ts +23 -0
- package/core/audits/insights/insight-audit.js +133 -0
- package/core/audits/insights/interaction-to-next-paint-insight.d.ts +11 -0
- package/core/audits/insights/interaction-to-next-paint-insight.js +71 -0
- package/core/audits/insights/lcp-discovery-insight.d.ts +11 -0
- package/core/audits/insights/lcp-discovery-insight.js +48 -0
- package/core/audits/insights/lcp-phases-insight.d.ts +16 -0
- package/core/audits/insights/lcp-phases-insight.js +87 -0
- package/core/audits/insights/long-critical-network-tree-insight.d.ts +11 -0
- package/core/audits/insights/long-critical-network-tree-insight.js +53 -0
- package/core/audits/insights/render-blocking-insight.d.ts +11 -0
- package/core/audits/insights/render-blocking-insight.js +57 -0
- package/core/audits/insights/slow-css-selector-insight.d.ts +11 -0
- package/core/audits/insights/slow-css-selector-insight.js +52 -0
- package/core/audits/insights/third-parties-insight.d.ts +28 -0
- package/core/audits/insights/third-parties-insight.js +90 -0
- package/core/audits/insights/viewport-insight.d.ts +11 -0
- package/core/audits/insights/viewport-insight.js +54 -0
- package/core/audits/layout-shifts.d.ts +0 -1
- package/core/audits/layout-shifts.js +18 -21
- package/core/audits/mainthread-work-breakdown.js +0 -2
- package/core/audits/seo/is-crawlable.d.ts +1 -0
- package/core/audits/server-response-time.js +0 -1
- package/core/computed/metrics/lantern-metric.js +5 -1
- package/core/computed/trace-engine-result.js +71 -17
- package/core/config/default-config.js +37 -1
- package/core/gather/gatherers/inspector-issues.js +3 -0
- package/core/gather/gatherers/trace-elements.d.ts +10 -2
- package/core/gather/gatherers/trace-elements.js +89 -12
- package/core/lib/bf-cache-strings.d.ts +7 -4
- package/core/lib/bf-cache-strings.js +174 -140
- package/core/lib/cdt/generated/ParsedURL.d.ts +1 -0
- package/core/lib/cdt/generated/ParsedURL.js +16 -4
- package/core/lib/cdt/generated/SourceMap.d.ts +32 -5
- package/core/lib/cdt/generated/SourceMap.js +192 -100
- package/core/lib/deprecations-strings.d.ts +78 -98
- package/core/lib/deprecations-strings.js +23 -41
- package/core/lib/i18n/i18n.d.ts +1 -0
- package/core/lib/i18n/i18n.js +2 -0
- package/core/lib/trace-engine.d.ts +1 -0
- package/core/lib/trace-engine.js +2 -0
- package/core/runner.js +2 -0
- package/dist/report/bundle.esm.js +196 -9
- package/dist/report/flow.js +197 -10
- package/dist/report/standalone.js +197 -10
- package/flow-report/src/i18n/i18n.d.ts +2 -0
- package/package.json +15 -13
- package/readme.md +3 -0
- package/report/assets/styles.css +179 -5
- package/report/assets/templates.html +14 -0
- package/report/renderer/components.js +9 -3
- package/report/renderer/details-renderer.d.ts +5 -0
- package/report/renderer/details-renderer.js +24 -0
- package/report/renderer/dom.d.ts +12 -1
- package/report/renderer/dom.js +26 -1
- package/report/renderer/i18n-formatter.d.ts +1 -1
- package/report/renderer/performance-category-renderer.d.ts +10 -0
- package/report/renderer/performance-category-renderer.js +81 -20
- package/report/renderer/report-utils.d.ts +1 -0
- package/report/renderer/report-utils.js +2 -0
- package/report/renderer/topbar-features.js +7 -0
- package/shared/localization/locales/ar-XB.json +74 -26
- package/shared/localization/locales/ar.json +76 -28
- package/shared/localization/locales/bg.json +74 -26
- package/shared/localization/locales/ca.json +74 -26
- package/shared/localization/locales/cs.json +74 -26
- package/shared/localization/locales/da.json +74 -26
- package/shared/localization/locales/de.json +75 -27
- package/shared/localization/locales/el.json +74 -26
- package/shared/localization/locales/en-GB.json +74 -26
- package/shared/localization/locales/en-US.json +288 -30
- package/shared/localization/locales/en-XA.json +48 -24
- package/shared/localization/locales/en-XL.json +288 -30
- package/shared/localization/locales/es-419.json +74 -26
- package/shared/localization/locales/es.json +74 -26
- package/shared/localization/locales/fi.json +74 -26
- package/shared/localization/locales/fil.json +75 -27
- package/shared/localization/locales/fr.json +74 -26
- package/shared/localization/locales/he.json +82 -34
- package/shared/localization/locales/hi.json +74 -26
- package/shared/localization/locales/hr.json +75 -27
- package/shared/localization/locales/hu.json +74 -26
- package/shared/localization/locales/id.json +74 -26
- package/shared/localization/locales/it.json +85 -37
- package/shared/localization/locales/ja.json +75 -27
- package/shared/localization/locales/ko.json +75 -27
- package/shared/localization/locales/lt.json +75 -27
- package/shared/localization/locales/lv.json +74 -26
- package/shared/localization/locales/nl.json +74 -26
- package/shared/localization/locales/no.json +75 -27
- package/shared/localization/locales/pl.json +74 -26
- package/shared/localization/locales/pt-PT.json +74 -26
- package/shared/localization/locales/pt.json +74 -26
- package/shared/localization/locales/ro.json +74 -26
- package/shared/localization/locales/ru.json +74 -26
- package/shared/localization/locales/sk.json +74 -26
- package/shared/localization/locales/sl.json +74 -26
- package/shared/localization/locales/sr-Latn.json +74 -26
- package/shared/localization/locales/sr.json +74 -26
- package/shared/localization/locales/sv.json +74 -26
- package/shared/localization/locales/ta.json +74 -26
- package/shared/localization/locales/te.json +74 -26
- package/shared/localization/locales/th.json +76 -28
- package/shared/localization/locales/tr.json +74 -26
- package/shared/localization/locales/uk.json +74 -26
- package/shared/localization/locales/vi.json +74 -26
- package/shared/localization/locales/zh-HK.json +75 -27
- package/shared/localization/locales/zh-TW.json +74 -26
- package/shared/localization/locales/zh.json +74 -26
- package/third-party/chromium-synchronization/inspector-issueAdded-types-test.js +3 -0
- package/types/artifacts.d.ts +5 -3
- package/types/audit.d.ts +2 -0
- package/types/lhr/audit-details.d.ts +13 -1
- package/types/lhr/audit-result.d.ts +2 -0
- package/core/gather/gatherers/root-causes.d.ts +0 -19
- package/core/gather/gatherers/root-causes.js +0 -144
|
@@ -9,10 +9,9 @@ export namespace UIStrings {
|
|
|
9
9
|
let CrossOriginWindowAlert: string;
|
|
10
10
|
let CrossOriginWindowConfirm: string;
|
|
11
11
|
let CSSSelectorInternalMediaControlsOverlayCastButton: string;
|
|
12
|
+
let CSSValueAppearanceSliderVertical: string;
|
|
12
13
|
let DataUrlInSvgUse: string;
|
|
13
|
-
let DocumentDomainSettingWithoutOriginAgentClusterHeader: string;
|
|
14
14
|
let DOMMutationEvents: string;
|
|
15
|
-
let ExpectCTHeader: string;
|
|
16
15
|
let GeolocationInsecureOrigin: string;
|
|
17
16
|
let GeolocationInsecureOriginDeprecatedNotRemoved: string;
|
|
18
17
|
let GetUserMediaInsecureOrigin: string;
|
|
@@ -23,7 +22,6 @@ export namespace UIStrings {
|
|
|
23
22
|
let LocalCSSFileExtensionRejected: string;
|
|
24
23
|
let MediaSourceAbortRemove: string;
|
|
25
24
|
let MediaSourceDurationTruncatingBuffered: string;
|
|
26
|
-
let NonStandardDeclarativeShadowDOM: string;
|
|
27
25
|
let NoSysexWebMIDIWithoutPermission: string;
|
|
28
26
|
let NotificationInsecureOrigin: string;
|
|
29
27
|
let NotificationPermissionRequestedIframe: string;
|
|
@@ -51,10 +49,10 @@ export namespace UIStrings {
|
|
|
51
49
|
let RtcpMuxPolicyNegotiate: string;
|
|
52
50
|
let SharedArrayBufferConstructedWithoutIsolation: string;
|
|
53
51
|
let TextToSpeech_DisallowedByAutoplay: string;
|
|
52
|
+
let UnloadHandler: string;
|
|
54
53
|
let V8SharedArrayBufferConstructedInExtensionWithoutIsolation: string;
|
|
54
|
+
let WebGPULimitMaxInterStageShaderComponents: string;
|
|
55
55
|
let WebSQL: string;
|
|
56
|
-
let WindowPlacementPermissionDescriptorUsed: string;
|
|
57
|
-
let WindowPlacementPermissionPolicyParsed: string;
|
|
58
56
|
let XHRJSONEncodingDetection: string;
|
|
59
57
|
let XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: string;
|
|
60
58
|
let XRSupportsSession: string;
|
|
@@ -68,25 +66,30 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
68
66
|
let chromeStatusFeature: number;
|
|
69
67
|
}
|
|
70
68
|
export { CSSSelectorInternalMediaControlsOverlayCastButton_1 as CSSSelectorInternalMediaControlsOverlayCastButton };
|
|
71
|
-
export namespace
|
|
69
|
+
export namespace CSSValueAppearanceSliderVertical_1 {
|
|
72
70
|
let chromeStatusFeature_1: number;
|
|
73
71
|
export { chromeStatusFeature_1 as chromeStatusFeature };
|
|
74
72
|
}
|
|
75
|
-
export {
|
|
76
|
-
export namespace
|
|
73
|
+
export { CSSValueAppearanceSliderVertical_1 as CSSValueAppearanceSliderVertical };
|
|
74
|
+
export namespace CanRequestURLHTTPContainingNewline_1 {
|
|
77
75
|
let chromeStatusFeature_2: number;
|
|
78
76
|
export { chromeStatusFeature_2 as chromeStatusFeature };
|
|
79
77
|
}
|
|
80
|
-
export {
|
|
81
|
-
export namespace
|
|
78
|
+
export { CanRequestURLHTTPContainingNewline_1 as CanRequestURLHTTPContainingNewline };
|
|
79
|
+
export namespace ChromeLoadTimesConnectionInfo_1 {
|
|
82
80
|
let chromeStatusFeature_3: number;
|
|
83
81
|
export { chromeStatusFeature_3 as chromeStatusFeature };
|
|
84
82
|
}
|
|
85
|
-
export {
|
|
86
|
-
export namespace
|
|
83
|
+
export { ChromeLoadTimesConnectionInfo_1 as ChromeLoadTimesConnectionInfo };
|
|
84
|
+
export namespace ChromeLoadTimesFirstPaintAfterLoadTime_1 {
|
|
87
85
|
let chromeStatusFeature_4: number;
|
|
88
86
|
export { chromeStatusFeature_4 as chromeStatusFeature };
|
|
89
87
|
}
|
|
88
|
+
export { ChromeLoadTimesFirstPaintAfterLoadTime_1 as ChromeLoadTimesFirstPaintAfterLoadTime };
|
|
89
|
+
export namespace ChromeLoadTimesWasAlternateProtocolAvailable_1 {
|
|
90
|
+
let chromeStatusFeature_5: number;
|
|
91
|
+
export { chromeStatusFeature_5 as chromeStatusFeature };
|
|
92
|
+
}
|
|
90
93
|
export { ChromeLoadTimesWasAlternateProtocolAvailable_1 as ChromeLoadTimesWasAlternateProtocolAvailable };
|
|
91
94
|
export namespace CookieWithTruncatingChar_1 {
|
|
92
95
|
let milestone_1: number;
|
|
@@ -99,31 +102,19 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
99
102
|
}
|
|
100
103
|
export { CrossOriginAccessBasedOnDocumentDomain_1 as CrossOriginAccessBasedOnDocumentDomain };
|
|
101
104
|
export namespace DOMMutationEvents_1 {
|
|
102
|
-
let
|
|
103
|
-
export {
|
|
105
|
+
let chromeStatusFeature_6: number;
|
|
106
|
+
export { chromeStatusFeature_6 as chromeStatusFeature };
|
|
104
107
|
let milestone_3: number;
|
|
105
108
|
export { milestone_3 as milestone };
|
|
106
109
|
}
|
|
107
110
|
export { DOMMutationEvents_1 as DOMMutationEvents };
|
|
108
111
|
export namespace DataUrlInSvgUse_1 {
|
|
109
|
-
let
|
|
110
|
-
export {
|
|
112
|
+
let chromeStatusFeature_7: number;
|
|
113
|
+
export { chromeStatusFeature_7 as chromeStatusFeature };
|
|
111
114
|
let milestone_4: number;
|
|
112
115
|
export { milestone_4 as milestone };
|
|
113
116
|
}
|
|
114
117
|
export { DataUrlInSvgUse_1 as DataUrlInSvgUse };
|
|
115
|
-
export namespace DocumentDomainSettingWithoutOriginAgentClusterHeader_1 {
|
|
116
|
-
let milestone_5: number;
|
|
117
|
-
export { milestone_5 as milestone };
|
|
118
|
-
}
|
|
119
|
-
export { DocumentDomainSettingWithoutOriginAgentClusterHeader_1 as DocumentDomainSettingWithoutOriginAgentClusterHeader };
|
|
120
|
-
export namespace ExpectCTHeader_1 {
|
|
121
|
-
let chromeStatusFeature_7: number;
|
|
122
|
-
export { chromeStatusFeature_7 as chromeStatusFeature };
|
|
123
|
-
let milestone_6: number;
|
|
124
|
-
export { milestone_6 as milestone };
|
|
125
|
-
}
|
|
126
|
-
export { ExpectCTHeader_1 as ExpectCTHeader };
|
|
127
118
|
export namespace IdentityInCanMakePaymentEvent_1 {
|
|
128
119
|
let chromeStatusFeature_8: number;
|
|
129
120
|
export { chromeStatusFeature_8 as chromeStatusFeature };
|
|
@@ -132,13 +123,13 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
132
123
|
export namespace InsecurePrivateNetworkSubresourceRequest_1 {
|
|
133
124
|
let chromeStatusFeature_9: number;
|
|
134
125
|
export { chromeStatusFeature_9 as chromeStatusFeature };
|
|
135
|
-
let
|
|
136
|
-
export {
|
|
126
|
+
let milestone_5: number;
|
|
127
|
+
export { milestone_5 as milestone };
|
|
137
128
|
}
|
|
138
129
|
export { InsecurePrivateNetworkSubresourceRequest_1 as InsecurePrivateNetworkSubresourceRequest };
|
|
139
130
|
export namespace LocalCSSFileExtensionRejected_1 {
|
|
140
|
-
let
|
|
141
|
-
export {
|
|
131
|
+
let milestone_6: number;
|
|
132
|
+
export { milestone_6 as milestone };
|
|
142
133
|
}
|
|
143
134
|
export { LocalCSSFileExtensionRejected_1 as LocalCSSFileExtensionRejected };
|
|
144
135
|
export namespace MediaSourceAbortRemove_1 {
|
|
@@ -154,131 +145,120 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
154
145
|
export namespace NoSysexWebMIDIWithoutPermission_1 {
|
|
155
146
|
let chromeStatusFeature_12: number;
|
|
156
147
|
export { chromeStatusFeature_12 as chromeStatusFeature };
|
|
157
|
-
let
|
|
158
|
-
export {
|
|
148
|
+
let milestone_7: number;
|
|
149
|
+
export { milestone_7 as milestone };
|
|
159
150
|
}
|
|
160
151
|
export { NoSysexWebMIDIWithoutPermission_1 as NoSysexWebMIDIWithoutPermission };
|
|
161
|
-
export namespace
|
|
152
|
+
export namespace NotificationPermissionRequestedIframe_1 {
|
|
162
153
|
let chromeStatusFeature_13: number;
|
|
163
154
|
export { chromeStatusFeature_13 as chromeStatusFeature };
|
|
164
|
-
let milestone_10: number;
|
|
165
|
-
export { milestone_10 as milestone };
|
|
166
|
-
}
|
|
167
|
-
export { NonStandardDeclarativeShadowDOM_1 as NonStandardDeclarativeShadowDOM };
|
|
168
|
-
export namespace NotificationPermissionRequestedIframe_1 {
|
|
169
|
-
let chromeStatusFeature_14: number;
|
|
170
|
-
export { chromeStatusFeature_14 as chromeStatusFeature };
|
|
171
155
|
}
|
|
172
156
|
export { NotificationPermissionRequestedIframe_1 as NotificationPermissionRequestedIframe };
|
|
173
157
|
export namespace ObsoleteCreateImageBitmapImageOrientationNone_1 {
|
|
174
|
-
let
|
|
175
|
-
export {
|
|
158
|
+
let milestone_8: number;
|
|
159
|
+
export { milestone_8 as milestone };
|
|
176
160
|
}
|
|
177
161
|
export { ObsoleteCreateImageBitmapImageOrientationNone_1 as ObsoleteCreateImageBitmapImageOrientationNone };
|
|
178
162
|
export namespace ObsoleteWebRtcCipherSuite_1 {
|
|
179
|
-
let
|
|
180
|
-
export {
|
|
163
|
+
let milestone_9: number;
|
|
164
|
+
export { milestone_9 as milestone };
|
|
181
165
|
}
|
|
182
166
|
export { ObsoleteWebRtcCipherSuite_1 as ObsoleteWebRtcCipherSuite };
|
|
183
167
|
export namespace OverflowVisibleOnReplacedElement_1 {
|
|
184
|
-
let
|
|
185
|
-
export {
|
|
186
|
-
let
|
|
187
|
-
export {
|
|
168
|
+
let chromeStatusFeature_14: number;
|
|
169
|
+
export { chromeStatusFeature_14 as chromeStatusFeature };
|
|
170
|
+
let milestone_10: number;
|
|
171
|
+
export { milestone_10 as milestone };
|
|
188
172
|
}
|
|
189
173
|
export { OverflowVisibleOnReplacedElement_1 as OverflowVisibleOnReplacedElement };
|
|
190
174
|
export namespace PaymentInstruments_1 {
|
|
191
|
-
let
|
|
192
|
-
export {
|
|
175
|
+
let chromeStatusFeature_15: number;
|
|
176
|
+
export { chromeStatusFeature_15 as chromeStatusFeature };
|
|
193
177
|
}
|
|
194
178
|
export { PaymentInstruments_1 as PaymentInstruments };
|
|
195
179
|
export namespace PaymentRequestCSPViolation_1 {
|
|
196
|
-
let
|
|
197
|
-
export {
|
|
180
|
+
let chromeStatusFeature_16: number;
|
|
181
|
+
export { chromeStatusFeature_16 as chromeStatusFeature };
|
|
198
182
|
}
|
|
199
183
|
export { PaymentRequestCSPViolation_1 as PaymentRequestCSPViolation };
|
|
200
184
|
export namespace PersistentQuotaType_1 {
|
|
201
|
-
let
|
|
202
|
-
export {
|
|
203
|
-
let
|
|
204
|
-
export {
|
|
185
|
+
let chromeStatusFeature_17: number;
|
|
186
|
+
export { chromeStatusFeature_17 as chromeStatusFeature };
|
|
187
|
+
let milestone_11: number;
|
|
188
|
+
export { milestone_11 as milestone };
|
|
205
189
|
}
|
|
206
190
|
export { PersistentQuotaType_1 as PersistentQuotaType };
|
|
207
191
|
export namespace RTCConstraintEnableDtlsSrtpFalse_1 {
|
|
208
|
-
let
|
|
209
|
-
export {
|
|
192
|
+
let milestone_12: number;
|
|
193
|
+
export { milestone_12 as milestone };
|
|
210
194
|
}
|
|
211
195
|
export { RTCConstraintEnableDtlsSrtpFalse_1 as RTCConstraintEnableDtlsSrtpFalse };
|
|
212
196
|
export namespace RTCConstraintEnableDtlsSrtpTrue_1 {
|
|
213
|
-
let
|
|
214
|
-
export {
|
|
197
|
+
let milestone_13: number;
|
|
198
|
+
export { milestone_13 as milestone };
|
|
215
199
|
}
|
|
216
200
|
export { RTCConstraintEnableDtlsSrtpTrue_1 as RTCConstraintEnableDtlsSrtpTrue };
|
|
217
201
|
export namespace RTCPeerConnectionGetStatsLegacyNonCompliant_1 {
|
|
218
|
-
let
|
|
219
|
-
export {
|
|
220
|
-
let
|
|
221
|
-
export {
|
|
202
|
+
let chromeStatusFeature_18: number;
|
|
203
|
+
export { chromeStatusFeature_18 as chromeStatusFeature };
|
|
204
|
+
let milestone_14: number;
|
|
205
|
+
export { milestone_14 as milestone };
|
|
222
206
|
}
|
|
223
207
|
export { RTCPeerConnectionGetStatsLegacyNonCompliant_1 as RTCPeerConnectionGetStatsLegacyNonCompliant };
|
|
224
208
|
export namespace RequestedSubresourceWithEmbeddedCredentials_1 {
|
|
225
|
-
let
|
|
226
|
-
export {
|
|
209
|
+
let chromeStatusFeature_19: number;
|
|
210
|
+
export { chromeStatusFeature_19 as chromeStatusFeature };
|
|
227
211
|
}
|
|
228
212
|
export { RequestedSubresourceWithEmbeddedCredentials_1 as RequestedSubresourceWithEmbeddedCredentials };
|
|
229
213
|
export namespace RtcpMuxPolicyNegotiate_1 {
|
|
230
|
-
let
|
|
231
|
-
export {
|
|
232
|
-
let
|
|
233
|
-
export {
|
|
214
|
+
let chromeStatusFeature_20: number;
|
|
215
|
+
export { chromeStatusFeature_20 as chromeStatusFeature };
|
|
216
|
+
let milestone_15: number;
|
|
217
|
+
export { milestone_15 as milestone };
|
|
234
218
|
}
|
|
235
219
|
export { RtcpMuxPolicyNegotiate_1 as RtcpMuxPolicyNegotiate };
|
|
236
220
|
export namespace SharedArrayBufferConstructedWithoutIsolation_1 {
|
|
237
|
-
let
|
|
238
|
-
export {
|
|
221
|
+
let milestone_16: number;
|
|
222
|
+
export { milestone_16 as milestone };
|
|
239
223
|
}
|
|
240
224
|
export { SharedArrayBufferConstructedWithoutIsolation_1 as SharedArrayBufferConstructedWithoutIsolation };
|
|
241
225
|
export namespace TextToSpeech_DisallowedByAutoplay_1 {
|
|
226
|
+
let chromeStatusFeature_21: number;
|
|
227
|
+
export { chromeStatusFeature_21 as chromeStatusFeature };
|
|
228
|
+
let milestone_17: number;
|
|
229
|
+
export { milestone_17 as milestone };
|
|
230
|
+
}
|
|
231
|
+
export { TextToSpeech_DisallowedByAutoplay_1 as TextToSpeech_DisallowedByAutoplay };
|
|
232
|
+
export namespace UnloadHandler_1 {
|
|
242
233
|
let chromeStatusFeature_22: number;
|
|
243
234
|
export { chromeStatusFeature_22 as chromeStatusFeature };
|
|
244
|
-
let milestone_20: number;
|
|
245
|
-
export { milestone_20 as milestone };
|
|
246
235
|
}
|
|
247
|
-
export {
|
|
236
|
+
export { UnloadHandler_1 as UnloadHandler };
|
|
248
237
|
export namespace V8SharedArrayBufferConstructedInExtensionWithoutIsolation_1 {
|
|
249
|
-
let
|
|
250
|
-
export {
|
|
238
|
+
let milestone_18: number;
|
|
239
|
+
export { milestone_18 as milestone };
|
|
251
240
|
}
|
|
252
241
|
export { V8SharedArrayBufferConstructedInExtensionWithoutIsolation_1 as V8SharedArrayBufferConstructedInExtensionWithoutIsolation };
|
|
253
|
-
export namespace
|
|
242
|
+
export namespace WebGPULimitMaxInterStageShaderComponents_1 {
|
|
254
243
|
let chromeStatusFeature_23: number;
|
|
255
244
|
export { chromeStatusFeature_23 as chromeStatusFeature };
|
|
256
|
-
let milestone_22: number;
|
|
257
|
-
export { milestone_22 as milestone };
|
|
258
245
|
}
|
|
259
|
-
export {
|
|
260
|
-
export namespace
|
|
246
|
+
export { WebGPULimitMaxInterStageShaderComponents_1 as WebGPULimitMaxInterStageShaderComponents };
|
|
247
|
+
export namespace WebSQL_1 {
|
|
261
248
|
let chromeStatusFeature_24: number;
|
|
262
249
|
export { chromeStatusFeature_24 as chromeStatusFeature };
|
|
263
|
-
let
|
|
264
|
-
export {
|
|
265
|
-
}
|
|
266
|
-
export { WindowPlacementPermissionDescriptorUsed_1 as WindowPlacementPermissionDescriptorUsed };
|
|
267
|
-
export namespace WindowPlacementPermissionPolicyParsed_1 {
|
|
268
|
-
let chromeStatusFeature_25: number;
|
|
269
|
-
export { chromeStatusFeature_25 as chromeStatusFeature };
|
|
270
|
-
let milestone_24: number;
|
|
271
|
-
export { milestone_24 as milestone };
|
|
250
|
+
let milestone_19: number;
|
|
251
|
+
export { milestone_19 as milestone };
|
|
272
252
|
}
|
|
273
|
-
export {
|
|
253
|
+
export { WebSQL_1 as WebSQL };
|
|
274
254
|
export namespace XHRJSONEncodingDetection_1 {
|
|
275
|
-
let
|
|
276
|
-
export {
|
|
255
|
+
let milestone_20: number;
|
|
256
|
+
export { milestone_20 as milestone };
|
|
277
257
|
}
|
|
278
258
|
export { XHRJSONEncodingDetection_1 as XHRJSONEncodingDetection };
|
|
279
259
|
export namespace XRSupportsSession_1 {
|
|
280
|
-
let
|
|
281
|
-
export {
|
|
260
|
+
let milestone_21: number;
|
|
261
|
+
export { milestone_21 as milestone };
|
|
282
262
|
}
|
|
283
263
|
export { XRSupportsSession_1 as XRSupportsSession };
|
|
284
264
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// auto-generated by build/build-cdt-strings.js
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
// Copyright
|
|
3
|
+
// Copyright 2025 The Chromium Authors. All rights reserved.
|
|
4
4
|
// Use of this source code is governed by a BSD-style license that can be
|
|
5
5
|
// found in the LICENSE file.
|
|
6
6
|
|
|
@@ -49,21 +49,17 @@ export const UIStrings = {
|
|
|
49
49
|
*/
|
|
50
50
|
CSSSelectorInternalMediaControlsOverlayCastButton: "The `disableRemotePlayback` attribute should be used in order to disable the default Cast integration instead of using `-internal-media-controls-overlay-cast-button` selector.",
|
|
51
51
|
/**
|
|
52
|
-
* @description Warning displayed to developers
|
|
52
|
+
* @description Warning displayed to developers to let them know the CSS appearance property value they used is not standard and will be removed.
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
CSSValueAppearanceSliderVertical: "CSS appearance value `slider-vertical` is not standardized and will be removed.",
|
|
55
55
|
/**
|
|
56
|
-
* @description
|
|
56
|
+
* @description Warning displayed to developers when a data: URL is assigned to SVGUseElement to let them know that the support is deprecated.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
DataUrlInSvgUse: "Support for data: URLs in SVGUseElement is deprecated and it will be removed in the future.",
|
|
59
59
|
/**
|
|
60
60
|
* @description Warning displayed to developers when non-standard Mutation Events are used. These are deprecated and will be removed.
|
|
61
61
|
*/
|
|
62
62
|
DOMMutationEvents: "DOM Mutation Events, including `DOMSubtreeModified`, `DOMNodeInserted`, `DOMNodeRemoved`, `DOMNodeRemovedFromDocument`, `DOMNodeInsertedIntoDocument`, and `DOMCharacterDataModified` are deprecated (https://w3c.github.io/uievents/#legacy-event-types) and will be removed. Please use `MutationObserver` instead.",
|
|
63
|
-
/**
|
|
64
|
-
* @description This message is shown when the deprecated Expect-CT header is present.
|
|
65
|
-
*/
|
|
66
|
-
ExpectCTHeader: "The `Expect-CT` header is deprecated and will be removed. Chrome requires Certificate Transparency for all publicly trusted certificates issued after April 30, 2018.",
|
|
67
63
|
/**
|
|
68
64
|
* @description Warning displayed to developers when the Geolocation API is used from an insecure origin (one that isn't localhost or doesn't use HTTPS) to notify them that this use is no longer supported.
|
|
69
65
|
*/
|
|
@@ -77,7 +73,7 @@ export const UIStrings = {
|
|
|
77
73
|
*/
|
|
78
74
|
GetUserMediaInsecureOrigin: "`getUserMedia()` no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gle/chrome-insecure-origins for more details.",
|
|
79
75
|
/**
|
|
80
|
-
* @description A deprecation warning shown to developers in the DevTools Issues tab when code tries to use the deprecated hostCandidate field, guiding developers to use the
|
|
76
|
+
* @description A deprecation warning shown to developers in the DevTools Issues tab when code tries to use the deprecated hostCandidate field, guiding developers to use the equivalent information in the .address and .port fields instead.
|
|
81
77
|
*/
|
|
82
78
|
HostCandidateAttributeGetter: "`RTCPeerConnectionIceErrorEvent.hostCandidate` is deprecated. Please use `RTCPeerConnectionIceErrorEvent.address` or `RTCPeerConnectionIceErrorEvent.port` instead.",
|
|
83
79
|
/**
|
|
@@ -104,10 +100,6 @@ export const UIStrings = {
|
|
|
104
100
|
* @description This is a deprecation warning to developers that occurs when the script attempts to use the Media Source Extensions API in a way that is no longer supported by the specification for the API. The usage that is problematic is when the script sets the duration attribute of a MediaSource object too low. The duration attribute of a MediaSource must be longer than the actual duration of any media (audio or video) already in the MediaSource. When set too low, the MediaSource must remove audio and video content that is beyond the time indicated by the new duration. Content removal that is caused by setting the duration attribute too low is no longer allowed by the specification. The message describes the minimum allowable duration value as the 'highest presentation timestamp of any buffered coded frames' as a more precise way of describing the duration of content already in the MediaSource: 'coded frames' are the specification's way of describing compressed audio frames or compressed video frames, and they each have a 'presentation timestamp' that describes precisely when that frame's playback occurs in the overall media presentation. Early versions of the Media Source Extensions specification allowed this to happen, but standardization of the specification resulted in disallowing this behavior. The underlying issue leading to this specification change was that setting the duration attribute should be synchronous, but setting it lower than the timestamp of something currently buffered would cause confusing removal of media between that new duration and the previous, larger, duration. The script should instead explicitly remove that range of media first, before lowering the duration. See https://www.w3.org/TR/media-source-2/#dom-mediasource-duration and https://www.w3.org/TR/media-source-2/#dom-mediasource-duration for the currently specified behavior, which would throw an exception once support is removed for deprecated implicit asynchronous range removal when duration is truncated. See both https://github.com/w3c/media-source/issues/20 and https://github.com/w3c/media-source/issues/26 for the discussion that led to the specification change.
|
|
105
101
|
*/
|
|
106
102
|
MediaSourceDurationTruncatingBuffered: "Setting `MediaSource.duration` below the highest presentation timestamp of any buffered coded frames is deprecated due to specification change. Support for implicit removal of truncated buffered media will be removed in the future. You should instead perform explicit `remove(newDuration, oldDuration)` on all `sourceBuffers`, where `newDuration < oldDuration`.",
|
|
107
|
-
/**
|
|
108
|
-
* @description This warning is displayed when a site contains a `<template>` element with the `shadowroot` attribute.
|
|
109
|
-
*/
|
|
110
|
-
NonStandardDeclarativeShadowDOM: "The older, non-standardized `shadowroot` attribute is deprecated, and will *no longer function* in M119. Please use the new, standardized `shadowrootmode` attribute instead.",
|
|
111
103
|
/**
|
|
112
104
|
* @description This warning occurs when the browser requests Web MIDI access as sysex (system exclusive messages) can be allowed via prompt even if the browser did not specifically request it.
|
|
113
105
|
*/
|
|
@@ -217,21 +209,21 @@ export const UIStrings = {
|
|
|
217
209
|
*/
|
|
218
210
|
TextToSpeech_DisallowedByAutoplay: "`speechSynthesis.speak()` without user activation is deprecated and will be removed.",
|
|
219
211
|
/**
|
|
220
|
-
* @description A deprecation warning shown in the DevTools Issues tab.
|
|
212
|
+
* @description A deprecation warning shown in the DevTools Issues tab. It's shown when a listener for the `unload` event is added.
|
|
221
213
|
*/
|
|
222
|
-
|
|
214
|
+
UnloadHandler: "Unload event listeners are deprecated and will be removed.",
|
|
223
215
|
/**
|
|
224
|
-
* @description
|
|
216
|
+
* @description A deprecation warning shown in the DevTools Issues tab. The placeholder is always the noun 'SharedArrayBuffer' which refers to a JavaScript construct. 'Extensions' refers to Chrome extensions. The warning is shown when Chrome Extensions attempt to use 'SharedArrayBuffer's under insecure circumstances.
|
|
225
217
|
*/
|
|
226
|
-
|
|
218
|
+
V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.",
|
|
227
219
|
/**
|
|
228
|
-
* @description
|
|
220
|
+
* @description This warning occurs when the website attempts to use the deprecated WebGPU limit `maxInterStageShaderComponents`.
|
|
229
221
|
*/
|
|
230
|
-
|
|
222
|
+
WebGPULimitMaxInterStageShaderComponents: "The WebGPU limit `maxInterStageShaderComponents` is deprecated, instead use the WebGPU limit `maxInterStageShaderVariables`.",
|
|
231
223
|
/**
|
|
232
|
-
* @description
|
|
224
|
+
* @description Warning displayed to developers when the Web SQL API is used to let them know this API is deprecated.
|
|
233
225
|
*/
|
|
234
|
-
|
|
226
|
+
WebSQL: "Web SQL is deprecated. Please use SQLite WebAssembly or Indexed Database",
|
|
235
227
|
/**
|
|
236
228
|
* @description Warning displayed to developers that they are using `XMLHttpRequest` API in a way that they expect an unsupported character encoding `UTF-16` could be used in the server reply.
|
|
237
229
|
*/
|
|
@@ -257,6 +249,9 @@ export const DEPRECATIONS_METADATA = {
|
|
|
257
249
|
"CSSSelectorInternalMediaControlsOverlayCastButton": {
|
|
258
250
|
"chromeStatusFeature": 5714245488476160
|
|
259
251
|
},
|
|
252
|
+
"CSSValueAppearanceSliderVertical": {
|
|
253
|
+
"chromeStatusFeature": 6001359429566464
|
|
254
|
+
},
|
|
260
255
|
"CanRequestURLHTTPContainingNewline": {
|
|
261
256
|
"chromeStatusFeature": 5735596811091968
|
|
262
257
|
},
|
|
@@ -283,13 +278,6 @@ export const DEPRECATIONS_METADATA = {
|
|
|
283
278
|
"chromeStatusFeature": 5128825141198848,
|
|
284
279
|
"milestone": 119
|
|
285
280
|
},
|
|
286
|
-
"DocumentDomainSettingWithoutOriginAgentClusterHeader": {
|
|
287
|
-
"milestone": 115
|
|
288
|
-
},
|
|
289
|
-
"ExpectCTHeader": {
|
|
290
|
-
"chromeStatusFeature": 6244547273687040,
|
|
291
|
-
"milestone": 107
|
|
292
|
-
},
|
|
293
281
|
"IdentityInCanMakePaymentEvent": {
|
|
294
282
|
"chromeStatusFeature": 5190978431352832
|
|
295
283
|
},
|
|
@@ -310,10 +298,6 @@ export const DEPRECATIONS_METADATA = {
|
|
|
310
298
|
"chromeStatusFeature": 5138066234671104,
|
|
311
299
|
"milestone": 82
|
|
312
300
|
},
|
|
313
|
-
"NonStandardDeclarativeShadowDOM": {
|
|
314
|
-
"chromeStatusFeature": 6239658726391808,
|
|
315
|
-
"milestone": 119
|
|
316
|
-
},
|
|
317
301
|
"NotificationPermissionRequestedIframe": {
|
|
318
302
|
"chromeStatusFeature": 6451284559265792
|
|
319
303
|
},
|
|
@@ -361,21 +345,19 @@ export const DEPRECATIONS_METADATA = {
|
|
|
361
345
|
"chromeStatusFeature": 5687444770914304,
|
|
362
346
|
"milestone": 71
|
|
363
347
|
},
|
|
348
|
+
"UnloadHandler": {
|
|
349
|
+
"chromeStatusFeature": 5579556305502208
|
|
350
|
+
},
|
|
364
351
|
"V8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
|
|
365
352
|
"milestone": 96
|
|
366
353
|
},
|
|
354
|
+
"WebGPULimitMaxInterStageShaderComponents": {
|
|
355
|
+
"chromeStatusFeature": 4853767735083008
|
|
356
|
+
},
|
|
367
357
|
"WebSQL": {
|
|
368
358
|
"chromeStatusFeature": 5134293578285056,
|
|
369
359
|
"milestone": 115
|
|
370
360
|
},
|
|
371
|
-
"WindowPlacementPermissionDescriptorUsed": {
|
|
372
|
-
"chromeStatusFeature": 5137018030391296,
|
|
373
|
-
"milestone": 112
|
|
374
|
-
},
|
|
375
|
-
"WindowPlacementPermissionPolicyParsed": {
|
|
376
|
-
"chromeStatusFeature": 5137018030391296,
|
|
377
|
-
"milestone": 112
|
|
378
|
-
},
|
|
379
361
|
"XHRJSONEncodingDetection": {
|
|
380
362
|
"milestone": 93
|
|
381
363
|
},
|
package/core/lib/i18n/i18n.d.ts
CHANGED
package/core/lib/i18n/i18n.js
CHANGED
|
@@ -67,6 +67,8 @@ const UIStrings = {
|
|
|
67
67
|
columnFailingElem: 'Failing Elements',
|
|
68
68
|
/** Label for a column in a data table; entries will be a description of the table item. */
|
|
69
69
|
columnDescription: 'Description',
|
|
70
|
+
/** Label for a row in a data table; the row represents the total number of something. */
|
|
71
|
+
total: 'Total',
|
|
70
72
|
/** Label for a row in a data table; entries will be the total number and byte size of all resources loaded by a web page. */
|
|
71
73
|
totalResourceType: 'Total',
|
|
72
74
|
/** Label for a row in a data table; entries will be the total number and byte size of all 'Document' resources loaded by a web page. */
|
|
@@ -7,5 +7,6 @@ export type SaneSyntheticLayoutShift = SyntheticLayoutShift & {
|
|
|
7
7
|
export const TraceProcessor: typeof TraceEngine.Processor.TraceProcessor;
|
|
8
8
|
export const TraceHandlers: typeof TraceEngine.Handlers.ModelHandlers;
|
|
9
9
|
export const RootCauses: typeof TraceEngine.RootCauses.RootCauses.RootCauses;
|
|
10
|
+
export const Insights: typeof TraceEngine.Insights;
|
|
10
11
|
import * as TraceEngine from '@paulirish/trace_engine';
|
|
11
12
|
//# sourceMappingURL=trace-engine.d.ts.map
|
package/core/lib/trace-engine.js
CHANGED
|
@@ -10,9 +10,11 @@ polyfillDOMRect();
|
|
|
10
10
|
const TraceProcessor = TraceEngine.Processor.TraceProcessor;
|
|
11
11
|
const TraceHandlers = TraceEngine.Handlers.ModelHandlers;
|
|
12
12
|
const RootCauses = TraceEngine.RootCauses.RootCauses.RootCauses;
|
|
13
|
+
const Insights = TraceEngine.Insights;
|
|
13
14
|
|
|
14
15
|
export {
|
|
15
16
|
TraceProcessor,
|
|
16
17
|
TraceHandlers,
|
|
17
18
|
RootCauses,
|
|
19
|
+
Insights,
|
|
18
20
|
};
|
package/core/runner.js
CHANGED
|
@@ -484,6 +484,7 @@ vs
|
|
|
484
484
|
'multi-check-audit.js',
|
|
485
485
|
'byte-efficiency/byte-efficiency-audit.js',
|
|
486
486
|
'manual/manual-audit.js',
|
|
487
|
+
'insights/insight-audit.js',
|
|
487
488
|
];
|
|
488
489
|
|
|
489
490
|
const fileList = [
|
|
@@ -499,6 +500,7 @@ vs
|
|
|
499
500
|
...fs.readdirSync(path.join(moduleDir, './audits/byte-efficiency'))
|
|
500
501
|
.map(f => `byte-efficiency/${f}`),
|
|
501
502
|
...fs.readdirSync(path.join(moduleDir, './audits/manual')).map(f => `manual/${f}`),
|
|
503
|
+
...fs.readdirSync(path.join(moduleDir, './audits/insights')).map(f => `insights/${f}`),
|
|
502
504
|
];
|
|
503
505
|
return fileList.filter(f => {
|
|
504
506
|
return /\.js$/.test(f) && !ignoredFiles.includes(f);
|