lighthouse 12.8.1-dev.20250827 → 12.8.2
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/non-composited-animations.d.ts +1 -0
- package/core/audits/non-composited-animations.js +43 -5
- package/core/lib/bf-cache-strings.js +5 -0
- package/core/lib/deprecations-strings.d.ts +54 -74
- package/core/lib/deprecations-strings.js +7 -29
- package/dist/report/flow.js +1 -1
- package/package.json +8 -8
- package/shared/localization/locales/el.json +1 -1
- package/shared/localization/locales/en-US.json +3 -0
- package/shared/localization/locales/en-XL.json +3 -0
- package/shared/localization/locales/sr-Latn.json +2 -2
- package/shared/localization/locales/sr.json +2 -2
- package/shared/localization/locales/th.json +6 -6
- package/shared/localization/locales/zh.json +1 -1
|
@@ -11,6 +11,7 @@ export namespace UIStrings {
|
|
|
11
11
|
let description: string;
|
|
12
12
|
let displayValue: string;
|
|
13
13
|
let unsupportedCSSProperty: string;
|
|
14
|
+
let unsupportedCustomCSSProperty: string;
|
|
14
15
|
let transformDependsBoxSize: string;
|
|
15
16
|
let filterMayMovePixels: string;
|
|
16
17
|
let nonReplaceCompositeMode: string;
|
|
@@ -32,6 +32,14 @@ const UIStrings = {
|
|
|
32
32
|
=1 {Unsupported CSS Property: {properties}}
|
|
33
33
|
other {Unsupported CSS Properties: {properties}}
|
|
34
34
|
}`,
|
|
35
|
+
/**
|
|
36
|
+
* @description [ICU Syntax] Descriptive reason for why a user-provided animation failed to be optimized by the browser due to custom CSS properties (CSS variables) not being supported on the compositor. Shown in a table with a list of other potential failure reasons.
|
|
37
|
+
* @example {--swing-y, --rotation} properties
|
|
38
|
+
*/
|
|
39
|
+
unsupportedCustomCSSProperty: `{propertyCount, plural,
|
|
40
|
+
=1 {Custom CSS properties cannot be animated on the compositor: {properties}}
|
|
41
|
+
other {Custom CSS properties cannot be animated on the compositor: {properties}}
|
|
42
|
+
}`,
|
|
35
43
|
/** Descriptive reason for why a user-provided animation failed to be optimized by the browser due to a `transform` property being dependent on the size of the element itself. Shown in a table with a list of other potential failure reasons. */
|
|
36
44
|
transformDependsBoxSize: 'Transform-related property depends on box size',
|
|
37
45
|
/** Descriptive reason for why a user-provided animation failed to be optimized by the browser due to a `filter` property possibly moving pixels. Shown in a table with a list of other potential failure reasons. */
|
|
@@ -90,14 +98,44 @@ function getActionableFailureReasons(failureCode, unsupportedProperties) {
|
|
|
90
98
|
return ACTIONABLE_FAILURE_REASONS
|
|
91
99
|
.filter(reason => failureCode & reason.flag)
|
|
92
100
|
.map(reason => {
|
|
101
|
+
// Handle both regular CSS properties and custom CSS properties
|
|
93
102
|
if (reason.text === UIStrings.unsupportedCSSProperty) {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
103
|
+
const customProperties = new Set();
|
|
104
|
+
const nonCustomProperties = new Set();
|
|
105
|
+
|
|
106
|
+
// Separate custom properties (starting with '--') from regular properties
|
|
107
|
+
for (const property of unsupportedProperties) {
|
|
108
|
+
if (property.startsWith('--')) {
|
|
109
|
+
customProperties.add(property);
|
|
110
|
+
} else {
|
|
111
|
+
nonCustomProperties.add(property);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
const reasons = [];
|
|
116
|
+
|
|
117
|
+
// Add regular CSS properties message if any exist
|
|
118
|
+
if (nonCustomProperties.size > 0) {
|
|
119
|
+
reasons.push(str_(UIStrings.unsupportedCSSProperty, {
|
|
120
|
+
propertyCount: nonCustomProperties.size,
|
|
121
|
+
properties: Array.from(nonCustomProperties).join(', '),
|
|
122
|
+
}));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Add custom CSS properties message if any exist
|
|
126
|
+
if (customProperties.size > 0) {
|
|
127
|
+
reasons.push(str_(UIStrings.unsupportedCustomCSSProperty, {
|
|
128
|
+
propertyCount: customProperties.size,
|
|
129
|
+
properties: Array.from(customProperties).join(', '),
|
|
130
|
+
}));
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return reasons;
|
|
98
134
|
}
|
|
135
|
+
|
|
99
136
|
return str_(reason.text);
|
|
100
|
-
})
|
|
137
|
+
})
|
|
138
|
+
.flat(); // Flatten array since we might return multiple messages for unsupported properties
|
|
101
139
|
}
|
|
102
140
|
|
|
103
141
|
class NonCompositedAnimations extends Audit {
|
|
@@ -284,6 +284,10 @@ const UIStrings = {
|
|
|
284
284
|
* @description Description text for not restored reason SharedWorker.
|
|
285
285
|
*/
|
|
286
286
|
sharedWorker: 'Pages that use SharedWorker are not currently eligible for back/forward cache.',
|
|
287
|
+
/**
|
|
288
|
+
* @description Description text for not restored reason SharedWorkerMessage.
|
|
289
|
+
*/
|
|
290
|
+
sharedWorkerMessage: 'The page was evicted from the cache because it received a message from a SharedWorker',
|
|
287
291
|
/**
|
|
288
292
|
* @description Description text for not restored reason WebLocks.
|
|
289
293
|
*/
|
|
@@ -626,6 +630,7 @@ const NotRestoredReasonDescription = {
|
|
|
626
630
|
IndexedDBConnection: {name: str_(UIStrings.indexedDBConnection)},
|
|
627
631
|
WebXR: {name: str_(UIStrings.webXR)},
|
|
628
632
|
SharedWorker: {name: str_(UIStrings.sharedWorker)},
|
|
633
|
+
SharedWorkerMessage: {name: str_(UIStrings.sharedWorkerMessage)},
|
|
629
634
|
WebLocks: {name: str_(UIStrings.webLocks)},
|
|
630
635
|
WebHID: {name: str_(UIStrings.webHID)},
|
|
631
636
|
WebShare: {name: str_(UIStrings.webShare)},
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export namespace UIStrings {
|
|
2
2
|
let AuthorizationCoveredByWildcard: string;
|
|
3
3
|
let CanRequestURLHTTPContainingNewline: string;
|
|
4
|
-
let CharsetAutoDetectionISO2022JP: string;
|
|
5
4
|
let ChromeLoadTimesConnectionInfo: string;
|
|
6
5
|
let ChromeLoadTimesFirstPaintAfterLoadTime: string;
|
|
7
6
|
let ChromeLoadTimesWasAlternateProtocolAvailable: string;
|
|
@@ -15,9 +14,7 @@ export namespace UIStrings {
|
|
|
15
14
|
let GeolocationInsecureOrigin: string;
|
|
16
15
|
let GeolocationInsecureOriginDeprecatedNotRemoved: string;
|
|
17
16
|
let GetUserMediaInsecureOrigin: string;
|
|
18
|
-
let H1UserAgentFontSizeInSection: string;
|
|
19
17
|
let HostCandidateAttributeGetter: string;
|
|
20
|
-
let IdentityDigitalCredentials: string;
|
|
21
18
|
let IdentityInCanMakePaymentEvent: string;
|
|
22
19
|
let InsecurePrivateNetworkSubresourceRequest: string;
|
|
23
20
|
let InterestGroupDailyUpdateUrl: string;
|
|
@@ -31,6 +28,7 @@ export namespace UIStrings {
|
|
|
31
28
|
let ObsoleteCreateImageBitmapImageOrientationNone: string;
|
|
32
29
|
let ObsoleteWebRtcCipherSuite: string;
|
|
33
30
|
let OverflowVisibleOnReplacedElement: string;
|
|
31
|
+
let OverrideFlashEmbedwithHTML: string;
|
|
34
32
|
let PaymentInstruments: string;
|
|
35
33
|
let PaymentRequestCSPViolation: string;
|
|
36
34
|
let PersistentQuotaType: string;
|
|
@@ -54,7 +52,6 @@ export namespace UIStrings {
|
|
|
54
52
|
let TextToSpeech_DisallowedByAutoplay: string;
|
|
55
53
|
let UnloadHandler: string;
|
|
56
54
|
let V8SharedArrayBufferConstructedInExtensionWithoutIsolation: string;
|
|
57
|
-
let WebGPUAdapterIsFallbackAdapter: string;
|
|
58
55
|
let XHRJSONEncodingDetection: string;
|
|
59
56
|
let XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: string;
|
|
60
57
|
}
|
|
@@ -77,24 +74,19 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
77
74
|
export { chromeStatusFeature_2 as chromeStatusFeature };
|
|
78
75
|
}
|
|
79
76
|
export { CanRequestURLHTTPContainingNewline_1 as CanRequestURLHTTPContainingNewline };
|
|
80
|
-
export namespace
|
|
77
|
+
export namespace ChromeLoadTimesConnectionInfo_1 {
|
|
81
78
|
let chromeStatusFeature_3: number;
|
|
82
79
|
export { chromeStatusFeature_3 as chromeStatusFeature };
|
|
83
80
|
}
|
|
84
|
-
export { CharsetAutoDetectionISO2022JP_1 as CharsetAutoDetectionISO2022JP };
|
|
85
|
-
export namespace ChromeLoadTimesConnectionInfo_1 {
|
|
86
|
-
let chromeStatusFeature_4: number;
|
|
87
|
-
export { chromeStatusFeature_4 as chromeStatusFeature };
|
|
88
|
-
}
|
|
89
81
|
export { ChromeLoadTimesConnectionInfo_1 as ChromeLoadTimesConnectionInfo };
|
|
90
82
|
export namespace ChromeLoadTimesFirstPaintAfterLoadTime_1 {
|
|
91
|
-
let
|
|
92
|
-
export {
|
|
83
|
+
let chromeStatusFeature_4: number;
|
|
84
|
+
export { chromeStatusFeature_4 as chromeStatusFeature };
|
|
93
85
|
}
|
|
94
86
|
export { ChromeLoadTimesFirstPaintAfterLoadTime_1 as ChromeLoadTimesFirstPaintAfterLoadTime };
|
|
95
87
|
export namespace ChromeLoadTimesWasAlternateProtocolAvailable_1 {
|
|
96
|
-
let
|
|
97
|
-
export {
|
|
88
|
+
let chromeStatusFeature_5: number;
|
|
89
|
+
export { chromeStatusFeature_5 as chromeStatusFeature };
|
|
98
90
|
}
|
|
99
91
|
export { ChromeLoadTimesWasAlternateProtocolAvailable_1 as ChromeLoadTimesWasAlternateProtocolAvailable };
|
|
100
92
|
export namespace CookieWithTruncatingChar_1 {
|
|
@@ -108,93 +100,86 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
108
100
|
}
|
|
109
101
|
export { CrossOriginAccessBasedOnDocumentDomain_1 as CrossOriginAccessBasedOnDocumentDomain };
|
|
110
102
|
export namespace DataUrlInSvgUse_1 {
|
|
111
|
-
let
|
|
112
|
-
export {
|
|
103
|
+
let chromeStatusFeature_6: number;
|
|
104
|
+
export { chromeStatusFeature_6 as chromeStatusFeature };
|
|
113
105
|
let milestone_3: number;
|
|
114
106
|
export { milestone_3 as milestone };
|
|
115
107
|
}
|
|
116
108
|
export { DataUrlInSvgUse_1 as DataUrlInSvgUse };
|
|
117
|
-
export namespace H1UserAgentFontSizeInSection_1 {
|
|
118
|
-
let chromeStatusFeature_8: number;
|
|
119
|
-
export { chromeStatusFeature_8 as chromeStatusFeature };
|
|
120
|
-
let milestone_4: number;
|
|
121
|
-
export { milestone_4 as milestone };
|
|
122
|
-
}
|
|
123
|
-
export { H1UserAgentFontSizeInSection_1 as H1UserAgentFontSizeInSection };
|
|
124
|
-
export namespace IdentityDigitalCredentials_1 {
|
|
125
|
-
let chromeStatusFeature_9: number;
|
|
126
|
-
export { chromeStatusFeature_9 as chromeStatusFeature };
|
|
127
|
-
}
|
|
128
|
-
export { IdentityDigitalCredentials_1 as IdentityDigitalCredentials };
|
|
129
109
|
export namespace IdentityInCanMakePaymentEvent_1 {
|
|
130
|
-
let
|
|
131
|
-
export {
|
|
110
|
+
let chromeStatusFeature_7: number;
|
|
111
|
+
export { chromeStatusFeature_7 as chromeStatusFeature };
|
|
132
112
|
}
|
|
133
113
|
export { IdentityInCanMakePaymentEvent_1 as IdentityInCanMakePaymentEvent };
|
|
134
114
|
export namespace InsecurePrivateNetworkSubresourceRequest_1 {
|
|
135
|
-
let
|
|
136
|
-
export {
|
|
137
|
-
let
|
|
138
|
-
export {
|
|
115
|
+
let chromeStatusFeature_8: number;
|
|
116
|
+
export { chromeStatusFeature_8 as chromeStatusFeature };
|
|
117
|
+
let milestone_4: number;
|
|
118
|
+
export { milestone_4 as milestone };
|
|
139
119
|
}
|
|
140
120
|
export { InsecurePrivateNetworkSubresourceRequest_1 as InsecurePrivateNetworkSubresourceRequest };
|
|
141
121
|
export namespace LocalCSSFileExtensionRejected_1 {
|
|
142
|
-
let
|
|
143
|
-
export {
|
|
122
|
+
let milestone_5: number;
|
|
123
|
+
export { milestone_5 as milestone };
|
|
144
124
|
}
|
|
145
125
|
export { LocalCSSFileExtensionRejected_1 as LocalCSSFileExtensionRejected };
|
|
146
126
|
export namespace MediaSourceAbortRemove_1 {
|
|
147
|
-
let
|
|
148
|
-
export {
|
|
127
|
+
let chromeStatusFeature_9: number;
|
|
128
|
+
export { chromeStatusFeature_9 as chromeStatusFeature };
|
|
149
129
|
}
|
|
150
130
|
export { MediaSourceAbortRemove_1 as MediaSourceAbortRemove };
|
|
151
131
|
export namespace MediaSourceDurationTruncatingBuffered_1 {
|
|
152
|
-
let
|
|
153
|
-
export {
|
|
132
|
+
let chromeStatusFeature_10: number;
|
|
133
|
+
export { chromeStatusFeature_10 as chromeStatusFeature };
|
|
154
134
|
}
|
|
155
135
|
export { MediaSourceDurationTruncatingBuffered_1 as MediaSourceDurationTruncatingBuffered };
|
|
156
136
|
export namespace NoSysexWebMIDIWithoutPermission_1 {
|
|
157
|
-
let
|
|
158
|
-
export {
|
|
159
|
-
let
|
|
160
|
-
export {
|
|
137
|
+
let chromeStatusFeature_11: number;
|
|
138
|
+
export { chromeStatusFeature_11 as chromeStatusFeature };
|
|
139
|
+
let milestone_6: number;
|
|
140
|
+
export { milestone_6 as milestone };
|
|
161
141
|
}
|
|
162
142
|
export { NoSysexWebMIDIWithoutPermission_1 as NoSysexWebMIDIWithoutPermission };
|
|
163
143
|
export namespace NotificationPermissionRequestedIframe_1 {
|
|
164
|
-
let
|
|
165
|
-
export {
|
|
144
|
+
let chromeStatusFeature_12: number;
|
|
145
|
+
export { chromeStatusFeature_12 as chromeStatusFeature };
|
|
166
146
|
}
|
|
167
147
|
export { NotificationPermissionRequestedIframe_1 as NotificationPermissionRequestedIframe };
|
|
168
148
|
export namespace ObsoleteCreateImageBitmapImageOrientationNone_1 {
|
|
169
|
-
let
|
|
170
|
-
export {
|
|
149
|
+
let milestone_7: number;
|
|
150
|
+
export { milestone_7 as milestone };
|
|
171
151
|
}
|
|
172
152
|
export { ObsoleteCreateImageBitmapImageOrientationNone_1 as ObsoleteCreateImageBitmapImageOrientationNone };
|
|
173
153
|
export namespace ObsoleteWebRtcCipherSuite_1 {
|
|
174
|
-
let
|
|
175
|
-
export {
|
|
154
|
+
let milestone_8: number;
|
|
155
|
+
export { milestone_8 as milestone };
|
|
176
156
|
}
|
|
177
157
|
export { ObsoleteWebRtcCipherSuite_1 as ObsoleteWebRtcCipherSuite };
|
|
178
158
|
export namespace OverflowVisibleOnReplacedElement_1 {
|
|
179
|
-
let
|
|
180
|
-
export {
|
|
159
|
+
let chromeStatusFeature_13: number;
|
|
160
|
+
export { chromeStatusFeature_13 as chromeStatusFeature };
|
|
161
|
+
let milestone_9: number;
|
|
162
|
+
export { milestone_9 as milestone };
|
|
163
|
+
}
|
|
164
|
+
export { OverflowVisibleOnReplacedElement_1 as OverflowVisibleOnReplacedElement };
|
|
165
|
+
export namespace OverrideFlashEmbedwithHTML_1 {
|
|
181
166
|
let milestone_10: number;
|
|
182
167
|
export { milestone_10 as milestone };
|
|
183
168
|
}
|
|
184
|
-
export {
|
|
169
|
+
export { OverrideFlashEmbedwithHTML_1 as OverrideFlashEmbedwithHTML };
|
|
185
170
|
export namespace PaymentInstruments_1 {
|
|
186
|
-
let
|
|
187
|
-
export {
|
|
171
|
+
let chromeStatusFeature_14: number;
|
|
172
|
+
export { chromeStatusFeature_14 as chromeStatusFeature };
|
|
188
173
|
}
|
|
189
174
|
export { PaymentInstruments_1 as PaymentInstruments };
|
|
190
175
|
export namespace PaymentRequestCSPViolation_1 {
|
|
191
|
-
let
|
|
192
|
-
export {
|
|
176
|
+
let chromeStatusFeature_15: number;
|
|
177
|
+
export { chromeStatusFeature_15 as chromeStatusFeature };
|
|
193
178
|
}
|
|
194
179
|
export { PaymentRequestCSPViolation_1 as PaymentRequestCSPViolation };
|
|
195
180
|
export namespace PersistentQuotaType_1 {
|
|
196
|
-
let
|
|
197
|
-
export {
|
|
181
|
+
let chromeStatusFeature_16: number;
|
|
182
|
+
export { chromeStatusFeature_16 as chromeStatusFeature };
|
|
198
183
|
let milestone_11: number;
|
|
199
184
|
export { milestone_11 as milestone };
|
|
200
185
|
}
|
|
@@ -210,20 +195,20 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
210
195
|
}
|
|
211
196
|
export { RTCConstraintEnableDtlsSrtpTrue_1 as RTCConstraintEnableDtlsSrtpTrue };
|
|
212
197
|
export namespace RTCPeerConnectionGetStatsLegacyNonCompliant_1 {
|
|
213
|
-
let
|
|
214
|
-
export {
|
|
198
|
+
let chromeStatusFeature_17: number;
|
|
199
|
+
export { chromeStatusFeature_17 as chromeStatusFeature };
|
|
215
200
|
let milestone_14: number;
|
|
216
201
|
export { milestone_14 as milestone };
|
|
217
202
|
}
|
|
218
203
|
export { RTCPeerConnectionGetStatsLegacyNonCompliant_1 as RTCPeerConnectionGetStatsLegacyNonCompliant };
|
|
219
204
|
export namespace RequestedSubresourceWithEmbeddedCredentials_1 {
|
|
220
|
-
let
|
|
221
|
-
export {
|
|
205
|
+
let chromeStatusFeature_18: number;
|
|
206
|
+
export { chromeStatusFeature_18 as chromeStatusFeature };
|
|
222
207
|
}
|
|
223
208
|
export { RequestedSubresourceWithEmbeddedCredentials_1 as RequestedSubresourceWithEmbeddedCredentials };
|
|
224
209
|
export namespace RtcpMuxPolicyNegotiate_1 {
|
|
225
|
-
let
|
|
226
|
-
export {
|
|
210
|
+
let chromeStatusFeature_19: number;
|
|
211
|
+
export { chromeStatusFeature_19 as chromeStatusFeature };
|
|
227
212
|
let milestone_15: number;
|
|
228
213
|
export { milestone_15 as milestone };
|
|
229
214
|
}
|
|
@@ -234,15 +219,15 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
234
219
|
}
|
|
235
220
|
export { SharedArrayBufferConstructedWithoutIsolation_1 as SharedArrayBufferConstructedWithoutIsolation };
|
|
236
221
|
export namespace TextToSpeech_DisallowedByAutoplay_1 {
|
|
237
|
-
let
|
|
238
|
-
export {
|
|
222
|
+
let chromeStatusFeature_20: number;
|
|
223
|
+
export { chromeStatusFeature_20 as chromeStatusFeature };
|
|
239
224
|
let milestone_17: number;
|
|
240
225
|
export { milestone_17 as milestone };
|
|
241
226
|
}
|
|
242
227
|
export { TextToSpeech_DisallowedByAutoplay_1 as TextToSpeech_DisallowedByAutoplay };
|
|
243
228
|
export namespace UnloadHandler_1 {
|
|
244
|
-
let
|
|
245
|
-
export {
|
|
229
|
+
let chromeStatusFeature_21: number;
|
|
230
|
+
export { chromeStatusFeature_21 as chromeStatusFeature };
|
|
246
231
|
}
|
|
247
232
|
export { UnloadHandler_1 as UnloadHandler };
|
|
248
233
|
export namespace V8SharedArrayBufferConstructedInExtensionWithoutIsolation_1 {
|
|
@@ -250,11 +235,6 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
250
235
|
export { milestone_18 as milestone };
|
|
251
236
|
}
|
|
252
237
|
export { V8SharedArrayBufferConstructedInExtensionWithoutIsolation_1 as V8SharedArrayBufferConstructedInExtensionWithoutIsolation };
|
|
253
|
-
export namespace WebGPUAdapterIsFallbackAdapter_1 {
|
|
254
|
-
let chromeStatusFeature_25: number;
|
|
255
|
-
export { chromeStatusFeature_25 as chromeStatusFeature };
|
|
256
|
-
}
|
|
257
|
-
export { WebGPUAdapterIsFallbackAdapter_1 as WebGPUAdapterIsFallbackAdapter };
|
|
258
238
|
export namespace XHRJSONEncodingDetection_1 {
|
|
259
239
|
let milestone_19: number;
|
|
260
240
|
export { milestone_19 as milestone };
|
|
@@ -16,10 +16,6 @@ export const UIStrings = {
|
|
|
16
16
|
* @description This warning occurs when a page attempts to request a resource whose URL contained both a newline character (`\n` or `\r`), and a less-than character (`<`). These resources are blocked.
|
|
17
17
|
*/
|
|
18
18
|
CanRequestURLHTTPContainingNewline: "Resource requests whose URLs contained both removed whitespace `(n|r|t)` characters and less-than characters (`<`) are blocked. Please remove newlines and encode less-than characters from places like element attribute values in order to load these resources.",
|
|
19
|
-
/**
|
|
20
|
-
* @description Warning displayed to developers that they did not specify character encoding for HTML document, and that auto-detection of specific character set (i.e. ISO-2022-JP) used by the webiste won't be supported in the near futre.
|
|
21
|
-
*/
|
|
22
|
-
CharsetAutoDetectionISO2022JP: "Auto-detection of ISO-2022-JP character set is deprecated and it will be disabled in the near future. Please specify character set in the Content Type header or by using a meta tag (https://developer.mozilla.org/en-US/docs/Glossary/Character_encoding).",
|
|
23
19
|
/**
|
|
24
20
|
* @description This warning occurs when the website attempts to invoke the deprecated `chrome.loadTimes().connectionInfo` API.
|
|
25
21
|
*/
|
|
@@ -72,18 +68,10 @@ export const UIStrings = {
|
|
|
72
68
|
* @description This warning occurs when the `getUserMedia()` API is invoked on an insecure (e.g., HTTP) site. This is only permitted on secure sites (e.g., HTTPS).
|
|
73
69
|
*/
|
|
74
70
|
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.",
|
|
75
|
-
/**
|
|
76
|
-
* @description This warning occurs when a site uses <h1> inside <article>, <aside>, <nav>, or <section>. It means the behavior (font size) may change in a future Chrome release, when some special rules are removed from the browser.
|
|
77
|
-
*/
|
|
78
|
-
H1UserAgentFontSizeInSection: "Found an <h1> tag within an <article>, <aside>, <nav>, or <section> which does not have a specified font-size. The size of this heading text will be changing in this browser in the near future. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#specifying_a_uniform_font_size_for_h1 for more information.",
|
|
79
71
|
/**
|
|
80
72
|
* @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
73
|
*/
|
|
82
74
|
HostCandidateAttributeGetter: "`RTCPeerConnectionIceErrorEvent.hostCandidate` is deprecated. Please use `RTCPeerConnectionIceErrorEvent.address` or `RTCPeerConnectionIceErrorEvent.port` instead.",
|
|
83
|
-
/**
|
|
84
|
-
* @description A deprecation warning shown in the DevTools Issues tab, when a request for digital credentials API is formatted using a deprecated format.
|
|
85
|
-
*/
|
|
86
|
-
IdentityDigitalCredentials: "This format for the navigator.credentials.get() request for digital credentials is deprecated, please update your call to use the new format.",
|
|
87
75
|
/**
|
|
88
76
|
* @description A deprecation warning shown in the DevTools Issues tab, when a service worker reads one of the fields from an event named 'canmakepayment'.
|
|
89
77
|
*/
|
|
@@ -136,6 +124,10 @@ export const UIStrings = {
|
|
|
136
124
|
* @description Warning displayed to developers that use overflow:visible for replaced elements. This declaration was earlier ignored but will now change the element's painting based on whether the overflow value allows the element to paint outside its bounds.
|
|
137
125
|
*/
|
|
138
126
|
OverflowVisibleOnReplacedElement: "Specifying `overflow: visible` on img, video and canvas tags may cause them to produce visual content outside of the element bounds. See https://github.com/WICG/shared-element-transitions/blob/main/debugging_overflow_on_images.md.",
|
|
127
|
+
/**
|
|
128
|
+
* @description Warning displayed to developers when they use a Flash Embed URLS to let them know that the browser will not automatically link to their equivalent HTML5 link.
|
|
129
|
+
*/
|
|
130
|
+
OverrideFlashEmbedwithHTML: "Legacy flash video embed has been rewritten to HTML iframe. Flash is long gone, this rewriting hack is deprecated and may be removed in the future.",
|
|
139
131
|
/**
|
|
140
132
|
* @description Warning displayed to developers when they use the PaymentInstruments API to let them know this API is deprecated.
|
|
141
133
|
*/
|
|
@@ -228,10 +220,6 @@ export const UIStrings = {
|
|
|
228
220
|
* @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.
|
|
229
221
|
*/
|
|
230
222
|
V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.",
|
|
231
|
-
/**
|
|
232
|
-
* @description This warning occurs when the website attempts to use the deprecated GPUAdapter `isFallbackAdapter` attribute.
|
|
233
|
-
*/
|
|
234
|
-
WebGPUAdapterIsFallbackAdapter: "The GPUAdapter `isFallbackAdapter` attribute is deprecated, instead use the GPUAdapterInfo `isFallbackAdapter` attribute.",
|
|
235
223
|
/**
|
|
236
224
|
* @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
225
|
*/
|
|
@@ -259,9 +247,6 @@ export const DEPRECATIONS_METADATA = {
|
|
|
259
247
|
"CanRequestURLHTTPContainingNewline": {
|
|
260
248
|
"chromeStatusFeature": 5735596811091968
|
|
261
249
|
},
|
|
262
|
-
"CharsetAutoDetectionISO2022JP": {
|
|
263
|
-
"chromeStatusFeature": 6576566521561088
|
|
264
|
-
},
|
|
265
250
|
"ChromeLoadTimesConnectionInfo": {
|
|
266
251
|
"chromeStatusFeature": 5637885046816768
|
|
267
252
|
},
|
|
@@ -281,13 +266,6 @@ export const DEPRECATIONS_METADATA = {
|
|
|
281
266
|
"chromeStatusFeature": 5128825141198848,
|
|
282
267
|
"milestone": 119
|
|
283
268
|
},
|
|
284
|
-
"H1UserAgentFontSizeInSection": {
|
|
285
|
-
"chromeStatusFeature": 6192419898654720,
|
|
286
|
-
"milestone": 136
|
|
287
|
-
},
|
|
288
|
-
"IdentityDigitalCredentials": {
|
|
289
|
-
"chromeStatusFeature": 5166035265650688
|
|
290
|
-
},
|
|
291
269
|
"IdentityInCanMakePaymentEvent": {
|
|
292
270
|
"chromeStatusFeature": 5190978431352832
|
|
293
271
|
},
|
|
@@ -321,6 +299,9 @@ export const DEPRECATIONS_METADATA = {
|
|
|
321
299
|
"chromeStatusFeature": 5137515594383360,
|
|
322
300
|
"milestone": 108
|
|
323
301
|
},
|
|
302
|
+
"OverrideFlashEmbedwithHTML": {
|
|
303
|
+
"milestone": 140
|
|
304
|
+
},
|
|
324
305
|
"PaymentInstruments": {
|
|
325
306
|
"chromeStatusFeature": 5099285054488576
|
|
326
307
|
},
|
|
@@ -361,9 +342,6 @@ export const DEPRECATIONS_METADATA = {
|
|
|
361
342
|
"V8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
|
|
362
343
|
"milestone": 96
|
|
363
344
|
},
|
|
364
|
-
"WebGPUAdapterIsFallbackAdapter": {
|
|
365
|
-
"chromeStatusFeature": 4870179714236416
|
|
366
|
-
},
|
|
367
345
|
"XHRJSONEncodingDetection": {
|
|
368
346
|
"milestone": 93
|
|
369
347
|
}
|