chrome-devtools-frontend 1.0.1000934 → 1.0.1002543

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 (187) hide show
  1. package/config/gni/devtools_grd_files.gni +4 -3
  2. package/front_end/.eslintrc.js +1 -0
  3. package/front_end/core/common/ParsedURL.ts +3 -3
  4. package/front_end/core/host/InspectorFrontendHost.ts +30 -1
  5. package/front_end/core/i18n/locales/en-US.json +177 -12
  6. package/front_end/core/i18n/locales/en-XL.json +177 -12
  7. package/front_end/core/protocol_client/InspectorBackend.ts +4 -0
  8. package/front_end/core/root/Runtime.ts +7 -3
  9. package/front_end/core/sdk/ServiceWorkerManager.ts +6 -5
  10. package/front_end/entrypoints/formatter_worker/FormatterActions.ts +14 -0
  11. package/front_end/entrypoints/formatter_worker/ScopeParser.ts +491 -0
  12. package/front_end/entrypoints/formatter_worker/Substitute.ts +4 -440
  13. package/front_end/entrypoints/formatter_worker/formatter_worker.ts +2 -0
  14. package/front_end/generated/InspectorBackendCommands.js +38 -10
  15. package/front_end/generated/protocol-mapping.d.ts +5 -1
  16. package/front_end/generated/protocol-proxy-api.d.ts +4 -1
  17. package/front_end/generated/protocol.ts +50 -10
  18. package/front_end/models/bindings/BreakpointManager.ts +12 -11
  19. package/front_end/models/bindings/CompilerScriptMapping.ts +1 -1
  20. package/front_end/models/issues_manager/AttributionReportingIssue.ts +5 -36
  21. package/front_end/models/issues_manager/DeprecationIssue.ts +233 -257
  22. package/front_end/models/issues_manager/Issue.ts +8 -4
  23. package/front_end/models/persistence/PersistenceImpl.ts +2 -2
  24. package/front_end/models/timeline_model/TimelineModel.ts +0 -48
  25. package/front_end/panels/application/AppManifestView.ts +3 -3
  26. package/front_end/panels/application/ApplicationPanelCacheSection.ts +3 -1
  27. package/front_end/panels/application/ApplicationPanelSidebar.ts +11 -6
  28. package/front_end/panels/application/ApplicationPanelTreeElement.ts +2 -2
  29. package/front_end/panels/application/BackgroundServiceView.ts +5 -4
  30. package/front_end/panels/application/ResourcesPanel.ts +1 -1
  31. package/front_end/panels/application/components/BackForwardCacheView.ts +4 -5
  32. package/front_end/panels/application/components/FrameDetailsView.ts +19 -19
  33. package/front_end/panels/application/components/PermissionsPolicySection.ts +2 -2
  34. package/front_end/panels/console/ConsoleViewMessage.ts +6 -3
  35. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +1 -1
  36. package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +3 -2
  37. package/front_end/panels/css_overview/cssOverviewCompletedView.css +4 -0
  38. package/front_end/panels/elements/StylePropertyTreeElement.ts +19 -13
  39. package/front_end/panels/elements/StylesSidebarPane.ts +53 -0
  40. package/front_end/panels/elements/components/QueryContainer.ts +1 -1
  41. package/front_end/panels/issues/AffectedResourcesView.ts +4 -3
  42. package/front_end/panels/issues/AffectedSourcesView.ts +2 -1
  43. package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +0 -43
  44. package/front_end/panels/issues/IssueView.ts +1 -1
  45. package/front_end/panels/lighthouse/LighthouseController.ts +5 -3
  46. package/front_end/panels/lighthouse/LighthouseReporterTypes.ts +2 -1
  47. package/front_end/panels/lighthouse/lighthousePanel.css +4 -0
  48. package/front_end/panels/network/components/RequestTrustTokensView.ts +7 -7
  49. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +2 -2
  50. package/front_end/panels/profiler/HeapSnapshotView.ts +2 -1
  51. package/front_end/panels/profiler/ProfileDataGrid.ts +1 -1
  52. package/front_end/panels/security/SecurityPanel.ts +6 -5
  53. package/front_end/panels/settings/SettingsScreen.ts +2 -3
  54. package/front_end/panels/sources/DebuggerPlugin.ts +10 -9
  55. package/front_end/panels/sources/JavaScriptBreakpointsSidebarPane.ts +3 -3
  56. package/front_end/panels/timeline/PerformanceModel.ts +2 -6
  57. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +1 -14
  58. package/front_end/panels/timeline/TimelineUIUtils.ts +14 -12
  59. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1036 -1088
  60. package/front_end/third_party/lighthouse/locales/en-US.json +241 -4
  61. package/front_end/third_party/lighthouse/locales/en-XL.json +241 -4
  62. package/front_end/third_party/lighthouse/report/bundle.d.ts +2 -0
  63. package/front_end/third_party/lighthouse/report/bundle.js +18 -12
  64. package/front_end/third_party/lighthouse/report-assets/report-generator.mjs +1 -1
  65. package/front_end/third_party/puppeteer/package/README.md +11 -11
  66. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
  67. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +26 -2
  68. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
  69. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
  70. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +7 -0
  71. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
  72. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +2 -2
  73. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  74. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +19 -11
  75. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
  76. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts +2 -2
  77. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  78. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +6 -2
  79. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
  80. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +1 -1
  81. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +1 -1
  82. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts +3 -0
  83. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts.map +1 -0
  84. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js +18 -0
  85. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js.map +1 -0
  86. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts +2 -0
  87. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts.map +1 -0
  88. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js +7 -0
  89. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js.map +1 -0
  90. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +2 -0
  91. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts.map +1 -0
  92. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +5 -0
  93. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js.map +1 -0
  94. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.d.ts.map +1 -1
  95. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.js +2 -15
  96. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.js.map +1 -1
  97. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +1 -1
  98. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
  99. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +23 -15
  100. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
  101. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
  102. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js +1 -0
  103. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
  104. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts +1 -1
  105. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
  106. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +17 -3
  107. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
  108. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.d.ts.map +1 -1
  109. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +1 -6
  110. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js.map +1 -1
  111. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +1 -1
  112. package/front_end/third_party/puppeteer/package/lib/esm/package.json +1 -0
  113. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
  114. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +3 -2
  115. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
  116. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
  117. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +7 -0
  118. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
  119. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +2 -2
  120. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  121. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +19 -11
  122. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
  123. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts +2 -2
  124. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  125. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +6 -2
  126. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
  127. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +1 -1
  128. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +1 -1
  129. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts +3 -0
  130. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts.map +1 -0
  131. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js +17 -0
  132. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js.map +1 -0
  133. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts +2 -0
  134. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts.map +1 -0
  135. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js +4 -0
  136. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js.map +1 -0
  137. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +2 -0
  138. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts.map +1 -0
  139. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +2 -0
  140. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js.map +1 -0
  141. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.d.ts.map +1 -1
  142. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.js +2 -15
  143. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.js.map +1 -1
  144. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts +1 -1
  145. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
  146. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +21 -13
  147. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
  148. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
  149. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js +1 -0
  150. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +1 -1
  151. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts +1 -1
  152. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
  153. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js +17 -3
  154. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
  155. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.d.ts.map +1 -1
  156. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js +1 -6
  157. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js.map +1 -1
  158. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +1 -1
  159. package/front_end/third_party/puppeteer/package/lib/types.d.ts +6 -6
  160. package/front_end/third_party/puppeteer/package/package.json +33 -18
  161. package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +4 -1
  162. package/front_end/ui/components/data_grid/DataGrid.ts +1 -1
  163. package/front_end/ui/components/data_grid/DataGridUtils.ts +1 -1
  164. package/front_end/ui/components/docs/linkifier/simple-url.ts +2 -1
  165. package/front_end/ui/components/docs/panel_feedback/basic.ts +3 -2
  166. package/front_end/ui/components/docs/panel_feedback/button.ts +2 -1
  167. package/front_end/ui/components/linkifier/LinkifierImpl.ts +4 -3
  168. package/front_end/ui/components/linkifier/LinkifierUtils.ts +2 -3
  169. package/front_end/ui/components/panel_feedback/FeedbackButton.ts +4 -6
  170. package/front_end/ui/components/panel_feedback/PanelFeedback.ts +5 -4
  171. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +4 -4
  172. package/front_end/ui/legacy/EmptyWidget.ts +2 -1
  173. package/front_end/ui/legacy/UIUtils.ts +4 -4
  174. package/front_end/ui/legacy/XLink.ts +12 -13
  175. package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +2 -4
  176. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +1 -1
  177. package/front_end/ui/legacy/components/perf_ui/LineLevelProfile.ts +0 -2
  178. package/front_end/ui/legacy/components/utils/ImagePreview.ts +3 -7
  179. package/front_end/ui/legacy/components/utils/Linkifier.ts +23 -23
  180. package/front_end/ui/legacy/toolbar.css +1 -1
  181. package/front_end/ui/lit-html/lit-html.ts +3 -0
  182. package/package.json +1 -1
  183. package/scripts/eslint_rules/lib/lit_template_result_or_nothing.js +4 -0
  184. package/scripts/eslint_rules/tests/lit_template_result_or_nothing_test.js +13 -0
  185. package/front_end/models/issues_manager/descriptions/arInvalidAttributionSourceEventId.md +0 -3
  186. package/front_end/models/issues_manager/descriptions/arInvalidAttributionSourceExpiry.md +0 -4
  187. package/front_end/models/issues_manager/descriptions/arInvalidAttributionSourcePriority.md +0 -4
