chrome-devtools-frontend 1.0.1733843 → 1.0.1736236

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/.agents/rules/tests/test-view-and-presenter-isolation.md +4 -4
  2. package/.agents/rules/ui-and-widgets/ui-declarative-tree-and-prompt-patterns.md +61 -0
  3. package/.agents/rules/ui-and-widgets/ui-lit-declarative-templates-and-directives.md +11 -7
  4. package/.agents/rules/ui-and-widgets/ui-modern-component-and-encapsulation-standards.md +13 -4
  5. package/.agents/rules/ui-and-widgets/ui-pure-view-and-presenter-separation.md +31 -2
  6. package/.agents/rules/ui-and-widgets/ui-reactive-widget-update-lifecycle.md +23 -4
  7. package/.agents/rules/ui-and-widgets/ui-widget-dom-and-listener-lifecycle.md +34 -3
  8. package/.agents/skills/code-review/SKILL.md +27 -0
  9. package/.agents/skills/devtools-uistrings/SKILL.md +147 -0
  10. package/.agents/skills/ui-eng-vision-local-lit-renderer/SKILL.md +27 -1
  11. package/.agents/skills/ui-eng-vision-orchestrator/SKILL.md +100 -0
  12. package/.agents/skills/ui-eng-vision-test-scaffolder/SKILL.md +16 -0
  13. package/.agents/skills/ui-eng-vision-widget-promoter/SKILL.md +13 -2
  14. package/.agents/skills/ui-widgets/SKILL.md +25 -25
  15. package/DIR_METADATA +8 -1
  16. package/docs/cookbook/localization.md +1 -1
  17. package/docs/ui_engineering.md +24 -0
  18. package/eslint.config.mjs +0 -1
  19. package/front_end/application_tokens.css +1 -1
  20. package/front_end/core/host/AidaClient.ts +147 -202
  21. package/front_end/core/host/AidaClientTypes.ts +9 -0
  22. package/front_end/core/host/AidaErrors.ts +416 -0
  23. package/front_end/core/host/AidaGcaTranslation.ts +11 -0
  24. package/front_end/core/host/InspectorFrontendHostAPI.ts +9 -2
  25. package/front_end/core/host/UserMetrics.ts +25 -0
  26. package/front_end/core/host/UserMetricsEnums.ts +25 -0
  27. package/front_end/core/host/host.ts +3 -1
  28. package/front_end/core/i18n/collect-ui-strings.js +20 -0
  29. package/front_end/core/root/Runtime.ts +12 -0
  30. package/front_end/core/sdk/CPUThrottlingManager.ts +3 -0
  31. package/front_end/core/sdk/EnhancedTracesParser.ts +8 -4
  32. package/front_end/core/sdk/NetworkManager.ts +0 -6
  33. package/front_end/core/sdk/OverlayModel.ts +0 -6
  34. package/front_end/core/sdk/PreloadingModel.ts +30 -13
  35. package/front_end/core/sdk/PrivateVerificationTokensModel.ts +0 -18
  36. package/front_end/core/sdk/RehydratingConnection.ts +5 -2
  37. package/front_end/core/sdk/ResourceTreeModel.ts +0 -42
  38. package/front_end/core/sdk/ScreenCaptureModel.ts +0 -84
  39. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +0 -15
  40. package/front_end/core/sdk/StorageBucketsModel.ts +0 -15
  41. package/front_end/devtools_compatibility.js +57 -2
  42. package/front_end/entrypoints/formatter_worker/ScopeParser.ts +4 -2
  43. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +203 -127
  44. package/front_end/entrypoints/inspector_main/renderingOptions.css +5 -0
  45. package/front_end/entrypoints/node_app/app/NodeMain.ts +0 -9
  46. package/front_end/entrypoints/node_app/app/nodeConnectionsPanel.css +0 -22
  47. package/front_end/generated/InspectorBackendCommands.ts +1 -1
  48. package/front_end/generated/SupportedCSSProperties.ts +0 -136
  49. package/front_end/generated/protocol-proxy-api.d.ts +231 -231
  50. package/front_end/generated/protocol.ts +1 -0
  51. package/front_end/models/ai_assistance/AiAgent2.ts +4 -1
  52. package/front_end/models/ai_assistance/ChangeManager.ts +3 -1
  53. package/front_end/models/ai_assistance/DOMHelpers.ts +118 -3
  54. package/front_end/models/ai_assistance/ExtensionScope.ts +31 -24
  55. package/front_end/models/ai_assistance/agents/AiAgent.ts +6 -0
  56. package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +13 -13
  57. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +1 -1
  58. package/front_end/models/ai_assistance/ai_assistance.ts +2 -0
  59. package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +18 -8
  60. package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +2 -2
  61. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +103 -81
  62. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +15 -203
  63. package/front_end/models/ai_assistance/injected.ts +6 -1
  64. package/front_end/models/ai_assistance/skills/lighthouse.md +1 -1
  65. package/front_end/models/ai_assistance/skills/styling.md +8 -10
  66. package/front_end/models/ai_assistance/tools/GetTraceEventByKey.ts +1 -1
  67. package/front_end/models/ai_assistance/tools/SetElementStyles.ts +288 -0
  68. package/front_end/models/ai_assistance/tools/Tool.ts +1 -0
  69. package/front_end/models/ai_assistance/tools/ToolRegistry.ts +3 -0
  70. package/front_end/models/bindings/ResourceScriptMapping.ts +64 -16
  71. package/front_end/models/comment_manager/CD4ABridge.ts +12 -2
  72. package/front_end/models/comment_manager/CommentManager.ts +24 -4
  73. package/front_end/models/javascript_metadata/NativeFunctions.ts +41 -1
  74. package/front_end/models/project_settings/ProjectSettingsModel.ts +1 -1
  75. package/front_end/models/trace/handlers/FlowsHandler.ts +10 -0
  76. package/front_end/models/trace/handlers/SamplesHandler.ts +3 -2
  77. package/front_end/models/trace/handlers/ScriptsHandler.ts +25 -26
  78. package/front_end/models/trace/helpers/TreeHelpers.ts +4 -0
  79. package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -2
  80. package/front_end/models/trace/types/TraceEvents.ts +21 -22
  81. package/front_end/panels/ai_assistance/components/ChatMessage.ts +9 -1
  82. package/front_end/panels/ai_assistance/components/chatInput.css +4 -4
  83. package/front_end/panels/animation/AnimationTimeline.ts +3 -3
  84. package/front_end/panels/animation/animationTimeline.css +6 -4
  85. package/front_end/panels/application/IndexedDBModel.ts +0 -15
  86. package/front_end/panels/application/appManifestView.css +2 -5
  87. package/front_end/panels/application/components/backForwardCacheView.css +1 -5
  88. package/front_end/panels/application/components/serviceWorkerRouterView.css +2 -2
  89. package/front_end/panels/application/preloading/components/PreloadingString.ts +7 -0
  90. package/front_end/panels/comments/CommentsPane.ts +12 -7
  91. package/front_end/panels/comments/commentsPane.css +16 -2
  92. package/front_end/panels/common/CommentsOverlayWidget.ts +16 -10
  93. package/front_end/panels/common/CommentsStatusBarPill.ts +12 -5
  94. package/front_end/panels/common/commentsOverlay.css +7 -1
  95. package/front_end/panels/common/commentsStatusBarPill.css +30 -0
  96. package/front_end/panels/console/consolePrompt.css +0 -12
  97. package/front_end/panels/console/consoleView.css +2 -2
  98. package/front_end/panels/developer_resources/developerResourcesView.css +4 -3
  99. package/front_end/panels/elements/DOMTreeWidget.ts +29 -9
  100. package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -1
  101. package/front_end/panels/elements/components/CSSHintDetailsView.ts +12 -5
  102. package/front_end/panels/elements/components/cssVariableValueView.css +1 -1
  103. package/front_end/panels/elements/components/elementsBreadcrumbs.css +2 -2
  104. package/front_end/panels/elements/domTreeWidget.css +6 -1
  105. package/front_end/panels/elements/elementsPanel.css +0 -6
  106. package/front_end/panels/elements/layoutPane.css +1 -1
  107. package/front_end/panels/elements/metricsSidebarPane.css +1 -1
  108. package/front_end/panels/elements/platformFontsWidget.css +1 -1
  109. package/front_end/panels/elements/stylesSidebarPane.css +0 -10
  110. package/front_end/panels/emulation/deviceModeView.css +6 -7
  111. package/front_end/panels/explain/components/consoleInsight.css +4 -4
  112. package/front_end/panels/issues/issuesTree.css +1 -26
  113. package/front_end/panels/lighthouse/lighthouseStartView.css +2 -2
  114. package/front_end/panels/linear_memory_inspector/components/linearMemoryInspector.css +1 -1
  115. package/front_end/panels/media/TickingFlameChart.ts +20 -3
  116. package/front_end/panels/media/playerMessagesView.css +2 -2
  117. package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +24 -5
  118. package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +1 -6
  119. package/front_end/panels/network/networkLogView.css +2 -2
  120. package/front_end/panels/network/networkTimingTable.css +1 -1
  121. package/front_end/panels/performance_monitor/performanceMonitor.css +0 -4
  122. package/front_end/panels/protocol_monitor/JSONEditor.css +1 -1
  123. package/front_end/panels/protocol_monitor/JSONEditor.ts +4 -2
  124. package/front_end/panels/recorder/recorderPanel.css +3 -3
  125. package/front_end/panels/recorder/recordingListView.css +1 -1
  126. package/front_end/panels/screencast/screencastView.css +1 -1
  127. package/front_end/panels/search/searchResultsPane.css +1 -1
  128. package/front_end/panels/security/SecurityModel.ts +0 -6
  129. package/front_end/panels/security/SecurityPanel.ts +120 -108
  130. package/front_end/panels/security/originView.css +1 -1
  131. package/front_end/panels/sensors/locationsSettingsTab.css +3 -3
  132. package/front_end/panels/settings/EditFileSystemView.ts +159 -104
  133. package/front_end/panels/settings/editFileSystemView.css +30 -4
  134. package/front_end/panels/settings/emulation/devicesSettingsTab.css +0 -52
  135. package/front_end/panels/settings/settingsScreen.css +0 -7
  136. package/front_end/panels/sources/CallStackSidebarPane.ts +339 -221
  137. package/front_end/panels/sources/NavigatorView.ts +95 -8
  138. package/front_end/panels/sources/ThreadsSidebarPane.ts +8 -4
  139. package/front_end/panels/sources/breakpointsView.css +1 -3
  140. package/front_end/panels/sources/callStackSidebarPane.css +4 -0
  141. package/front_end/panels/sources/components/HeadersView.ts +15 -2
  142. package/front_end/panels/sources/watchExpressionsSidebarPane.css +0 -1
  143. package/front_end/panels/timeline/CountersGraph.ts +0 -4
  144. package/front_end/panels/timeline/TimelineLoader.ts +16 -6
  145. package/front_end/panels/timeline/TimelinePanel.ts +20 -12
  146. package/front_end/panels/timeline/TimelineUIUtils.ts +1 -1
  147. package/front_end/panels/timeline/components/DetailsView.ts +2 -1
  148. package/front_end/panels/timeline/components/cwvMetrics.css +1 -1
  149. package/front_end/panels/timeline/components/metricCard.css +1 -1
  150. package/front_end/panels/timeline/components/sidebarAnnotationsTab.css +4 -4
  151. package/front_end/panels/timeline/timelineFlameChartView.css +1 -1
  152. package/front_end/panels/webauthn/WebauthnPane.ts +13 -14
  153. package/front_end/panels/webauthn/webauthnPane.css +1 -1
  154. package/front_end/third_party/chromium/README.chromium +1 -1
  155. package/front_end/ui/comments/CommentOverlayManager.ts +34 -18
  156. package/front_end/ui/components/icon_button/FileSourceIcon.ts +6 -0
  157. package/front_end/ui/components/input/textInput.css +1 -1
  158. package/front_end/ui/components/panel_introduction_steps/panelIntroductionSteps.css +6 -4
  159. package/front_end/ui/components/suggestion_input/suggestionInput.css +2 -2
  160. package/front_end/ui/components/text_editor/AiCodeGenerationTeaser.ts +14 -2
  161. package/front_end/ui/legacy/DockController.ts +17 -4
  162. package/front_end/ui/legacy/Treeoutline.ts +2 -2
  163. package/front_end/ui/legacy/UIUtils.ts +148 -10
  164. package/front_end/ui/legacy/components/inline_editor/bezierEditor.css +3 -2
  165. package/front_end/ui/legacy/components/perf_ui/chartViewport.css +2 -2
  166. package/front_end/ui/legacy/components/perf_ui/filmStripView.css +2 -2
  167. package/front_end/ui/legacy/components/perf_ui/pieChart.css +1 -1
  168. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +5 -4
  169. package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
  170. package/front_end/ui/legacy/components/utils/TargetDetachedDialog.ts +0 -3
  171. package/front_end/ui/legacy/components/utils/imagePreview.css +1 -1
  172. package/front_end/ui/legacy/inspectorCommon.css +1 -14
  173. package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +3 -2
  174. package/front_end/ui/legacy/listWidget.css +0 -18
  175. package/front_end/ui/legacy/theme_support/ThemeSupport.ts +44 -9
  176. package/front_end/ui/lit/strip-whitespace.ts +1 -1
  177. package/front_end/ui/visual_logging/KnownContextValues.ts +1 -0
  178. package/package.json +3 -3
  179. package/front_end/generated/Deprecation.ts +0 -471
  180. package/front_end/panels/accessibility/axBreadcrumbs.css +0 -155
  181. package/front_end/panels/network/requestHeadersTree.css +0 -226
  182. package/front_end/panels/recorder/startView.css +0 -38
  183. package/front_end/panels/security/ipProtectionView.css +0 -141
  184. package/front_end/ui/legacy/components/inline_editor/animationNameSwatch.css +0 -27
