lighthouse 10.3.0-dev.20230709 → 10.4.0
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/frontends/smokehouse-bin.js +19 -13
- package/cli/test/smokehouse/lighthouse-runners/bundle.js +3 -5
- package/core/audits/long-tasks.d.ts +48 -0
- package/core/audits/long-tasks.js +146 -19
- package/dist/report/flow.js +1 -1
- package/package.json +1 -1
- package/shared/localization/locales/ar-XB.json +233 -2
- package/shared/localization/locales/ar.json +233 -2
- package/shared/localization/locales/bg.json +233 -2
- package/shared/localization/locales/ca.json +233 -2
- package/shared/localization/locales/cs.json +246 -15
- package/shared/localization/locales/da.json +239 -8
- package/shared/localization/locales/de.json +238 -7
- package/shared/localization/locales/el.json +234 -3
- package/shared/localization/locales/en-GB.json +233 -2
- package/shared/localization/locales/en-XA.json +233 -2
- package/shared/localization/locales/es-419.json +233 -2
- package/shared/localization/locales/es.json +233 -2
- package/shared/localization/locales/fi.json +233 -2
- package/shared/localization/locales/fil.json +236 -5
- package/shared/localization/locales/fr.json +235 -4
- package/shared/localization/locales/he.json +233 -2
- package/shared/localization/locales/hi.json +236 -5
- package/shared/localization/locales/hr.json +234 -3
- package/shared/localization/locales/hu.json +233 -2
- package/shared/localization/locales/id.json +233 -2
- package/shared/localization/locales/it.json +234 -3
- package/shared/localization/locales/ja.json +233 -2
- package/shared/localization/locales/ko.json +233 -2
- package/shared/localization/locales/lt.json +233 -2
- package/shared/localization/locales/lv.json +250 -19
- package/shared/localization/locales/nl.json +233 -2
- package/shared/localization/locales/no.json +235 -4
- package/shared/localization/locales/pl.json +233 -2
- package/shared/localization/locales/pt-PT.json +233 -2
- package/shared/localization/locales/pt.json +234 -3
- package/shared/localization/locales/ro.json +233 -2
- package/shared/localization/locales/ru.json +233 -2
- package/shared/localization/locales/sk.json +233 -2
- package/shared/localization/locales/sl.json +233 -2
- package/shared/localization/locales/sr-Latn.json +233 -2
- package/shared/localization/locales/sr.json +233 -2
- package/shared/localization/locales/sv.json +233 -2
- package/shared/localization/locales/ta.json +233 -2
- package/shared/localization/locales/te.json +233 -2
- package/shared/localization/locales/th.json +233 -2
- package/shared/localization/locales/tr.json +233 -2
- package/shared/localization/locales/uk.json +233 -2
- package/shared/localization/locales/vi.json +233 -2
- package/shared/localization/locales/zh-HK.json +233 -2
- package/shared/localization/locales/zh-TW.json +235 -4
- package/shared/localization/locales/zh.json +239 -8
|
@@ -272,6 +272,15 @@
|
|
|
272
272
|
"core/audits/accessibility/html-lang-valid.js | title": {
|
|
273
273
|
"message": "`<html>` 元素的 `[lang]` 属性具备有效值"
|
|
274
274
|
},
|
|
275
|
+
"core/audits/accessibility/html-xml-lang-mismatch.js | description": {
|
|
276
|
+
"message": "如果网页未指定一致的语言,屏幕阅读器可能无法正确读出相应网页上的文本。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.7/html-xml-lang-mismatch)。"
|
|
277
|
+
},
|
|
278
|
+
"core/audits/accessibility/html-xml-lang-mismatch.js | failureTitle": {
|
|
279
|
+
"message": "`<html>` 元素的 `[xml:lang]` 属性与 `[lang]` 属性使用了不同的基本语言。"
|
|
280
|
+
},
|
|
281
|
+
"core/audits/accessibility/html-xml-lang-mismatch.js | title": {
|
|
282
|
+
"message": "`<html>` 元素的 `[xml:lang]` 属性与 `[lang]` 属性使用了相同的基本语言。"
|
|
283
|
+
},
|
|
275
284
|
"core/audits/accessibility/image-alt.js | description": {
|
|
276
285
|
"message": "说明性元素应力求使用简短的描述性替代文字。未指定 alt 属性的装饰性元素可被忽略。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.7/image-alt)。"
|
|
277
286
|
},
|
|
@@ -281,6 +290,15 @@
|
|
|
281
290
|
"core/audits/accessibility/image-alt.js | title": {
|
|
282
291
|
"message": "图片元素具备 `[alt]` 属性"
|
|
283
292
|
},
|
|
293
|
+
"core/audits/accessibility/input-button-name.js | description": {
|
|
294
|
+
"message": "向输入按钮添加可识别的无障碍文本可帮助屏幕阅读器用户了解输入按钮的用途。[详细了解输入按钮](https://dequeuniversity.com/rules/axe/4.7/input-button-name)。"
|
|
295
|
+
},
|
|
296
|
+
"core/audits/accessibility/input-button-name.js | failureTitle": {
|
|
297
|
+
"message": "输入按钮没有可识别的文本。"
|
|
298
|
+
},
|
|
299
|
+
"core/audits/accessibility/input-button-name.js | title": {
|
|
300
|
+
"message": "输入按钮具有可识别的文本。"
|
|
301
|
+
},
|
|
284
302
|
"core/audits/accessibility/input-image-alt.js | description": {
|
|
285
303
|
"message": "将图片用作 `<input>` 按钮时,提供替代文字有助于屏幕阅读器用户了解该按钮的用途。[了解输入图片替代文字](https://dequeuniversity.com/rules/axe/4.7/input-image-alt)。"
|
|
286
304
|
},
|
|
@@ -362,6 +380,24 @@
|
|
|
362
380
|
"core/audits/accessibility/tabindex.js | title": {
|
|
363
381
|
"message": "所有元素的 `[tabindex]` 值都不大于 0"
|
|
364
382
|
},
|
|
383
|
+
"core/audits/accessibility/table-fake-caption.js | description": {
|
|
384
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保表格实际使用了 <caption> 元素(而非带有 `[colspan]` 属性的单元格),这可以提升屏幕阅读器用户的体验。[详细了解表格标题](https://dequeuniversity.com/rules/axe/4.7/table-fake-caption)。"
|
|
385
|
+
},
|
|
386
|
+
"core/audits/accessibility/table-fake-caption.js | failureTitle": {
|
|
387
|
+
"message": "表格未使用 `<caption>`(而是使用了带有 `[colspan]` 属性的单元格)来表示表格标题。"
|
|
388
|
+
},
|
|
389
|
+
"core/audits/accessibility/table-fake-caption.js | title": {
|
|
390
|
+
"message": "表格使用了 `<caption>`(而非带有 `[colspan]` 属性的单元格)来表示表格标题。"
|
|
391
|
+
},
|
|
392
|
+
"core/audits/accessibility/td-has-header.js | description": {
|
|
393
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保大型表格(宽度和高度至少为 3 个单元格)中的 `<td>` 元素具有关联的表格标头,这可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.7/td-has-header)。"
|
|
394
|
+
},
|
|
395
|
+
"core/audits/accessibility/td-has-header.js | failureTitle": {
|
|
396
|
+
"message": "大型 `<table>` 中的 `<td>` 元素没有表格标头。"
|
|
397
|
+
},
|
|
398
|
+
"core/audits/accessibility/td-has-header.js | title": {
|
|
399
|
+
"message": "大型 `<table>` 中的 `<td>` 元素具有一个或多个表格标头。"
|
|
400
|
+
},
|
|
365
401
|
"core/audits/accessibility/td-headers-attr.js | description": {
|
|
366
402
|
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请确保那些使用 `[headers]` 属性的 `<td>` 单元格仅引用同一个表格中的其他单元格,这样做可提升屏幕阅读器用户的体验。[详细了解 `headers` 属性](https://dequeuniversity.com/rules/axe/4.7/td-headers-attr)。"
|
|
367
403
|
},
|
|
@@ -498,7 +534,7 @@
|
|
|
498
534
|
"message": "采用新一代格式提供图片"
|
|
499
535
|
},
|
|
500
536
|
"core/audits/byte-efficiency/offscreen-images.js | description": {
|
|
501
|
-
"message": "
|
|
537
|
+
"message": "建议您在所有关键资源加载完毕后再加载屏幕外图片和处于隐藏状态的图片,从而缩短 Time to Interactive。[了解如何推迟加载屏幕外图片](https://developer.chrome.com/docs/lighthouse/performance/offscreen-images/)。"
|
|
502
538
|
},
|
|
503
539
|
"core/audits/byte-efficiency/offscreen-images.js | title": {
|
|
504
540
|
"message": "推迟加载屏幕外图片"
|
|
@@ -1086,19 +1122,19 @@
|
|
|
1086
1122
|
"message": "“首次有效绘制时间”测量的是网页主要内容开始对用户显示的时间。[详细了解“首次有效绘制时间”指标](https://developer.chrome.com/docs/lighthouse/performance/first-meaningful-paint/)。"
|
|
1087
1123
|
},
|
|
1088
1124
|
"core/audits/metrics/interactive.js | description": {
|
|
1089
|
-
"message": "
|
|
1125
|
+
"message": "“Time to Interactive”是指网页需要多长时间才能提供完整的交互功能。[详细了解“Time to Interactive”指标](https://developer.chrome.com/docs/lighthouse/performance/interactive/)。"
|
|
1090
1126
|
},
|
|
1091
1127
|
"core/audits/metrics/largest-contentful-paint.js | description": {
|
|
1092
1128
|
"message": "Largest Contentful Paint 标记了绘制出最大文本或图片的时间。[详细了解 Largest Contentful Paint 指标](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/)"
|
|
1093
1129
|
},
|
|
1094
1130
|
"core/audits/metrics/max-potential-fid.js | description": {
|
|
1095
|
-
"message": "
|
|
1131
|
+
"message": "您的用户可能会遇到的最长 First Input Delay 是用时最长的任务的耗时。[详细了解 Maximum Potential First Input Delay 指标](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-max-potential-fid/)。"
|
|
1096
1132
|
},
|
|
1097
1133
|
"core/audits/metrics/speed-index.js | description": {
|
|
1098
1134
|
"message": "Speed Index 表明了网页内容的可见填充速度。[详细了解 Speed Index 指标](https://developer.chrome.com/docs/lighthouse/performance/speed-index/)。"
|
|
1099
1135
|
},
|
|
1100
1136
|
"core/audits/metrics/total-blocking-time.js | description": {
|
|
1101
|
-
"message": "当任务用时超过 50
|
|
1137
|
+
"message": "当任务用时超过 50 毫秒时计算 FCP 和 Time to Interactive 之间的所有时间段的总和,以毫秒表示。[详细了解 Total Blocking Time 指标](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-total-blocking-time/)。"
|
|
1102
1138
|
},
|
|
1103
1139
|
"core/audits/network-rtt.js | description": {
|
|
1104
1140
|
"message": "网络往返时间 (RTT) 对性能有很大的影响。如果与来源之间的 RTT 较长,则表明缩短服务器与用户之间的距离可能会提高性能。[详细了解往返时间](https://hpbn.co/primer-on-latency-and-bandwidth/)。"
|
|
@@ -1653,7 +1689,7 @@
|
|
|
1653
1689
|
"message": "诊断结果"
|
|
1654
1690
|
},
|
|
1655
1691
|
"core/config/default-config.js | firstPaintImprovementsGroupDescription": {
|
|
1656
|
-
"message": "
|
|
1692
|
+
"message": "像素在屏幕上的呈现速度是性能的最重要方面。关键指标:First Contentful Paint、First Meaningful Paint"
|
|
1657
1693
|
},
|
|
1658
1694
|
"core/config/default-config.js | firstPaintImprovementsGroupTitle": {
|
|
1659
1695
|
"message": "改进首次绘制"
|
|
@@ -1751,6 +1787,9 @@
|
|
|
1751
1787
|
"core/lib/bf-cache-strings.js | appBanner": {
|
|
1752
1788
|
"message": "已请求 AppBanner 的网页目前无法储存至往返缓存。"
|
|
1753
1789
|
},
|
|
1790
|
+
"core/lib/bf-cache-strings.js | authorizationHeader": {
|
|
1791
|
+
"message": "往返缓存已被停用,因为这是一项 keepalive 请求。"
|
|
1792
|
+
},
|
|
1754
1793
|
"core/lib/bf-cache-strings.js | backForwardCacheDisabled": {
|
|
1755
1794
|
"message": "往返缓存被相关 flag 停用了。请在此设备上访问 chrome://flags/#back-forward-cache 以从本地启用该功能。"
|
|
1756
1795
|
},
|
|
@@ -1817,6 +1856,9 @@
|
|
|
1817
1856
|
"core/lib/bf-cache-strings.js | contentWebUSB": {
|
|
1818
1857
|
"message": "使用 WebUSB API 的网页无法储存至往返缓存。"
|
|
1819
1858
|
},
|
|
1859
|
+
"core/lib/bf-cache-strings.js | cookieDisabled": {
|
|
1860
|
+
"message": "往返缓存已被停用,因为在使用 `Cache-Control: no-store` 的网页上 Cookie 处于停用状态。"
|
|
1861
|
+
},
|
|
1820
1862
|
"core/lib/bf-cache-strings.js | dedicatedWorkerOrWorklet": {
|
|
1821
1863
|
"message": "使用专用 Worker 或 Worklet 的网页目前无法储存至往返缓存。"
|
|
1822
1864
|
},
|
|
@@ -1892,14 +1934,17 @@
|
|
|
1892
1934
|
"core/lib/bf-cache-strings.js | indexedDBConnection": {
|
|
1893
1935
|
"message": "具备开放的 IndexedDB 连接的网页目前无法储存至往返缓存。"
|
|
1894
1936
|
},
|
|
1937
|
+
"core/lib/bf-cache-strings.js | indexedDBEvent": {
|
|
1938
|
+
"message": "往返缓存已被停用,因为发生了 IndexedDB 事件。"
|
|
1939
|
+
},
|
|
1895
1940
|
"core/lib/bf-cache-strings.js | ineligibleAPI": {
|
|
1896
1941
|
"message": "使用了不符合条件的 API。"
|
|
1897
1942
|
},
|
|
1898
1943
|
"core/lib/bf-cache-strings.js | injectedJavascript": {
|
|
1899
|
-
"message": "已被扩展程序注入 JavaScript 的网页目前无法储存至往返缓存。"
|
|
1944
|
+
"message": "已被扩展程序注入 `JavaScript` 的网页目前无法储存至往返缓存。"
|
|
1900
1945
|
},
|
|
1901
1946
|
"core/lib/bf-cache-strings.js | injectedStyleSheet": {
|
|
1902
|
-
"message": "
|
|
1947
|
+
"message": "已被扩展程序注入 `StyleSheet` 的网页目前无法储存至往返缓存。"
|
|
1903
1948
|
},
|
|
1904
1949
|
"core/lib/bf-cache-strings.js | internalError": {
|
|
1905
1950
|
"message": "内部错误。"
|
|
@@ -2138,6 +2183,192 @@
|
|
|
2138
2183
|
"core/lib/csp-evaluator.js | unsafeInlineFallback": {
|
|
2139
2184
|
"message": "建议您添加“unsafe-inline”(会被支持 nonces/hashes 的浏览器忽略),以便向后兼容旧版浏览器。"
|
|
2140
2185
|
},
|
|
2186
|
+
"core/lib/deprecation-description.js | feature": {
|
|
2187
|
+
"message": "如需了解详情,请参阅功能状态页面。"
|
|
2188
|
+
},
|
|
2189
|
+
"core/lib/deprecation-description.js | milestone": {
|
|
2190
|
+
"message": "此变更将从里程碑 {milestone} 生效。"
|
|
2191
|
+
},
|
|
2192
|
+
"core/lib/deprecation-description.js | title": {
|
|
2193
|
+
"message": "使用了已弃用的功能"
|
|
2194
|
+
},
|
|
2195
|
+
"core/lib/deprecations-strings.js | AuthorizationCoveredByWildcard": {
|
|
2196
|
+
"message": "处理 CORS `Access-Control-Allow-Headers` 时,授权将不在通配符 (*) 的涵盖范围内。"
|
|
2197
|
+
},
|
|
2198
|
+
"core/lib/deprecations-strings.js | CSSSelectorInternalMediaControlsOverlayCastButton": {
|
|
2199
|
+
"message": "若要停用默认 Cast 集成,应使用 `disableRemotePlayback` 属性,而非 `-internal-media-controls-overlay-cast-button` 选择器。"
|
|
2200
|
+
},
|
|
2201
|
+
"core/lib/deprecations-strings.js | CanRequestURLHTTPContainingNewline": {
|
|
2202
|
+
"message": "如果资源请求的网址同时包含已移除的空白字符 `(n|r|t)` 和小于字符 (`<`),相应资源请求会被屏蔽。请从元素属性值等位置移除换行符并编码小于字符,以便加载这些资源。"
|
|
2203
|
+
},
|
|
2204
|
+
"core/lib/deprecations-strings.js | ChromeLoadTimesConnectionInfo": {
|
|
2205
|
+
"message": "`chrome.loadTimes()` 已被弃用,请改用标准化 API:Navigation Timing 2。"
|
|
2206
|
+
},
|
|
2207
|
+
"core/lib/deprecations-strings.js | ChromeLoadTimesFirstPaintAfterLoadTime": {
|
|
2208
|
+
"message": "`chrome.loadTimes()` 已被弃用,请改用标准化 API:Paint Timing。"
|
|
2209
|
+
},
|
|
2210
|
+
"core/lib/deprecations-strings.js | ChromeLoadTimesWasAlternateProtocolAvailable": {
|
|
2211
|
+
"message": "`chrome.loadTimes()` 已被弃用,请改用标准化 API:Navigation Timing 2 中的 `nextHopProtocol`。"
|
|
2212
|
+
},
|
|
2213
|
+
"core/lib/deprecations-strings.js | CookieWithTruncatingChar": {
|
|
2214
|
+
"message": "包含 `(0|r|n)` 字符的 Cookie 将被拒,而不是被截断。"
|
|
2215
|
+
},
|
|
2216
|
+
"core/lib/deprecations-strings.js | CrossOriginAccessBasedOnDocumentDomain": {
|
|
2217
|
+
"message": "通过设置 `document.domain` 放宽同源政策的功能已被弃用,并将默认处于停用状态。此弃用警告针对的是通过设置 `document.domain` 启用的跨源访问。"
|
|
2218
|
+
},
|
|
2219
|
+
"core/lib/deprecations-strings.js | CrossOriginWindowAlert": {
|
|
2220
|
+
"message": "从跨源 iframe 触发 window.alert 的功能已被弃用,日后将被移除。"
|
|
2221
|
+
},
|
|
2222
|
+
"core/lib/deprecations-strings.js | CrossOriginWindowConfirm": {
|
|
2223
|
+
"message": "从跨源 iframe 触发 window.confirm 的功能已被弃用,日后将被移除。"
|
|
2224
|
+
},
|
|
2225
|
+
"core/lib/deprecations-strings.js | DOMMutationEvents": {
|
|
2226
|
+
"message": "DOM 变更事件(包括 `DOMSubtreeModified`、`DOMNodeInserted`、`DOMNodeRemoved`、`DOMNodeRemovedFromDocument`、`DOMNodeInsertedIntoDocument` 和 `DOMCharacterDataModified`,详见 https://w3c.github.io/uievents/#legacy-event-types)已被弃用,并将被移除。请改用 `MutationObserver`。"
|
|
2227
|
+
},
|
|
2228
|
+
"core/lib/deprecations-strings.js | DataUrlInSvgUse": {
|
|
2229
|
+
"message": "对 SVG <use> 元素中 data: URL 的支持已被弃用,日后将被移除。"
|
|
2230
|
+
},
|
|
2231
|
+
"core/lib/deprecations-strings.js | DocumentDomainSettingWithoutOriginAgentClusterHeader": {
|
|
2232
|
+
"message": "通过设置 `document.domain` 放宽同源政策的功能已被弃用,并将默认处于停用状态。若要继续使用此功能,请通过发送 `Origin-Agent-Cluster: ?0` 标头以及文档和框架的 HTTP 响应来选择停用以源为键的代理集群。如需了解详情,请访问 https://developer.chrome.com/blog/immutable-document-domain/。"
|
|
2233
|
+
},
|
|
2234
|
+
"core/lib/deprecations-strings.js | ExpectCTHeader": {
|
|
2235
|
+
"message": "`Expect-CT` 标头已被弃用,并将被移除。Chrome 要求,在 2018 年 4 月 30 日之后颁发的所有受大众信任的证书均须遵守证书透明度政策。"
|
|
2236
|
+
},
|
|
2237
|
+
"core/lib/deprecations-strings.js | GeolocationInsecureOrigin": {
|
|
2238
|
+
"message": "`getCurrentPosition()` 和 `watchPosition()` 不再适用于不安全的源。若要使用此功能,您应考虑将您的应用转移到安全的源,例如 HTTPS。如需了解详情,请访问 https://goo.gle/chrome-insecure-origins。"
|
|
2239
|
+
},
|
|
2240
|
+
"core/lib/deprecations-strings.js | GeolocationInsecureOriginDeprecatedNotRemoved": {
|
|
2241
|
+
"message": "`getCurrentPosition()` 和 `watchPosition()` 不再适用于不安全的源。若要使用此功能,您应考虑将您的应用转移到安全的源,例如 HTTPS。如需了解详情,请访问 https://goo.gle/chrome-insecure-origins。"
|
|
2242
|
+
},
|
|
2243
|
+
"core/lib/deprecations-strings.js | GetUserMediaInsecureOrigin": {
|
|
2244
|
+
"message": "`getUserMedia()` 不再适用于不安全的源。若要使用此功能,您应考虑将您的应用转移到安全的源,例如 HTTPS。如需了解详情,请访问 https://goo.gle/chrome-insecure-origins。"
|
|
2245
|
+
},
|
|
2246
|
+
"core/lib/deprecations-strings.js | HostCandidateAttributeGetter": {
|
|
2247
|
+
"message": "`RTCPeerConnectionIceErrorEvent.hostCandidate` 已被弃用。请改用 `RTCPeerConnectionIceErrorEvent.address` 或 `RTCPeerConnectionIceErrorEvent.port`。"
|
|
2248
|
+
},
|
|
2249
|
+
"core/lib/deprecations-strings.js | IdentityInCanMakePaymentEvent": {
|
|
2250
|
+
"message": "`canmakepayment` Service Worker 事件中的商家源和任意数据已被弃用,并将被移除:`topOrigin`、`paymentRequestOrigin`、`methodData`、`modifiers`。"
|
|
2251
|
+
},
|
|
2252
|
+
"core/lib/deprecations-strings.js | InsecurePrivateNetworkSubresourceRequest": {
|
|
2253
|
+
"message": "该网站向网络请求了一项子资源,而且完全是因为其用户的特权网络位置才能够访问此项资源。此类请求会向互联网公开非公用设备和服务器,这会增加跨站请求伪造 (CSRF) 攻击和/或信息泄露的风险。为降低这类风险,Chrome 不再支持从非安全上下文发起针对非公用子资源的请求,并将开始阻止此类请求。"
|
|
2254
|
+
},
|
|
2255
|
+
"core/lib/deprecations-strings.js | InterestGroupDailyUpdateUrl": {
|
|
2256
|
+
"message": "向 `joinAdInterestGroup()` 传递的 `InterestGroups` 所含 `dailyUpdateUrl` 字段已被重命名为 `updateUrl`,以便更准确地反映其行为。"
|
|
2257
|
+
},
|
|
2258
|
+
"core/lib/deprecations-strings.js | LocalCSSFileExtensionRejected": {
|
|
2259
|
+
"message": "无法从 `file:` 网址加载 CSS,除非它们以 `.css` 文件扩展名结尾。"
|
|
2260
|
+
},
|
|
2261
|
+
"core/lib/deprecations-strings.js | MediaSourceAbortRemove": {
|
|
2262
|
+
"message": "由于规范变更,使用 `SourceBuffer.abort()` 中止 `remove()` 移除异步范围的功能已被弃用。日后我们会移除相应支持。您应改为监听 `updateend` 事件。`abort()` 只应当用于中止异步媒体附加或重置解析状态。"
|
|
2263
|
+
},
|
|
2264
|
+
"core/lib/deprecations-strings.js | MediaSourceDurationTruncatingBuffered": {
|
|
2265
|
+
"message": "由于规范变更,我们不再支持将 `MediaSource.duration` 设为低于任何缓冲编码帧的最高呈现时间戳。日后我们将不再支持隐式移除被截断的缓冲媒体。您应改为对 `newDuration < oldDuration` 的所有 `sourceBuffers` 执行显式 `remove(newDuration, oldDuration)`。"
|
|
2266
|
+
},
|
|
2267
|
+
"core/lib/deprecations-strings.js | NoSysexWebMIDIWithoutPermission": {
|
|
2268
|
+
"message": "即使 `MIDIOptions` 中未指定 sysex,Web MIDI 也会请求获得使用许可。"
|
|
2269
|
+
},
|
|
2270
|
+
"core/lib/deprecations-strings.js | NonStandardDeclarativeShadowDOM": {
|
|
2271
|
+
"message": "较旧的非标准化 `shadowroot` 属性已被弃用,自 M119 起将*不再起作用*。请改用新的标准化 `shadowrootmode` 属性。"
|
|
2272
|
+
},
|
|
2273
|
+
"core/lib/deprecations-strings.js | NotificationInsecureOrigin": {
|
|
2274
|
+
"message": "无法再从不安全的源使用 Notification API。您应考虑将您的应用转移到安全的源,例如 HTTPS。如需了解详情,请访问 https://goo.gle/chrome-insecure-origins。"
|
|
2275
|
+
},
|
|
2276
|
+
"core/lib/deprecations-strings.js | NotificationPermissionRequestedIframe": {
|
|
2277
|
+
"message": "无法再从跨源 iframe 中请求 Notification API 权限。您应考虑改为从顶级框架中请求权限,或者打开一个新窗口。"
|
|
2278
|
+
},
|
|
2279
|
+
"core/lib/deprecations-strings.js | ObsoleteCreateImageBitmapImageOrientationNone": {
|
|
2280
|
+
"message": "createImageBitmap 中的 `imageOrientation: 'none'` 选项已被弃用。请改用带有 \\{imageOrientation: 'from-image'\\} 选项的 createImageBitmap。"
|
|
2281
|
+
},
|
|
2282
|
+
"core/lib/deprecations-strings.js | ObsoleteWebRtcCipherSuite": {
|
|
2283
|
+
"message": "您的合作伙伴正在协商某个已过时的 (D)TLS 版本。请与您的合作伙伴联系,以解决此问题。"
|
|
2284
|
+
},
|
|
2285
|
+
"core/lib/deprecations-strings.js | OverflowVisibleOnReplacedElement": {
|
|
2286
|
+
"message": "为 img、video 和 canvas 标记指定 `overflow: visible` 可能会导致这些标记在元素边界之外生成视觉内容。请参阅 https://github.com/WICG/shared-element-transitions/blob/main/debugging_overflow_on_images.md。"
|
|
2287
|
+
},
|
|
2288
|
+
"core/lib/deprecations-strings.js | PaymentInstruments": {
|
|
2289
|
+
"message": "`paymentManager.instruments` 已被弃用。请改用即时安装方式安装付款处理程序。"
|
|
2290
|
+
},
|
|
2291
|
+
"core/lib/deprecations-strings.js | PaymentRequestCSPViolation": {
|
|
2292
|
+
"message": "您的 `PaymentRequest` 调用已绕过内容安全政策 (CSP) `connect-src` 指令。此绕过方式已被弃用。请将 `PaymentRequest` API 中的付款方式标识符(在 `supportedMethods` 字段中)添加到 CSP `connect-src` 指令中。"
|
|
2293
|
+
},
|
|
2294
|
+
"core/lib/deprecations-strings.js | PersistentQuotaType": {
|
|
2295
|
+
"message": "`StorageType.persistent` 已被弃用。请改用标准化 `navigator.storage`。"
|
|
2296
|
+
},
|
|
2297
|
+
"core/lib/deprecations-strings.js | PictureSourceSrc": {
|
|
2298
|
+
"message": "带有 `<picture>` 父级的 `<source src>` 无效,因此会被忽略。请改用 `<source srcset>`。"
|
|
2299
|
+
},
|
|
2300
|
+
"core/lib/deprecations-strings.js | PrefixedCancelAnimationFrame": {
|
|
2301
|
+
"message": "webkitCancelAnimationFrame 因供应商而异。请改用标准 cancelAnimationFrame。"
|
|
2302
|
+
},
|
|
2303
|
+
"core/lib/deprecations-strings.js | PrefixedRequestAnimationFrame": {
|
|
2304
|
+
"message": "webkitRequestAnimationFrame 因供应商而异。请改用标准 requestAnimationFrame。"
|
|
2305
|
+
},
|
|
2306
|
+
"core/lib/deprecations-strings.js | PrefixedVideoDisplayingFullscreen": {
|
|
2307
|
+
"message": "HTMLVideoElement.webkitDisplayingFullscreen 已被弃用。请改用 Document.fullscreenElement。"
|
|
2308
|
+
},
|
|
2309
|
+
"core/lib/deprecations-strings.js | PrefixedVideoEnterFullScreen": {
|
|
2310
|
+
"message": "HTMLVideoElement.webkitEnterFullScreen() 已被弃用。请改用 Element.requestFullscreen()。"
|
|
2311
|
+
},
|
|
2312
|
+
"core/lib/deprecations-strings.js | PrefixedVideoEnterFullscreen": {
|
|
2313
|
+
"message": "HTMLVideoElement.webkitEnterFullscreen() 已被弃用。请改用 Element.requestFullscreen()。"
|
|
2314
|
+
},
|
|
2315
|
+
"core/lib/deprecations-strings.js | PrefixedVideoExitFullScreen": {
|
|
2316
|
+
"message": "HTMLVideoElement.webkitExitFullScreen() 已被弃用。请改用 Document.exitFullscreen()。"
|
|
2317
|
+
},
|
|
2318
|
+
"core/lib/deprecations-strings.js | PrefixedVideoExitFullscreen": {
|
|
2319
|
+
"message": "HTMLVideoElement.webkitExitFullscreen() 已被弃用。请改用 Document.exitFullscreen()。"
|
|
2320
|
+
},
|
|
2321
|
+
"core/lib/deprecations-strings.js | PrefixedVideoSupportsFullscreen": {
|
|
2322
|
+
"message": "HTMLVideoElement.webkitSupportsFullscreen 已被弃用。请改用 Document.fullscreenEnabled。"
|
|
2323
|
+
},
|
|
2324
|
+
"core/lib/deprecations-strings.js | PrivacySandboxExtensionsAPI": {
|
|
2325
|
+
"message": "我们即将弃用 API `chrome.privacy.websites.privacySandboxEnabled`,但为了保持向后兼容性,该 API 可持续使用到 M113 版。届时,请改用 `chrome.privacy.websites.topicsEnabled`、`chrome.privacy.websites.fledgeEnabled` 和 `chrome.privacy.websites.adMeasurementEnabled`。请参阅 https://developer.chrome.com/docs/extensions/reference/privacy/#property-websites-privacySandboxEnabled。"
|
|
2326
|
+
},
|
|
2327
|
+
"core/lib/deprecations-strings.js | RTCConstraintEnableDtlsSrtpFalse": {
|
|
2328
|
+
"message": "约束条件 `DtlsSrtpKeyAgreement` 已被移除。您已为此约束条件指定 `false` 值,系统会将这种情况解读为尝试使用已被移除的 `SDES key negotiation` 方法。此功能已被移除;请改用支持 `DTLS key negotiation`的服务。"
|
|
2329
|
+
},
|
|
2330
|
+
"core/lib/deprecations-strings.js | RTCConstraintEnableDtlsSrtpTrue": {
|
|
2331
|
+
"message": "约束条件 `DtlsSrtpKeyAgreement` 已被移除。您已为此约束条件指定 `true` 值,这没有任何作用,但为整洁起见,您可以移除此约束条件。"
|
|
2332
|
+
},
|
|
2333
|
+
"core/lib/deprecations-strings.js | RTCPeerConnectionGetStatsLegacyNonCompliant": {
|
|
2334
|
+
"message": "基于回调的 getStats() 已被弃用,并将被移除。请改用符合规范的 getStats()。"
|
|
2335
|
+
},
|
|
2336
|
+
"core/lib/deprecations-strings.js | RangeExpand": {
|
|
2337
|
+
"message": "Range.expand() 已被弃用。请改用 Selection.modify()。"
|
|
2338
|
+
},
|
|
2339
|
+
"core/lib/deprecations-strings.js | RequestedSubresourceWithEmbeddedCredentials": {
|
|
2340
|
+
"message": "如果子资源请求的网址包含嵌入式凭据(例如 `https://user:pass@host/`),相应子资源请求会被屏蔽。"
|
|
2341
|
+
},
|
|
2342
|
+
"core/lib/deprecations-strings.js | RtcpMuxPolicyNegotiate": {
|
|
2343
|
+
"message": "`rtcpMuxPolicy` 选项已被弃用,并将被移除。"
|
|
2344
|
+
},
|
|
2345
|
+
"core/lib/deprecations-strings.js | SharedArrayBufferConstructedWithoutIsolation": {
|
|
2346
|
+
"message": "`SharedArrayBuffer` 将要求进行跨域隔离。如需了解详情,请访问 https://developer.chrome.com/blog/enabling-shared-array-buffer/。"
|
|
2347
|
+
},
|
|
2348
|
+
"core/lib/deprecations-strings.js | TextToSpeech_DisallowedByAutoplay": {
|
|
2349
|
+
"message": "无需用户激活的 `speechSynthesis.speak()` 已被弃用,并将被移除。"
|
|
2350
|
+
},
|
|
2351
|
+
"core/lib/deprecations-strings.js | V8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
|
|
2352
|
+
"message": "扩展程序应选择启用跨域隔离,以便继续使用 `SharedArrayBuffer`。请参阅 https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/。"
|
|
2353
|
+
},
|
|
2354
|
+
"core/lib/deprecations-strings.js | WebSQL": {
|
|
2355
|
+
"message": "Web SQL 已被弃用。请使用 SQLite WebAssembly 或 Indexed Database"
|
|
2356
|
+
},
|
|
2357
|
+
"core/lib/deprecations-strings.js | WindowPlacementPermissionDescriptorUsed": {
|
|
2358
|
+
"message": "权限描述符 `window-placement` 已被弃用。请改用 `window-management`。如需更多帮助,请访问 https://bit.ly/window-placement-rename。"
|
|
2359
|
+
},
|
|
2360
|
+
"core/lib/deprecations-strings.js | WindowPlacementPermissionPolicyParsed": {
|
|
2361
|
+
"message": "权限政策 `window-placement` 已被弃用。请改用 `window-management`。如需更多帮助,请访问 https://bit.ly/window-placement-rename。"
|
|
2362
|
+
},
|
|
2363
|
+
"core/lib/deprecations-strings.js | XHRJSONEncodingDetection": {
|
|
2364
|
+
"message": "`XMLHttpRequest` 中的响应 JSON 不支持 UTF-16"
|
|
2365
|
+
},
|
|
2366
|
+
"core/lib/deprecations-strings.js | XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload": {
|
|
2367
|
+
"message": "主线程上的同步 `XMLHttpRequest` 已被弃用,因为它会对最终用户的体验产生不利影响。如需更多帮助,请访问 https://xhr.spec.whatwg.org/。"
|
|
2368
|
+
},
|
|
2369
|
+
"core/lib/deprecations-strings.js | XRSupportsSession": {
|
|
2370
|
+
"message": "`supportsSession()` 已被弃用。请改用 `isSessionSupported()` 并查看已解析的布尔值。"
|
|
2371
|
+
},
|
|
2141
2372
|
"core/lib/i18n/i18n.js | columnBlockingTime": {
|
|
2142
2373
|
"message": "主线程拦截时间"
|
|
2143
2374
|
},
|
|
@@ -2244,7 +2475,7 @@
|
|
|
2244
2475
|
"message": "Largest Contentful Paint"
|
|
2245
2476
|
},
|
|
2246
2477
|
"core/lib/i18n/i18n.js | maxPotentialFIDMetric": {
|
|
2247
|
-
"message": "
|
|
2478
|
+
"message": "First Input Delay 最长预估值"
|
|
2248
2479
|
},
|
|
2249
2480
|
"core/lib/i18n/i18n.js | mediaResourceType": {
|
|
2250
2481
|
"message": "媒体"
|