@@ -10,333 +10,334 @@ import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
10
  import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
11
  import {resolveLazyDescription} from './MarkdownIssueDescription.js';
12
12
 
13
- const
14
- UIStrings =
15
- {
16
- // Store strings used across messages in this block.
17
- /**
13
+ // clang-format off
14
+ const UIStrings = {
15
+ // Store strings used across messages in this block.
16
+ /**
18
17
  * @description This links to the chrome feature status page when one exists.
19
18
  */
20
- feature: 'Check the feature status page for more details.',
21
- /**
19
+ feature: 'Check the feature status page for more details.',
20
+ /**
22
21
  * @description This links to the chromium dash schedule when a milestone is set.
23
22
  * @example {100} milestone
24
23
  */
25
- milestone: 'This change will go into effect with milestone {milestone}.',
26
- /**
24
+ milestone: 'This change will go into effect with milestone {milestone}.',
25
+ /**
27
26
  *@description Title of issue raised when a deprecated feature is used
28
27
  */
29
- title: 'Deprecated Feature Used',
28
+ title: 'Deprecated Feature Used',
30
29
 
31
- // Store alphabetized messages per DeprecationIssueType in this block.
32
- /**
30
+ // Store alphabetized messages per DeprecationIssueType in this block.
31
+ /**
33
32
  *@description TODO(crbug.com/1318846): Description needed for translation
34
33
  */
35
- authorizationCoveredByWildcard:
36
- 'Authorization will not be covered by the wildcard symbol (*) in CORS `Access-Control-Allow-Headers` handling.',
37
- /**
34
+ authorizationCoveredByWildcard:
35
+ 'Authorization will not be covered by the wildcard symbol (*) in CORS `Access-Control-Allow-Headers` handling.',
36
+ /**
38
37
  *@description TODO(crbug.com/1320334): Description needed for translation
39
38
  */
40
- canRequestURLHTTPContainingNewline:
41
- '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.',
42
- /**
39
+ canRequestURLHTTPContainingNewline:
40
+ '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.',
41
+ /**
43
42
  *@description TODO(crbug.com/1320335): Description needed for translation
44
43
  */
45
- chromeLoadTimesConnectionInfo:
46
- '`chrome.loadTimes()` is deprecated, instead use standardized API: Navigation Timing 2.',
47
- /**
44
+ chromeLoadTimesConnectionInfo:
45
+ '`chrome.loadTimes()` is deprecated, instead use standardized API: Navigation Timing 2.',
46
+ /**
48
47
  *@description TODO(crbug.com/1320336): Description needed for translation
49
48
  */
50
- chromeLoadTimesFirstPaintAfterLoadTime:
51
- '`chrome.loadTimes()` is deprecated, instead use standardized API: Paint Timing.',
52
- /**
49
+ chromeLoadTimesFirstPaintAfterLoadTime:
50
+ '`chrome.loadTimes()` is deprecated, instead use standardized API: Paint Timing.',
51
+ /**
53
52
  *@description TODO(crbug.com/1320337): Description needed for translation
54
53
  */
55
- chromeLoadTimesWasAlternateProtocolAvailable:
56
- '`chrome.loadTimes()` is deprecated, instead use standardized API: `nextHopProtocol` in Navigation Timing 2.',
57
- /**
54
+ chromeLoadTimesWasAlternateProtocolAvailable:
55
+ '`chrome.loadTimes()` is deprecated, instead use standardized API: `nextHopProtocol` in Navigation Timing 2.',
56
+ /**
58
57
  *@description TODO(crbug.com/1318847): Description needed for translation
59
58
  */
60
- cookieWithTruncatingChar: 'Cookies containing a `\\(0|r|n)` character will be rejected instead of truncated.',
61
- /**
62
- *@description This warning occurs when a frame accesses another frame's
63
- * data after having set `document.domain` without having set the
64
- * `Origin-Agent-Cluster` http header. This is a companion warning to
65
- * `documentDomainSettingWithoutOriginAgentClusterHeader`, where that
66
- * warning occurs when `document.domain` is set, and this warning
67
- * occurs when an access has been made, based on that previous
68
- * `document.domain` setting.
69
- */
70
- crossOriginAccessBasedOnDocumentDomain:
71
- '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`.',
72
- /**
59
+ cookieWithTruncatingChar: 'Cookies containing a `\\(0|r|n)` character will be rejected instead of truncated.',
60
+ /**
61
+ *@description This warning occurs when a frame accesses another frame's
62
+ * data after having set `document.domain` without having set the
63
+ * `Origin-Agent-Cluster` http header. This is a companion warning to
64
+ * `documentDomainSettingWithoutOriginAgentClusterHeader`, where that
65
+ * warning occurs when `document.domain` is set, and this warning
66
+ * occurs when an access has been made, based on that previous
67
+ * `document.domain` setting.
68
+ */
69
+ crossOriginAccessBasedOnDocumentDomain:
70
+ '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`.',
71
+ /**
73
72
  *@description TODO(crbug.com/1318850): Description needed for translation
74
73
  */
75
- crossOriginWindowAlert:
76
- 'Triggering `window.alert` from cross origin iframes has been deprecated and will be removed in the future.',
77
- /**
74
+ crossOriginWindowAlert:
75
+ 'Triggering `window.alert` from cross origin iframes has been deprecated and will be removed in the future.',
76
+ /**
78
77
  *@description TODO(crbug.com/1318851): Description needed for translation
79
78
  */
80
- crossOriginWindowConfirm:
81
- 'Triggering `window.confirm` from cross origin iframes has been deprecated and will be removed in the future.',
82
- /**
79
+ crossOriginWindowConfirm:
80
+ 'Triggering `window.confirm` from cross origin iframes has been deprecated and will be removed in the future.',
81
+ /**
83
82
  *@description TODO(crbug.com/1320339): Description needed for translation
84
83
  */
85
- cssSelectorInternalMediaControlsOverlayCastButton:
86
- 'The `disableRemotePlayback` attribute should be used in order to disable the default Cast integration instead of using `-internal-media-controls-overlay-cast-button` selector.',
87
- /**
84
+ cssSelectorInternalMediaControlsOverlayCastButton:
85
+ 'The `disableRemotePlayback` attribute should be used in order to disable the default Cast integration instead of using `-internal-media-controls-overlay-cast-button` selector.',
86
+ /**
88
87
  *@description TODO(crbug.com/1320340): Description needed for translation
89
88
  */
90
- customCursorIntersectsViewport:
91
- 'Custom cursors with size greater than 32x32 DIP intersecting native UI is deprecated and will be removed.',
92
- /**
89
+ customCursorIntersectsViewport:
90
+ 'Custom cursors with size greater than 32x32 DIP intersecting native UI is deprecated and will be removed.',
91
+ /**
93
92
  *@description This message is shown when the example deprecated feature is used
94
93
  */
95
- deprecationExample: 'This is an example of a translated deprecation issue message.',
96
- /**
97
- *@description This warning occurs when a script modifies `document.domain`
98
- * without having set on `Origin-Agent-Cluster` http header. In other
99
- * words, when a script relies on the default behaviour of
100
- * `Origin-Agent-Cluster` when setting document.domain.
101
- */
102
- documentDomainSettingWithoutOriginAgentClusterHeader:
103
- 'Relaxing the same-origin policy by setting `document.domain` is deprecated, and will be disabled by default. To continue using this feature, please opt-out of origin-keyed agent clusters by sending an `Origin-Agent-Cluster: ?0` header along with the HTTP response for the document and frames. See https://developer.chrome.com/blog/immutable-document-domain/ for more details.',
104
- /**
94
+ deprecationExample: 'This is an example of a translated deprecation issue message.',
95
+ /**
96
+ *@description This warning occurs when a script modifies `document.domain`
97
+ * without having set on `Origin-Agent-Cluster` http header. In other
98
+ * words, when a script relies on the default behaviour of
99
+ * `Origin-Agent-Cluster` when setting document.domain.
100
+ */
101
+ documentDomainSettingWithoutOriginAgentClusterHeader:
102
+ 'Relaxing the same-origin policy by setting `document.domain` is deprecated, and will be disabled by default. To continue using this feature, please opt-out of origin-keyed agent clusters by sending an `Origin-Agent-Cluster: ?0` header along with the HTTP response for the document and frames. See https://developer.chrome.com/blog/immutable-document-domain/ for more details.',
103
+ /**
105
104
  *@description Warning displayed to developers when the non-standard `Event.path` API is used to notify them that this API is deprecated.
106
105
  */
107
- eventPath: '`Event.path` is deprecated and will be removed. Please use `Event.composedPath()` instead.',
108
- /**
106
+ eventPath: '`Event.path` is deprecated and will be removed. Please use `Event.composedPath()` instead.',
107
+ /**
109
108
  *@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.
110
109
  */
111
- geolocationInsecureOrigin:
112
- '`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://goo.gle/chrome-insecure-origins for more details.',
113
- /**
110
+ geolocationInsecureOrigin:
111
+ '`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://goo.gle/chrome-insecure-origins for more details.',
112
+ /**
114
113
  *@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.
115
114
  */
116
- geolocationInsecureOriginDeprecatedNotRemoved:
117
- '`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://goo.gle/chrome-insecure-origins for more details.',
118
- /**
115
+ geolocationInsecureOriginDeprecatedNotRemoved:
116
+ '`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://goo.gle/chrome-insecure-origins for more details.',
117
+ /**
119
118
  *@description TODO(crbug.com/1318858): Description needed for translation
120
119
  */
121
- getUserMediaInsecureOrigin:
122
- '`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.',
123
- /**
120
+ getUserMediaInsecureOrigin:
121
+ '`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.',
122
+ /**
124
123
  *@description TODO(crbug.com/1320342): Description needed for translation
125
124
  */
126
- hostCandidateAttributeGetter:
127
- '`RTCPeerConnectionIceErrorEvent.hostCandidate` is deprecated. Please use `RTCPeerConnectionIceErrorEvent.address` or `RTCPeerConnectionIceErrorEvent.port` instead.',
128
- /**
125
+ hostCandidateAttributeGetter:
126
+ '`RTCPeerConnectionIceErrorEvent.hostCandidate` is deprecated. Please use `RTCPeerConnectionIceErrorEvent.address` or `RTCPeerConnectionIceErrorEvent.port` instead.',
127
+ /**
129
128
  *@description TODO(crbug.com/1320343): Description needed for translation
130
129
  */
131
- insecurePrivateNetworkSubresourceRequest:
132
- '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.',
133
- /**
134
- *@description TODO(crbug.com/1318860): Description needed for translation
135
- */
136
- legacyConstraintGoogCpuOveruseDetection:
137
- 'CPU overuse detection is enabled-by-default and the ability to disable it using `googCpuOveruseDetection` will soon be removed. Please stop using this legacy constraint.',
138
- /**
139
- *@description TODO(crbug.com/1318861): Description needed for translation
140
- */
141
- legacyConstraintGoogIPv6:
142
- 'IPv6 is enabled-by-default and the ability to disable it using `googIPv6` will soon be removed. Please stop using this legacy constraint.',
143
- /**
144
- *@description TODO(crbug.com/1318863): Description needed for translation
145
- */
146
- legacyConstraintGoogScreencastMinBitrate:
147
- 'Screencast min bitrate is now set to 100 kbps by default and `googScreencastMinBitrate` will soon be ignored in favor of this new default. Please stop using this legacy constraint.',
148
- /**
149
- *@description TODO(crbug.com/1318864): Description needed for translation
150
- */
151
- legacyConstraintGoogSuspendBelowMinBitrate:
152
- 'Support for the `googSuspendBelowMinBitrate` constraint is about to be removed. Please stop using this legacy constraint.',
153
- /**
130
+ insecurePrivateNetworkSubresourceRequest:
131
+ '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.',
132
+ /**
133
+ *@description A deprecation warning shown in the DevTools Issues tab.
134
+ * It's shown when a video conferencing website attempts to disable
135
+ * use of IPv6 addresses with a non-standard API.
136
+ */
137
+ legacyConstraintGoogIPv6:
138
+ 'IPv6 is enabled-by-default and the ability to disable it using `googIPv6` will soon be removed. Please stop using this legacy constraint.',
139
+ /**
154
140
  *@description TODO(crbug.com/1318865): Description needed for translation
155
141
  */
156
- localCSSFileExtensionRejected:
157
- 'CSS cannot be loaded from `file:` URLs unless they end in a `.css` file extension.',
158
- /**
142
+ localCSSFileExtensionRejected:
143
+ 'CSS cannot be loaded from `file:` URLs unless they end in a `.css` file extension.',
144
+ /**
159
145
  *@description TODO(crbug.com/1320344): Description needed for translation
160
146
  */
161
- mediaElementAudioSourceNode:
162
- 'Creating a `MediaElementAudioSourceNode` on an `OfflineAudioContext` is deprecated and will be removed.',
163
- /**
147
+ mediaElementAudioSourceNode:
148
+ 'Creating a `MediaElementAudioSourceNode` on an `OfflineAudioContext` is deprecated and will be removed.',
149
+ /**
164
150
  *@description TODO(crbug.com/1320345): Description needed for translation
165
151
  */
166
- mediaSourceAbortRemove:
167
- 'Using `SourceBuffer.abort()` to abort `remove()`\'s asynchronous range removal is deprecated due to specification change. Support will be removed in the future. You should instead await `updateend`. `abort()` is intended to only abort an asynchronous media append or reset parser state.',
168
- /**
152
+ mediaSourceAbortRemove:
153
+ 'Using `SourceBuffer.abort()` to abort `remove()`\'s asynchronous range removal is deprecated due to specification change. Support will be removed in the future. You should instead await `updateend`. `abort()` is intended to only abort an asynchronous media append or reset parser state.',
154
+ /**
169
155
  *@description TODO(crbug.com/1320346): Description needed for translation
170
156
  */
171
- mediaSourceDurationTruncatingBuffered:
172
- 'Setting `MediaSource.duration` below the highest presentation timestamp of any buffered coded frames is deprecated due to specification change. Support for implicit removal of truncated buffered media will be removed in the future. You should instead perform explicit `remove(newDuration, oldDuration)` on all `sourceBuffers`, where `newDuration < oldDuration`.',
173
- /**
157
+ mediaSourceDurationTruncatingBuffered:
158
+ 'Setting `MediaSource.duration` below the highest presentation timestamp of any buffered coded frames is deprecated due to specification change. Support for implicit removal of truncated buffered media will be removed in the future. You should instead perform explicit `remove(newDuration, oldDuration)` on all `sourceBuffers`, where `newDuration < oldDuration`.',
159
+ /**
174
160
  *@description TODO(crbug.com/1320347): Description needed for translation
175
161
  */
176
- noSysexWebMIDIWithoutPermission:
177
- 'Web MIDI will ask a permission to use even if the sysex is not specified in the `MIDIOptions`.',
178
- /**
162
+ noSysexWebMIDIWithoutPermission:
163
+ 'Web MIDI will ask a permission to use even if the sysex is not specified in the `MIDIOptions`.',
164
+ /**
179
165
  *@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.
180
166
  */
181
- notificationInsecureOrigin:
182
- '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://goo.gle/chrome-insecure-origins for more details.',
183
- /**
167
+ notificationInsecureOrigin:
168
+ '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://goo.gle/chrome-insecure-origins for more details.',
169
+ /**
184
170
  *@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.
185
171
  */
186
- notificationPermissionRequestedIframe:
187
- '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.',
188
- /**
172
+ notificationPermissionRequestedIframe:
173
+ '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.',
174
+ /**
189
175
  *@description TODO(crbug.com/1318867): Description needed for translation
190
176
  */
191
- obsoleteWebRtcCipherSuite:
192
- 'Your partner is negotiating an obsolete (D)TLS version. Please check with your partner to have this fixed.',
193
- /**
177
+ obsoleteWebRtcCipherSuite:
178
+ 'Your partner is negotiating an obsolete (D)TLS version. Please check with your partner to have this fixed.',
179
+ /**
194
180
  *@description TODO(crbug.com/1320349): Description needed for translation
195
181
  */
196
- paymentRequestBasicCard: 'The `basic-card` payment method is deprecated and will be removed.',
197
- /**
182
+ paymentRequestBasicCard: 'The `basic-card` payment method is deprecated and will be removed.',
183
+ /**
198
184
  *@description TODO(crbug.com/1320350): Description needed for translation
199
185
  */
200
- paymentRequestShowWithoutGesture:
201
- 'Calling `PaymentRequest.show()` without user activation is deprecated and will be removed.',
202
- /**
186
+ paymentRequestShowWithoutGesture:
187
+ 'Calling `PaymentRequest.show()` without user activation is deprecated and will be removed.',
188
+ /**
203
189
  *@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.
204
190
  */
205
- pictureSourceSrc:
206
- '`<source src>` with a `<picture>` parent is invalid and therefore ignored. Please use `<source srcset>` instead.',
207
- /**
191
+ pictureSourceSrc:
192
+ '`<source src>` with a `<picture>` parent is invalid and therefore ignored. Please use `<source srcset>` instead.',
193
+ /**
208
194
  *@description Warning displayed to developers when the vendor-prefixed method is used rather than the equivalent unprefixed method.
209
195
  */
210
- prefixedCancelAnimationFrame:
211
- '`webkitCancelAnimationFrame` is vendor-specific. Please use the standard `cancelAnimationFrame` instead.',
212
- /**
196
+ prefixedCancelAnimationFrame:
197
+ '`webkitCancelAnimationFrame` is vendor-specific. Please use the standard `cancelAnimationFrame` instead.',
198
+ /**
213
199
  *@description Warning displayed to developers when the vendor-prefixed method is used rather than the equivalent unprefixed method.
214
200
  */
215
- prefixedRequestAnimationFrame:
216
- '`webkitRequestAnimationFrame` is vendor-specific. Please use the standard `requestAnimationFrame` instead.',
217
- /**
201
+ prefixedRequestAnimationFrame:
202
+ '`webkitRequestAnimationFrame` is vendor-specific. Please use the standard `requestAnimationFrame` instead.',
203
+ /**
218
204
  *@description TODO(crbug.com/1320351): Description needed for translation
219
205
  */
220
- prefixedStorageInfo:
221
- '`window.webkitStorageInfo` is deprecated. Please use `navigator.webkitTemporaryStorage` or `navigator.webkitPersistentStorage` instead.',
222
- /**
206
+ prefixedStorageInfo:
207
+ '`window.webkitStorageInfo` is deprecated. Please use `navigator.webkitTemporaryStorage` or `navigator.webkitPersistentStorage` instead.',
208
+ /**
223
209
  *@description TODO(crbug.com/1320352): Description needed for translation
224
210
  */
225
- prefixedVideoDisplayingFullscreen:
226
- '`HTMLVideoElement.webkitDisplayingFullscreen` is deprecated. Please use `Document.fullscreenElement` instead.',
227
- /**
211
+ prefixedVideoDisplayingFullscreen:
212
+ '`HTMLVideoElement.webkitDisplayingFullscreen` is deprecated. Please use `Document.fullscreenElement` instead.',
213
+ /**
228
214
  *@description TODO(crbug.com/1320353): Description needed for translation
229
215
  */
230
- prefixedVideoEnterFullScreen:
231
- '`HTMLVideoElement.webkitEnterFullScreen()` is deprecated. Please use `Element.requestFullscreen()` instead.',
232
- /**
216
+ prefixedVideoEnterFullScreen:
217
+ '`HTMLVideoElement.webkitEnterFullScreen()` is deprecated. Please use `Element.requestFullscreen()` instead.',
218
+ /**
233
219
  *@description TODO(crbug.com/1320353): Description needed for translation
234
220
  */
235
- prefixedVideoEnterFullscreen:
236
- '`HTMLVideoElement.webkitEnterFullscreen()` is deprecated. Please use `Element.requestFullscreen()` instead.',
237
- /**
221
+ prefixedVideoEnterFullscreen:
222
+ '`HTMLVideoElement.webkitEnterFullscreen()` is deprecated. Please use `Element.requestFullscreen()` instead.',
223
+ /**
238
224
  *@description TODO(crbug.com/1320354): Description needed for translation
239
225
  */
240
- prefixedVideoExitFullScreen:
241
- '`HTMLVideoElement.webkitExitFullsSreen()` is deprecated. Please use `Document.exitFullscreen()` instead.',
242
- /**
226
+ prefixedVideoExitFullScreen:
227
+ '`HTMLVideoElement.webkitExitFullsSreen()` is deprecated. Please use `Document.exitFullscreen()` instead.',
228
+ /**
243
229
  *@description TODO(crbug.com/1320354): Description needed for translation
244
230
  */
245
- prefixedVideoExitFullscreen:
246
- '`HTMLVideoElement.webkitExitFullscreen()` is deprecated. Please use `Document.exitFullscreen()` instead.',
247
- /**
231
+ prefixedVideoExitFullscreen:
232
+ '`HTMLVideoElement.webkitExitFullscreen()` is deprecated. Please use `Document.exitFullscreen()` instead.',
233
+ /**
248
234
  *@description TODO(crbug.com/1320355): Description needed for translation
249
235
  */
250
- prefixedVideoSupportsFullscreen:
251
- '`HTMLVideoElement.webkitSupportsFullscreen` is deprecated. Please use `Document.fullscreenEnabled` instead.',
252
- /**
236
+ prefixedVideoSupportsFullscreen:
237
+ '`HTMLVideoElement.webkitSupportsFullscreen` is deprecated. Please use `Document.fullscreenEnabled` instead.',
238
+ /**
253
239
  *@description TODO(crbug.com/1320356): Description needed for translation
254
240
  */
255
- rangeExpand: '`Range.expand()` is deprecated. Please use `Selection.modify()` instead.',
256
- /**
241
+ rangeExpand: '`Range.expand()` is deprecated. Please use `Selection.modify()` instead.',
242
+ /**
257
243
  *@description TODO(crbug.com/1320357): Description needed for translation
258
244
  */
259
- requestedSubresourceWithEmbeddedCredentials:
260
- 'Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked.',
261
- /**
262
- *@description TODO(crbug.com/1318872): Description needed for translation
263
- */
264
- rtcConstraintEnableDtlsSrtpFalse:
265
- '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.',
266
- /**
267
- *@description TODO(crbug.com/1318873): Description needed for translation
268
- */
269
- rtcConstraintEnableDtlsSrtpTrue:
270
- '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.',
271
- /**
272
- *@description TODO(crbug.com/1318874): Description needed for translation
273
- */
274
- rtcPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics:
275
- 'Complex Plan B SDP detected! Chrome will switch the default `sdpSemantics` from `plan-b` to the standardized `unified-plan` format and this peer connection is relying on the default `sdpSemantics`. This SDP is not compatible with Unified Plan and will be rejected by clients expecting Unified Plan. For more information about how to prepare for the switch, see https://webrtc.org/web-apis/chrome/unified-plan/.',
276
- /**
277
- *@description TODO(crbug.com/1318875): Description needed for translation
278
- */
279
- rtcPeerConnectionLegacyCreateWithMediaConstraints:
280
- 'The `mediaConstraints` version of `RTCOfferOptions/RTCAnswerOptions` are deprecated and will soon be removed, please migrate to the promise-based `createOffer`/`createAnswer` instead.',
281
- /**
282
- *@description TODO(crbug.com/1320358): Description needed for translation
283
- */
284
- rtcPeerConnectionSdpSemanticsPlanB:
285
- 'Plan B SDP semantics, which is used when constructing an `RTCPeerConnection` with `{sdpSemantics:\'plan-b\'}`, is a legacy non-standard version of the Session Description Protocol that has been permanently deleted from the Web Platform. It is still available when building with IS_FUCHSIA, but we intend to delete it as soon as possible. Stop depending on it. See https://crbug.com/1302249 for status.',
286
- /**
287
- *@description TODO(crbug.com/1320360): Description needed for translation
288
- */
289
- rtcpMuxPolicyNegotiate: 'The `rtcpMuxPolicy` option is deprecated and will be removed.',
290
- /**
291
- *@description TODO(crbug.com/1318876): Description needed for translation
292
- */
293
- rtpDataChannel:
294
- 'RTP data channels are no longer supported. The `RtpDataChannels` constraint is currently ignored, and may cause an error at a later date.',
295
- /**
296
- *@description TODO(crbug.com/1320361): Description needed for translation
297
- */
298
- selectionAddRangeIntersect:
299
- 'The behavior that `Selection.addRange()` merges existing Range and the specified Range was removed.',
300
- /**
245
+ requestedSubresourceWithEmbeddedCredentials:
246
+ 'Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked.',
247
+ /**
248
+ *@description A deprecation warning shown in the DevTools Issues tab.
249
+ * It's shown when a video conferencing website attempts to use a
250
+ * non-standard crypto method when performing a handshake to set up a
251
+ * connection with another endpoint.
252
+ */
253
+ rtcConstraintEnableDtlsSrtpFalse:
254
+ '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.',
255
+ /**
256
+ *@description A deprecation warning shown in the DevTools Issues tab.
257
+ * It's shown when a video conferencing website uses a non-standard
258
+ * API for controlling the crypto method used, but is not having an
259
+ * effect because the desired behavior is already enabled-by-default.
260
+ */
261
+ rtcConstraintEnableDtlsSrtpTrue:
262
+ '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.',
263
+ /**
264
+ *@description A deprecation warning shown in the DevTools Issues tab.
265
+ * The `Session Description Protocol`, or `SDP` for short, is a
266
+ * protocol used by video conferencing websites to establish the
267
+ * number of audio and/or video streams to send and/or receive. This
268
+ * warning is emitted when a web site attempts to use a deprecated
269
+ * version of the protocol, called `Plan B`, that is no longer
270
+ * supported. The spec compliant version of the protocol is called
271
+ * `Unified Plan`.
272
+ */
273
+ rtcPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics:
274
+ '`Complex Plan B SDP` detected. This dialect of the `Session Description Protocol` is no longer supported. Please use `Unified Plan SDP` instead.',
275
+ /**
276
+ *@description A deprecation warning shown in the DevTools Issues tab.
277
+ * The `Session Description Protocol`, or `SDP` for short, is a
278
+ * protocol used by video conferencing websites to establish the
279
+ * number of audio and/or video streams to send and/or receive. This
280
+ * warning is emitted when a web site attempts to use a deprecated
281
+ * version of the protocol, called `Plan B`, that is no longer
282
+ * supported. The spec compliant version of the protocol is called
283
+ * `Unified Plan`.
284
+ */
285
+ rtcPeerConnectionSdpSemanticsPlanB:
286
+ '`Plan B SDP semantics`, which is used when constructing an `RTCPeerConnection` with `{sdpSemantics:\'plan-b\'}`, is a legacy non-standard version of the `Session Description Protocol` that has been permanently deleted from the Web Platform. It is still available when building with `IS_FUCHSIA`, but we intend to delete it as soon as possible. Stop depending on it. See https://crbug.com/1302249 for status.',
287
+ /**
288
+ *@description A deprecation warning shown in the DevTools Issues tab.
289
+ * It's shown then a video conferencing website attempts to use the
290
+ * `RTCP MUX` policy.
291
+ */
292
+ rtcpMuxPolicyNegotiate: 'The `rtcpMuxPolicy` option is deprecated and will be removed.',
293
+ /**
294
+ *@description A deprecation warning shown in the DevTools Issues tab.
295
+ * It's shown when a video conferencing website attempts to turn on or
296
+ * off a feature that has been removed, `RTP data channels`.
297
+ * `RTP data channels` are used to send and receive arbitrary data,
298
+ * but have been removed in favor of standardized versions of
299
+ * `data channels`: `SCTP data channels`.
300
+ */
301
+ rtpDataChannel:
302
+ '`RTP data channels` are no longer supported. The `RtpDataChannels` constraint is currently ignored, and may cause an error at a later date.',
303
+ /**
301
304
  *@description TODO(crbug.com/1318878): Description needed for translation
302
305
  */
303
- sharedArrayBufferConstructedWithoutIsolation:
304
- '`SharedArrayBuffer` will require cross-origin isolation. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.',
305
- /**
306
- *@description TODO(crbug.com/1320363): Description needed for translation
306
+ sharedArrayBufferConstructedWithoutIsolation:
307
+ '`SharedArrayBuffer` will require cross-origin isolation. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.',
308
+ /**
309
+ *@description A deprecation warning shown in the DevTools Issues tab.
310
+ * It's shown when the speech synthesis API is called before the page
311
+ * receives a user activation.
307
312
  */
308
- textToSpeech_DisallowedByAutoplay:
309
- '`speechSynthesis.speak()` without user activation is deprecated and will be removed.',
310
- /**
313
+ textToSpeech_DisallowedByAutoplay:
314
+ '`speechSynthesis.speak()` without user activation is deprecated and will be removed.',
315
+ /**
311
316
  *@description TODO(crbug.com/1318879): Description needed for translation
312
317
  */
313
- v8SharedArrayBufferConstructedInExtensionWithoutIsolation:
314
- 'Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.',
315
- /**
316
- *@description TODO(crbug.com/1318880): Description needed for translation
317
- */
318
- webCodecsVideoFrameDefaultTimestamp:
319
- 'Constructing a `VideoFrame` without a timestamp is deprecated and support will be removed. Please provide a timestamp via `VideoFrameInit`.',
320
- /**
318
+ v8SharedArrayBufferConstructedInExtensionWithoutIsolation:
319
+ 'Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.',
320
+ /**
321
321
  *@description TODO(crbug.com/1318881): Description needed for translation
322
322
  */
323
- xhrJSONEncodingDetection: 'UTF-16 is not supported by response json in `XMLHttpRequest`',
324
- /**
323
+ xhrJSONEncodingDetection: 'UTF-16 is not supported by response json in `XMLHttpRequest`',
324
+ /**
325
325
  *@description TODO(crbug.com/1318882): Description needed for translation
326
326
  */
327
- xmlHttpRequestSynchronousInNonWorkerOutsideBeforeUnload:
328
- 'Synchronous `XMLHttpRequest` on the main thread is deprecated because of its detrimental effects to the end user\u2019s experience. For more help, check https://xhr.spec.whatwg.org/.',
329
- /**
330
- *@description Warning displayed to developers that instead of using
331
- * `supportsSession()`, which returns a promise that resolves if
332
- * the XR session can be supported and rejects if not, they should
333
- * use `isSessionSupported()` which will return a promise which
334
- * resolves to a boolean indicating if the XR session can be
335
- * supported or not, but may reject to throw an exception.
336
- */
337
- xrSupportsSession:
338
- '`supportsSession()` is deprecated. Please use `isSessionSupported()` and check the resolved boolean value instead.',
339
- };
327
+ xmlHttpRequestSynchronousInNonWorkerOutsideBeforeUnload:
328
+ 'Synchronous `XMLHttpRequest` on the main thread is deprecated because of its detrimental effects to the end user\u2019s experience. For more help, check https://xhr.spec.whatwg.org/.',
329
+ /**
330
+ *@description Warning displayed to developers that instead of using
331
+ * `supportsSession()`, which returns a promise that resolves if
332
+ * the XR session can be supported and rejects if not, they should
333
+ * use `isSessionSupported()` which will return a promise which
334
+ * resolves to a boolean indicating if the XR session can be
335
+ * supported or not, but may reject to throw an exception.
336
+ */
337
+ xrSupportsSession:
338
+ '`supportsSession()` is deprecated. Please use `isSessionSupported()` and check the resolved boolean value instead.',
339
+ };
340
+ // clang-format on
340
341
  const str_ = i18n.i18n.registerUIStrings('models/issues_manager/DeprecationIssue.ts', UIStrings);