@@ -48,11 +48,17 @@ export class ThemeSupport extends EventTarget {
48
48
  private computedStyleOfHTML = Common.Lazy.lazy(() => window.getComputedStyle(document.documentElement));
49
49
 
50
50
  readonly #documentsToTheme = new Set<Document>([document]);
51
+ #pendingUserColorSource?: Root.Runtime.UserColorSource;
52
+ readonly #documentColorSource = new WeakMap<Document, Root.Runtime.UserColorSource>();
53
+ readonly #latestColorsCssLink = new WeakMap<Document, HTMLLinkElement>();
51
54
 
52
55
  readonly #darkThemeMediaQuery: MediaQueryList;
53
56
  readonly #highContrastMediaQuery: MediaQueryList;
54
57
  readonly #onThemeChangeListener = (): void => this.#applyTheme();
55
- readonly #onHostThemeChangeListener = (): void => this.fetchColorsAndApplyHostTheme();
58
+ readonly #onHostThemeChangeListener =
59
+ (event: Common.EventTarget.EventTargetEvent<Root.Runtime.UserColorSource|void>): void => {
60
+ this.fetchColorsAndApplyHostTheme(typeof event.data === 'string' ? event.data : undefined);
61
+ };
56
62
 
57
63
  private constructor(private setting: Common.Settings.Setting<string>) {
58
64
  super();
@@ -67,6 +73,17 @@ export class ThemeSupport extends EventTarget {
67
73
  setting.addChangeListener(this.#onThemeChangeListener);
68
74
  Host.InspectorFrontendHost.InspectorFrontendHostInstance.events.addEventListener(
69
75
  Host.InspectorFrontendHostAPI.Events.ColorThemeChanged, this.#onHostThemeChangeListener);
76
+
77
+ // `Root.Runtime.hostConfig` is fetched during startup before this listener
78
+ // is registered, so a Chrome theme change in between would be missed.
79
+ // Re-query the host's current color source now that the listener is in
80
+ // place, and apply it if it has changed.
81
+ Host.InspectorFrontendHost.InspectorFrontendHostInstance.getHostConfig(config => {
82
+ const colorSource = config.userColorSource;
83
+ if (colorSource && colorSource !== (this.#pendingUserColorSource ?? Root.Runtime.hostConfig.userColorSource)) {
84
+ this.fetchColorsAndApplyHostTheme(colorSource);
85
+ }
86
+ });
70
87
  }
71
88
 
72
89
  #dispose(): void {
@@ -106,7 +123,7 @@ export class ThemeSupport extends EventTarget {
106
123
  */
107
124
  addDocumentToTheme(document: Document): void {
108
125
  this.#documentsToTheme.add(document);
109
- this.#fetchColorsAndApplyHostTheme(document);
126
+ this.#fetchColorsAndApplyHostTheme(document, this.#pendingUserColorSource);
110
127
  }
111
128
 
112
129
  getComputedValue(propertyName: string, target: Element|null = null): string {
@@ -169,12 +186,15 @@ export class ThemeSupport extends EventTarget {
169
186
  // In the baseline themes Chrome uses custom values for surface colors, whereas for dynamic themes these are color-mixed.
170
187
  // To match Chrome we need to know if any of the baseline themes is currently active and assign specific values to surface colors.
171
188
  if (isIncognito) {
189
+ document.documentElement.classList.toggle('baseline-default', false);
172
190
  document.documentElement.classList.toggle('baseline-grayscale', true);
173
191
  } else if (useChromeTheme) {
174
- const selectedTheme = getComputedStyle(document.body).getPropertyValue('--user-color-source');
192
+ const selectedTheme = this.#documentColorSource.get(document) ?? Root.Runtime.hostConfig.userColorSource ??
193
+ getComputedStyle(document.body).getPropertyValue('--user-color-source');
175
194
  document.documentElement.classList.toggle('baseline-default', selectedTheme === 'baseline-default');
176
195
  document.documentElement.classList.toggle('baseline-grayscale', selectedTheme === 'baseline-grayscale');
177
196
  } else {
197
+ document.documentElement.classList.toggle('baseline-default', false);
178
198
  document.documentElement.classList.toggle('baseline-grayscale', true);
179
199
  }
180
200
 
@@ -187,29 +207,44 @@ export class ThemeSupport extends EventTarget {
187
207
  themeValueByTargetByName = new WeakMap();
188
208
  }
189
209
 
190
- fetchColorsAndApplyHostTheme(): void {
210
+ fetchColorsAndApplyHostTheme(colorSource?: Root.Runtime.UserColorSource): void {
211
+ if (colorSource !== undefined) {
212
+ this.#pendingUserColorSource = colorSource;
213
+ }
191
214
  for (const document of this.#documentsToTheme) {
192
- this.#fetchColorsAndApplyHostTheme(document);
215
+ this.#fetchColorsAndApplyHostTheme(document, this.#pendingUserColorSource);
193
216
  }
194
217
  }
195
218
 
196
- #fetchColorsAndApplyHostTheme(document: Document): void {
219
+ #fetchColorsAndApplyHostTheme(document: Document, pendingColorSource?: Root.Runtime.UserColorSource): void {
197
220
  const useChromeTheme =
198
221
  Common.Settings.Settings.instance().resolve(SettingsUI.MainSettings.chromeThemeColorsSettingDescriptor).get();
199
222
  if (Host.InspectorFrontendHost.InspectorFrontendHostInstance.isHostedMode() || !useChromeTheme) {
223
+ if (pendingColorSource !== undefined) {
224
+ this.#documentColorSource.set(document, pendingColorSource);
225
+ }
200
226
  this.#applyThemeToDocument(document);
201
227
  return;
202
228
  }
203
229
 
204
- const oldColorsCssLink = document.querySelector('link[href*=\'//theme/colors.css\']');
205
230
  const newColorsCssLink = document.createElement('link');
206
231
  newColorsCssLink.setAttribute(
207
232
  'href', `devtools://theme/colors.css?sets=ui,chrome&version=${(new Date()).getTime().toString()}`);
208
233
  newColorsCssLink.setAttribute('rel', 'stylesheet');
209
234
  newColorsCssLink.setAttribute('type', 'text/css');
235
+ this.#latestColorsCssLink.set(document, newColorsCssLink);
210
236
  newColorsCssLink.onload = () => {
211
- if (oldColorsCssLink) {
212
- oldColorsCssLink.remove();
237
+ if (this.#latestColorsCssLink.get(document) !== newColorsCssLink) {
238
+ newColorsCssLink.remove();
239
+ return;
240
+ }
241
+ for (const existingLink of document.querySelectorAll('link[href*=\'//theme/colors.css\']')) {
242
+ if (existingLink !== newColorsCssLink) {
243
+ existingLink.remove();
244
+ }
245
+ }
246
+ if (pendingColorSource !== undefined) {
247
+ this.#documentColorSource.set(document, pendingColorSource);
213
248
  }
214
249
  this.#applyThemeToDocument(document);
215
250
  };
@@ -7,7 +7,7 @@ import * as Lit from '../../third_party/lit/lit.js';
7
7
 
8
8
  const templates = new WeakMap<TemplateStringsArray, TemplateStringsArray>();
9
9
 
10
- export function isLitDirective(value: unknown): value is {values: unknown[]} {
10
+ export function isLitDirective(value: unknown): value is {_$litDirective$: unknown, values: unknown[]} {
11
11
  return Boolean(typeof value === 'object' && value && '_$litDirective$' in value && 'values' in value);
12
12
  }
13
13
 
@@ -3987,6 +3987,7 @@ export const knownContextValues: Set<string> = new Set([
3987
3987
  'show-grid-track-sizes-true',
3988
3988
  'show-html-comments',
3989
3989
  'show-html-comments-false',
3990
+ 'show-ignore-listed-frames',
3990
3991
  'show-inactive-css-rules',
3991
3992
  'show-inherited-computed-style-properties',
3992
3993
  'show-issue-associated-with-this',
package/package.json CHANGED
@@ -17,11 +17,11 @@
17
17
  "url": "git+https://github.com/ChromeDevTools/devtools-frontend.git"
18
18
  },
19
19
  "scripts": {
20
- "bake-strings": "vpython3 third_party/node/node.py --output third_party/i18n/collect-strings.js front_end && vpython3 third_party/node/node.py --output third_party/i18n/bake-strings.js front_end/core/i18n/locales",
20
+ "bake-strings": "vpython3 scripts/tools/bake_strings.py",
21
21
  "build": "vpython3 third_party/node/node.py --output scripts/run_build.mjs",
22
22
  "check-external-links": "vpython3 third_party/node/node.py --output scripts/check_external_links.js",
23
23
  "check-gn": "vpython3 third_party/node/node.py --output scripts/gn_deps_verifier/cli.ts",
24
- "collect-strings": "vpython3 third_party/node/node.py --output third_party/i18n/collect-strings.js front_end",
24
+ "collect-strings": "vpython3 scripts/tools/collect_strings.py",
25
25
  "debug-webtest": "vpython3 third_party/node/node.py --output scripts/npm_test.js --debug-devtools",
26
26
  "generate-protocol-resources": "vpython3 scripts/deps/generate_protocol_resources.py && git cl format --js",
27
27
  "install-deps": "vpython3 scripts/deps/manage_node_deps.py",
@@ -91,5 +91,5 @@
91
91
  "yargs": "18.1.0",
92
92
  "yargs-unparser": "2.0.0"
93
93
  },
94
- "version": "1.0.1733843"
94
+ "version": "1.0.1736236"
95
95
  }
@@ -1,471 +0,0 @@
1
- // Copyright 2026 The Chromium Authors
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- // This file is auto-generated, do not edit manually.
6
- // Re-generate with: scripts/tools/dt.py generate-protocol-resources
7
-
8
- export const UIStrings = {
9
- /**
10
- * @description This warning occurs when the website uses Attribution Reporting.
11
- */
12
- AttributionReporting: "Attribution Reporting is deprecated and will be removed. See https://goo.gle/ps-status for details.",
13
- /**
14
- * @description We show this warning when 1) an 'authorization' header is attached to the request by scripts, 2) there is no 'authorization' in the 'access-control-allow-headers' header in the response, and 3) there is a wildcard symbol ('*') in the 'access-control-allow-header' header in the response. This is allowed now, but we're planning to reject such responses and require responses to have an 'access-control-allow-headers' containing 'authorization'.
15
- */
16
- AuthorizationCoveredByWildcard: "Authorization will not be covered by the wildcard symbol (*) in CORS `Access-Control-Allow-Headers` handling.",
17
- /**
18
- * @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.
19
- */
20
- 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.",
21
- /**
22
- * @description This warning occurs when the website attempts to invoke the deprecated `chrome.loadTimes().connectionInfo` API.
23
- */
24
- ChromeLoadTimesConnectionInfo: "`chrome.loadTimes()` is deprecated, instead use standardized API: Navigation Timing 2.",
25
- /**
26
- * @description This warning occurs when the website attempts to invoke the deprecated `chrome.loadTimes().firstPaintAfterLoadTime` API.
27
- */
28
- ChromeLoadTimesFirstPaintAfterLoadTime: "`chrome.loadTimes()` is deprecated, instead use standardized API: Paint Timing.",
29
- /**
30
- * @description This warning occurs when the website attempts to invoke the deprecated `chrome.loadTimes().wasAlternateProtocolAvailable` API.
31
- */
32
- ChromeLoadTimesWasAlternateProtocolAvailable: "`chrome.loadTimes()` is deprecated, instead use standardized API: `nextHopProtocol` in Navigation Timing 2.",
33
- /**
34
- * @description This warning occurs when a frame accesses another frame's data after having set `document.domain` without having set the `Origin-Agent-Cluster` http header. This is a companion warning to `documentDomainSettingWithoutOriginAgentClusterHeader`, where that warning occurs when `document.domain` is set, and this warning occurs when an access has been made, based on that previous `document.domain` setting.
35
- */
36
- CrossOriginAccessBasedOnDocumentDomain: "Relaxing the same-origin policy by setting `document.domain` is deprecated, and will be disabled by default. This deprecation warning is for a cross-origin access that was enabled by setting `document.domain`.",
37
- /**
38
- * @description Issue text shown when the web page uses a deprecated web API. The window.alert is the deprecated web API function.
39
- */
40
- CrossOriginWindowAlert: "Triggering window.alert from cross origin iframes has been deprecated and will be removed in the future.",
41
- /**
42
- * @description Issue text shown when the web page uses a deprecated web API. The window.confirm is the deprecated web API function.
43
- */
44
- CrossOriginWindowConfirm: "Triggering window.confirm from cross origin iframes has been deprecated and will be removed in the future.",
45
- /**
46
- * @description Warning displayed to developers when they hide the Cast button on a video element using the deprecated CSS selector instead of using the disableRemotePlayback attribute on the element.
47
- */
48
- 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.",
49
- /**
50
- * @description Warning displayed to developers to let them know the CSS appearance property value they used is not standard and will be removed.
51
- */
52
- CSSValueAppearanceSliderVertical: "CSS appearance value `slider-vertical` is not standardized and will be removed.",
53
- /**
54
- * @description Warning displayed to developers when a data: URL is assigned to SVGUseElement to let them know that the support is deprecated.
55
- */
56
- DataUrlInSvgUse: "Support for data: URLs in SVGUseElement is deprecated and it will be removed in the future.",
57
- /**
58
- * @description Warning displayed to developers when an unknown protocol string is used in a call to navigator.credentials.get() or create() with the 'digital' option.
59
- */
60
- DigitalCredentialsUnknownProtocol: "An unknown Digital Credentials protocol was requested in navigator.credentials.get() or create(). In a future release, unrecognized protocols will be blocked.",
61
- /**
62
- * @description Warning displayed to developers when document.createEvent() is called with 'KeyboardEvents', which is a non-standard event interface that will be removed.
63
- */
64
- DocumentCreateEventKeyboardEvents: "document.createEvent('KeyboardEvents') is deprecated and will be removed. Use `new KeyboardEvent()` instead.",
65
- /**
66
- * @description Warning displayed to developers when document.createEvent() is called with 'TransitionEvent', which is a non-standard event interface that will be removed.
67
- */
68
- DocumentCreateEventTransitionEvent: "document.createEvent('TransitionEvent') is deprecated and will be removed. Use `new TransitionEvent()` instead.",
69
- /**
70
- * @description Translation is not needed, this will never be exposed in production code.
71
- */
72
- ExampleBrowserProcessDeprecation: "This is an example for showing the code required for a browser process reported deprecation.",
73
- /**
74
- * @description Warning displayed to developers that they are using the Fenced Frame API which has been deprecated and is scheduled to be removed.
75
- */
76
- FencedFrame: "Fenced Frame API is deprecated and scheduled for removal.",
77
- /**
78
- * @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.
79
- */
80
- GeolocationInsecureOrigin: "`getCurrentPosition()` and `watchPosition()` no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://www.chromium.org/Home/chromium-security/deprecating-powerful-features-on-insecure-origins/ for more details.",
81
- /**
82
- * @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 deprecated.
83
- */
84
- GeolocationInsecureOriginDeprecatedNotRemoved: "`getCurrentPosition()` and `watchPosition()` are deprecated on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://www.chromium.org/Home/chromium-security/deprecating-powerful-features-on-insecure-origins/ for more details.",
85
- /**
86
- * @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).
87
- */
88
- 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://www.chromium.org/Home/chromium-security/deprecating-powerful-features-on-insecure-origins/ for more details.",
89
- /**
90
- * @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.
91
- */
92
- HostCandidateAttributeGetter: "`RTCPeerConnectionIceErrorEvent.hostCandidate` is deprecated. Please use `RTCPeerConnectionIceErrorEvent.address` or `RTCPeerConnectionIceErrorEvent.port` instead.",
93
- /**
94
- * @description A deprecation warning shown in the DevTools Issues tab, when a service worker reads one of the fields from an event named 'canmakepayment'.
95
- */
96
- IdentityInCanMakePaymentEvent: "The merchant origin and arbitrary data from the `canmakepayment` service worker event are deprecated and will be removed: `topOrigin`, `paymentRequestOrigin`, `methodData`, `modifiers`.",
97
- /**
98
- * @description This warning occurs when an insecure context (e.g., HTTP) requests a private resource (not on open internet). This is done to mitigate the potential for CSRF and other attacks.
99
- */
100
- InsecurePrivateNetworkSubresourceRequest: "The website requested a subresource from a network that it could only access because of its users' privileged network position. These requests expose non-public devices and servers to the internet, increasing the risk of a cross-site request forgery (CSRF) attack, and/or information leakage. To mitigate these risks, Chrome deprecates requests to non-public subresources when initiated from non-secure contexts, and will start blocking them.",
101
- /**
102
- * @description Warning displayed to developers that instead of calling the `Intl.v8BreakIterator` constructor, which is not a standard JavaScript API, use ECMA402 standard API Intl.Segmenter shipped in end of 2020 instead.
103
- */
104
- IntlV8BreakIterator: "`Intl.v8BreakIterator` is deprecated. Please use `Intl.Segmenter` instead.",
105
- /**
106
- * @description Warning for using deprecated 'inputQuota' attribute.
107
- */
108
- LanguageModel_InputQuota: "LanguageModel.inputQuota is deprecated. Please use LanguageModel.contextWindow instead. This alias is only available in extensions.",
109
- /**
110
- * @description Warning for using deprecated 'inputUsage' attribute.
111
- */
112
- LanguageModel_InputUsage: "LanguageModel.inputUsage is deprecated. Please use LanguageModel.contextUsage instead. This alias is only available in extensions.",
113
- /**
114
- * @description Warning for using deprecated 'measureInputUsage' method.
115
- */
116
- LanguageModel_MeasureInputUsage: "LanguageModel.measureInputUsage() is deprecated. Please use LanguageModel.measureContextUsage() instead. This alias is only available in extensions.",
117
- /**
118
- * @description Warning for using deprecated 'onquotaoverflow' event handler.
119
- */
120
- LanguageModel_OnQuotaOverflow: "LanguageModel.onquotaoverflow is deprecated. Please use LanguageModel.oncontextoverflow instead. The LanguageModel.onquotaoverflow alias is only available in extensions.",
121
- /**
122
- * @description Warning message for web developers when they call the deprecated LanguageModel.params() method.
123
- */
124
- LanguageModelParams: "LanguageModel.params() is deprecated and now only available in extension contexts. The topK and temperature related fields within its result are also deprecated.",
125
- /**
126
- * @description Warning message for web developers when they use the deprecated 'temperature' option in LanguageModel.create() or access the .temperature attribute.
127
- */
128
- LanguageModelTemperature: "The 'temperature' parameter/attribute for LanguageModel is deprecated. It is only functional within extensions and may be removed in the future.",
129
- /**
130
- * @description Warning message for web developers when they use the deprecated 'topK' option in LanguageModel.create() or access the .topK attribute.
131
- */
132
- LanguageModelTopK: "The 'topK' parameter/attribute for LanguageModel is deprecated. It is only functional within extensions and may be removed in the future.",
133
- /**
134
- * @description This warning occurs when a stylesheet loaded from a local file directive does not end in the file type `.css`.
135
- */
136
- LocalCSSFileExtensionRejected: "CSS cannot be loaded from `file:` URLs unless they end in a `.css` file extension.",
137
- /**
138
- * @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.
139
- */
140
- NoSysexWebMIDIWithoutPermission: "Web MIDI will ask a permission to use even if the sysex is not specified in the `MIDIOptions`.",
141
- /**
142
- * @description Warning displayed to developers when the Notification 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.
143
- */
144
- NotificationInsecureOrigin: "The Notification API may no longer be used from insecure origins. You should consider switching your application to a secure origin, such as HTTPS. See https://www.chromium.org/Home/chromium-security/deprecating-powerful-features-on-insecure-origins/ for more details.",
145
- /**
146
- * @description Warning displayed to developers when permission to use notifications has been requested by a cross-origin iframe, to notify them that this use is no longer supported.
147
- */
148
- NotificationPermissionRequestedIframe: "Permission for the Notification API may no longer be requested from a cross-origin iframe. You should consider requesting permission from a top-level frame or opening a new window instead.",
149
- /**
150
- * @description Warning displayed to developers when CreateImageBitmap is used with the newly deprecated option imageOrientation: 'none'.
151
- */
152
- ObsoleteCreateImageBitmapImageOrientationNone: "Option `imageOrientation: 'none'` in createImageBitmap is deprecated. Please use createImageBitmap with option '{imageOrientation: 'from-image'}' instead.",
153
- /**
154
- * @description This warning occurs when the WebRTC protocol attempts to negotiate a connection using an obsolete cipher and risks connection security.
155
- */
156
- ObsoleteWebRtcCipherSuite: "Your partner is negotiating an obsolete (D)TLS version. Please check with your partner to have this fixed.",
157
- /**
158
- * @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.
159
- */
160
- 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.",
161
- /**
162
- * @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.
163
- */
164
- 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.",
165
- /**
166
- * @description Warning displayed to developers when they use the PaymentInstruments API to let them know this API is deprecated.
167
- */
168
- PaymentInstruments: "`paymentManager.instruments` is deprecated. Please use just-in-time install for payment handlers instead.",
169
- /**
170
- * @description Warning displayed to developers when their Web Payment API usage violates their Content-Security-Policy (CSP) connect-src directive to let them know this CSP bypass has been deprecated.
171
- */
172
- PaymentRequestCSPViolation: "Your `PaymentRequest` call bypassed Content-Security-Policy (CSP) `connect-src` directive. This bypass is deprecated. Please add the payment method identifier from the `PaymentRequest` API (in `supportedMethods` field) to your CSP `connect-src` directive.",
173
- /**
174
- * @description Warning displayed to developers when persistent storage type is used to notify that storage type is deprecated.
175
- */
176
- PersistentQuotaType: "`StorageType.persistent` is deprecated. Please use standardized `navigator.storage` instead.",
177
- /**
178
- * @description This issue indicates that a `<source>` element with a `<picture>` parent was using an `src` attribute, which is not valid and is ignored by the browser. The `srcset` attribute should be used instead.
179
- */
180
- PictureSourceSrc: "`<source src>` with a `<picture>` parent is invalid and therefore ignored. Please use `<source srcset>` instead.",
181
- /**
182
- * @description Warning displayed to developers when the vendor-prefixed method (webkitCancelAnimationFrame) is used rather than the equivalent unprefixed method (cancelAnimationFrame).
183
- */
184
- PrefixedCancelAnimationFrame: "webkitCancelAnimationFrame is vendor-specific. Please use the standard cancelAnimationFrame instead.",
185
- /**
186
- * @description Warning displayed to developers when the vendor-prefixed method (webkitRequestAnimationFrame) is used rather than the equivalent unprefixed method (requestAnimationFrame).
187
- */
188
- PrefixedRequestAnimationFrame: "webkitRequestAnimationFrame is vendor-specific. Please use the standard requestAnimationFrame instead.",
189
- /**
190
- * @description Standard message when one web API is deprecated in favor of another.
191
- */
192
- PrefixedVideoDisplayingFullscreen: "HTMLVideoElement.webkitDisplayingFullscreen is deprecated. Please use Document.fullscreenElement instead.",
193
- /**
194
- * @description Standard message when one web API is deprecated in favor of another.
195
- */
196
- PrefixedVideoEnterFullScreen: "HTMLVideoElement.webkitEnterFullScreen() is deprecated. Please use Element.requestFullscreen() instead.",
197
- /**
198
- * @description Standard message when one web API is deprecated in favor of another.
199
- */
200
- PrefixedVideoEnterFullscreen: "HTMLVideoElement.webkitEnterFullscreen() is deprecated. Please use Element.requestFullscreen() instead.",
201
- /**
202
- * @description Standard message when one web API is deprecated in favor of another.
203
- */
204
- PrefixedVideoExitFullScreen: "HTMLVideoElement.webkitExitFullScreen() is deprecated. Please use Document.exitFullscreen() instead.",
205
- /**
206
- * @description Standard message when one web API is deprecated in favor of another.
207
- */
208
- PrefixedVideoExitFullscreen: "HTMLVideoElement.webkitExitFullscreen() is deprecated. Please use Document.exitFullscreen() instead.",
209
- /**
210
- * @description Standard message when one web API is deprecated in favor of another.
211
- */
212
- PrefixedVideoSupportsFullscreen: "HTMLVideoElement.webkitSupportsFullscreen is deprecated. Please use Document.fullscreenEnabled instead.",
213
- /**
214
- * @description Warning displayed to developers when an SVG filter is applied to a disallowed content type.
215
- */
216
- PreventSvgFilterPaint: "SVG filters cannot be applied to cross-origin iframes, restricted iframes (e.g., sandboxed), or plugins.",
217
- /**
218
- * @description Standard message when one web API is deprecated in favor of another.
219
- */
220
- RangeExpand: "Range.expand() is deprecated. Please use Selection.modify() instead.",
221
- /**
222
- * @description A deprecation warning shown in the DevTools Issues tab. It's shown when the Storage Access API is automatically granted by Related Website Sets. The placeholder will always be the string `Related Website Sets`.
223
- */
224
- RelatedWebsiteSets: "`Related Website Sets` is deprecated and will be removed. See https://privacysandbox.com/news/update-on-plans-for-privacy-sandbox-technologies/ for more details.",
225
- /**
226
- * @description This warning occurs when a subresource loaded by a page has a URL with an authority portion. These are disallowed.
227
- */
228
- RequestedSubresourceWithEmbeddedCredentials: "Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked.",
229
- /**
230
- * @description A deprecation warning shown in the DevTools Issues tab. It's shown when a video conferencing website attempts to use a non-standard crypto method when performing a handshake to set up a connection with another endpoint.
231
- */
232
- RTCConstraintEnableDtlsSrtpFalse: "The constraint `DtlsSrtpKeyAgreement` is removed. You have specified a `false` value for this constraint, which is interpreted as an attempt to use the removed `SDES key negotiation` method. This functionality is removed; use a service that supports `DTLS key negotiation` instead.",
233
- /**
234
- * @description A deprecation warning shown in the DevTools Issues tab. It's shown when a video conferencing website uses a non-standard API for controlling the crypto method used, but is not having an effect because the desired behavior is already enabled-by-default.
235
- */
236
- RTCConstraintEnableDtlsSrtpTrue: "The constraint `DtlsSrtpKeyAgreement` is removed. You have specified a `true` value for this constraint, which had no effect, but you can remove this constraint for tidiness.",
237
- /**
238
- * @description Warning displayed to developers when the non-standard RTCPeerConnection.createDTMFSender() method is used. Developers should use the standard RTCRtpSender.dtmf attribute instead.
239
- */
240
- RTCPeerConnectionCreateDTMFSender: "RTCPeerConnection.createDTMFSender() is deprecated and will be removed. Please use RTCRtpSender.dtmf instead.",
241
- /**
242
- * @description WebRTC is set of JavaScript APIs for sending and receiving data, audio and video. getStats() is a method used to obtain network and quality metrics. There are two versions of this method, one is being deprecated because it is non-standard.
243
- */
244
- RTCPeerConnectionGetStatsLegacyNonCompliant: "The callback-based getStats() is deprecated and will be removed. Use the spec-compliant getStats() instead.",
245
- /**
246
- * @description A deprecation warning shown in the DevTools Issues tab. It's shown then a video conferencing website attempts to use the `RTCP MUX` policy.
247
- */
248
- RtcpMuxPolicyNegotiate: "The `rtcpMuxPolicy` option is deprecated and will be removed.",
249
- /**
250
- * @description A deprecation warning shown in the DevTools Issues tab. The placeholder is always the noun 'SharedArrayBuffer' which refers to a JavaScript construct.
251
- */
252
- SharedArrayBufferConstructedWithoutIsolation: "`SharedArrayBuffer` will require cross-origin isolation. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.",
253
- /**
254
- * @description A deprecation warning shown in the DevTools Issues tab. It's shown when the speech synthesis API is called before the page receives a user activation.
255
- */
256
- TextToSpeech_DisallowedByAutoplay: "`speechSynthesis.speak()` without user activation is deprecated and will be removed.",
257
- /**
258
- * @description A deprecation warning shown in the DevTools Issues tab. It's shown when one of the Topics APIs like `document.browsingTopics()`, `<img browsingtopics>`, `<iframe browsingtopics>`, or `fetch(url, {browsingTopics: true})` are used.
259
- */
260
- Topics: "The Topics API is deprecated and will be removed in a future release.",
261
- /**
262
- * @description A deprecation warning shown in the DevTools Issues tab. It's shown when a listener for the `unload` event is added.
263
- */
264
- UnloadHandler: "Unload event listeners are deprecated and will be removed.",
265
- /**
266
- * @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.
267
- */
268
- V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.",
269
- /**
270
- * @description Warning displayed to developers when an SVG filter is applied to view transition content, which is disallowed because the content may contain cross-origin iframes or plugins. `::view-transition-old()` and `::view-transition-new()` are CSS pseudo-element names and should not be translated.
271
- */
272
- ViewTransitionPreventSvgFilterPaint: "SVG filters cannot be applied to view transition content, such as `::view-transition-old()` and `::view-transition-new()`, as it may contain cross-origin iframes or plugins.",
273
- /**
274
- * @description This warning occurs when the deprecated `BluetoothRemoteGATTCharacteristic.writeValue()` method is used. Developers should use `writeValueWithResponse()` or `writeValueWithoutResponse()` instead.
275
- */
276
- WebBluetoothRemoteCharacteristicWriteValue: "`BluetoothRemoteGATTCharacteristic.writeValue()` is deprecated. Use `writeValueWithResponse()` or `writeValueWithoutResponse()` instead.",
277
- /**
278
- * @description Warning for using the deprecated 'incomingHighWaterMark' attribute on WebTransportDatagramDuplexStream. Developers should use 'incomingMaxBufferedDatagrams' instead.
279
- */
280
- WebTransportDatagramDuplexStreamIncomingHighWaterMark: "WebTransportDatagramDuplexStream.incomingHighWaterMark has been renamed to incomingMaxBufferedDatagrams. incomingHighWaterMark will be removed in a future version of Chrome.",
281
- /**
282
- * @description Warning for using the deprecated 'outgoingHighWaterMark' attribute on WebTransportDatagramDuplexStream. Developers should use 'outgoingMaxBufferedDatagrams' instead.
283
- */
284
- WebTransportDatagramDuplexStreamOutgoingHighWaterMark: "WebTransportDatagramDuplexStream.outgoingHighWaterMark has been renamed to outgoingMaxBufferedDatagrams. outgoingHighWaterMark will be removed in a future version of Chrome.",
285
- /**
286
- * @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.
287
- */
288
- XHRJSONEncodingDetection: "UTF-16 is not supported by response json in `XMLHttpRequest`",
289
- /**
290
- * @description Warning displayed to developers. It is shown when the `XMLHttpRequest` API is used in a way that it slows down the page load of the next page. The `main thread` refers to an operating systems thread used to run most of the processing of HTML documents, so please use a consistent wording.
291
- */
292
- XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: "Synchronous `XMLHttpRequest` on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.",
293
- /**
294
- * @description Warning displayed to developers that they are using either the XSLTProcessor API, or XSLT processing instructions, both of which have been deprecated and are scheduled to be removed.
295
- */
296
- XSLT: "XSLTProcessor and XSLT Processing Instructions have been deprecated by all browsers. These features will be removed from this browser soon.",
297
- } as const;
298
-
299
- export interface DeprecationDescriptor {
300
- milestone?: number;
301
- chromeStatusFeature?: number;
302
- }
303
-
304
- export const DEPRECATIONS_METADATA: Partial<Record<string, DeprecationDescriptor>> = {
305
- "AttributionReporting": {
306
- "chromeStatusFeature": 6320639375966208
307
- },
308
- "AuthorizationCoveredByWildcard": {
309
- "milestone": 97
310
- },
311
- "CSSSelectorInternalMediaControlsOverlayCastButton": {
312
- "chromeStatusFeature": 5714245488476160
313
- },
314
- "CSSValueAppearanceSliderVertical": {
315
- "chromeStatusFeature": 6001359429566464
316
- },
317
- "CanRequestURLHTTPContainingNewline": {
318
- "chromeStatusFeature": 5735596811091968
319
- },
320
- "ChromeLoadTimesConnectionInfo": {
321
- "chromeStatusFeature": 5637885046816768
322
- },
323
- "ChromeLoadTimesFirstPaintAfterLoadTime": {
324
- "chromeStatusFeature": 5637885046816768
325
- },
326
- "ChromeLoadTimesWasAlternateProtocolAvailable": {
327
- "chromeStatusFeature": 5637885046816768
328
- },
329
- "CrossOriginAccessBasedOnDocumentDomain": {
330
- "milestone": 115
331
- },
332
- "DataUrlInSvgUse": {
333
- "chromeStatusFeature": 5128825141198848,
334
- "milestone": 119
335
- },
336
- "DigitalCredentialsUnknownProtocol": {
337
- "chromeStatusFeature": 6492906882990080,
338
- "milestone": 160
339
- },
340
- "DocumentCreateEventKeyboardEvents": {
341
- "chromeStatusFeature": 5095987863486464,
342
- "milestone": 151
343
- },
344
- "DocumentCreateEventTransitionEvent": {
345
- "chromeStatusFeature": 5095987863486464,
346
- "milestone": 151
347
- },
348
- "FencedFrame": {
349
- "chromeStatusFeature": 6366274495053824,
350
- "milestone": 156
351
- },
352
- "IdentityInCanMakePaymentEvent": {
353
- "chromeStatusFeature": 5190978431352832
354
- },
355
- "InsecurePrivateNetworkSubresourceRequest": {
356
- "chromeStatusFeature": 5436853517811712,
357
- "milestone": 92
358
- },
359
- "LanguageModelParams": {
360
- "chromeStatusFeature": 5134603979063296
361
- },
362
- "LanguageModelTemperature": {
363
- "chromeStatusFeature": 5134603979063296
364
- },
365
- "LanguageModelTopK": {
366
- "chromeStatusFeature": 5134603979063296
367
- },
368
- "LanguageModel_InputQuota": {
369
- "chromeStatusFeature": 5134603979063296
370
- },
371
- "LanguageModel_InputUsage": {
372
- "chromeStatusFeature": 5134603979063296
373
- },
374
- "LanguageModel_MeasureInputUsage": {
375
- "chromeStatusFeature": 5134603979063296
376
- },
377
- "LanguageModel_OnQuotaOverflow": {
378
- "chromeStatusFeature": 5134603979063296
379
- },
380
- "LocalCSSFileExtensionRejected": {
381
- "milestone": 64
382
- },
383
- "NoSysexWebMIDIWithoutPermission": {
384
- "chromeStatusFeature": 5138066234671104,
385
- "milestone": 82
386
- },
387
- "NotificationPermissionRequestedIframe": {
388
- "chromeStatusFeature": 6451284559265792
389
- },
390
- "ObsoleteCreateImageBitmapImageOrientationNone": {
391
- "milestone": 111
392
- },
393
- "ObsoleteWebRtcCipherSuite": {
394
- "milestone": 81
395
- },
396
- "OverflowVisibleOnReplacedElement": {
397
- "chromeStatusFeature": 5137515594383360,
398
- "milestone": 108
399
- },
400
- "OverrideFlashEmbedwithHTML": {
401
- "milestone": 140
402
- },
403
- "PaymentInstruments": {
404
- "chromeStatusFeature": 5099285054488576
405
- },
406
- "PaymentRequestCSPViolation": {
407
- "chromeStatusFeature": 6286595631087616
408
- },
409
- "PersistentQuotaType": {
410
- "chromeStatusFeature": 5176235376246784,
411
- "milestone": 106
412
- },
413
- "PreventSvgFilterPaint": {
414
- "chromeStatusFeature": 5117170452398080
415
- },
416
- "RTCConstraintEnableDtlsSrtpFalse": {
417
- "milestone": 97
418
- },
419
- "RTCConstraintEnableDtlsSrtpTrue": {
420
- "milestone": 97
421
- },
422
- "RTCPeerConnectionCreateDTMFSender": {
423
- "chromeStatusFeature": 5160724576993280,
424
- "milestone": 160
425
- },
426
- "RTCPeerConnectionGetStatsLegacyNonCompliant": {
427
- "chromeStatusFeature": 4631626228695040,
428
- "milestone": 117
429
- },
430
- "RelatedWebsiteSets": {
431
- "chromeStatusFeature": 5194473869017088
432
- },
433
- "RequestedSubresourceWithEmbeddedCredentials": {
434
- "chromeStatusFeature": 5669008342777856
435
- },
436
- "RtcpMuxPolicyNegotiate": {
437
- "chromeStatusFeature": 5654810086866944,
438
- "milestone": 62
439
- },
440
- "SharedArrayBufferConstructedWithoutIsolation": {
441
- "milestone": 106
442
- },
443
- "TextToSpeech_DisallowedByAutoplay": {
444
- "chromeStatusFeature": 5687444770914304,
445
- "milestone": 71
446
- },
447
- "UnloadHandler": {
448
- "chromeStatusFeature": 5579556305502208
449
- },
450
- "V8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
451
- "milestone": 96
452
- },
453
- "WebBluetoothRemoteCharacteristicWriteValue": {
454
- "chromeStatusFeature": 5088568590598144
455
- },
456
- "WebTransportDatagramDuplexStreamIncomingHighWaterMark": {
457
- "chromeStatusFeature": 5143839699501056,
458
- "milestone": 156
459
- },
460
- "WebTransportDatagramDuplexStreamOutgoingHighWaterMark": {
461
- "chromeStatusFeature": 5143839699501056,
462
- "milestone": 156
463
- },
464
- "XHRJSONEncodingDetection": {
465
- "milestone": 93
466
- },
467
- "XSLT": {
468
- "chromeStatusFeature": 4709671889534976,
469
- "milestone": 143
470
- }
471
- };