341
342
  const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
342
343
 
@@ -440,22 +441,10 @@ export class DeprecationIssue extends Issue {
440
441
  feature = 5436853517811712;
441
442
  milestone = 92;
442
443
  break;
443
- case Protocol.Audits.DeprecationIssueType.LegacyConstraintGoogCpuOveruseDetection:
444
- messageFunction = i18nLazyString(UIStrings.legacyConstraintGoogCpuOveruseDetection);
445
- milestone = 103;
446
- break;
447
444
  case Protocol.Audits.DeprecationIssueType.LegacyConstraintGoogIPv6:
448
445
  messageFunction = i18nLazyString(UIStrings.legacyConstraintGoogIPv6);
449
446
  milestone = 103;
450
447
  break;
451
- case Protocol.Audits.DeprecationIssueType.LegacyConstraintGoogScreencastMinBitrate:
452
- messageFunction = i18nLazyString(UIStrings.legacyConstraintGoogScreencastMinBitrate);
453
- milestone = 103;
454
- break;
455
- case Protocol.Audits.DeprecationIssueType.LegacyConstraintGoogSuspendBelowMinBitrate:
456
- messageFunction = i18nLazyString(UIStrings.legacyConstraintGoogSuspendBelowMinBitrate);
457
- milestone = 103;
458
- break;
459
448
  case Protocol.Audits.DeprecationIssueType.LocalCSSFileExtensionRejected:
460
449
  messageFunction = i18nLazyString(UIStrings.localCSSFileExtensionRejected);
461
450
  milestone = 64;
@@ -548,10 +537,6 @@ export class DeprecationIssue extends Issue {
548
537
  messageFunction = i18nLazyString(UIStrings.rtcPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics);
549
538
  milestone = 72;
550
539
  break;
551
- case Protocol.Audits.DeprecationIssueType.RTCPeerConnectionLegacyCreateWithMediaConstraints:
552
- messageFunction = i18nLazyString(UIStrings.rtcPeerConnectionLegacyCreateWithMediaConstraints);
553
- milestone = 103;
554
- break;
555
540
  case Protocol.Audits.DeprecationIssueType.RTCPeerConnectionSdpSemanticsPlanB:
556
541
  messageFunction = i18nLazyString(UIStrings.rtcPeerConnectionSdpSemanticsPlanB);
557
542
  feature = 5823036655665152;
@@ -566,10 +551,6 @@ export class DeprecationIssue extends Issue {
566
551
  messageFunction = i18nLazyString(UIStrings.rtpDataChannel);
567
552
  milestone = 88;
568
553
  break;
569
- case Protocol.Audits.DeprecationIssueType.SelectionAddRangeIntersect:
570
- messageFunction = i18nLazyString(UIStrings.selectionAddRangeIntersect);
571
- feature = 6680566019653632;
572
- break;
573
554
  case Protocol.Audits.DeprecationIssueType.SharedArrayBufferConstructedWithoutIsolation:
574
555
  messageFunction = i18nLazyString(UIStrings.sharedArrayBufferConstructedWithoutIsolation);
575
556
  milestone = 106;
@@ -583,11 +564,6 @@ export class DeprecationIssue extends Issue {
583
564
  messageFunction = i18nLazyString(UIStrings.v8SharedArrayBufferConstructedInExtensionWithoutIsolation);
584
565
  milestone = 96;
585
566
  break;
586
- case Protocol.Audits.DeprecationIssueType.WebCodecsVideoFrameDefaultTimestamp:
587
- messageFunction = i18nLazyString(UIStrings.webCodecsVideoFrameDefaultTimestamp);
588
- feature = 5667793157488640;
589
- milestone = 99;
590
- break;
591
567
  case Protocol.Audits.DeprecationIssueType.XHRJSONEncodingDetection:
592
568
  messageFunction = i18nLazyString(UIStrings.xhrJSONEncodingDetection);
593
569
  milestone = 93;