chrome-devtools-frontend 1.0.1001419 → 1.0.1001476

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.
@@ -10,376 +10,378 @@ 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 A deprecation warning shown in the DevTools Issues tab.
135
- * It's shown when a video conferencing website attempts to turn off
136
- * CPU overuse detection with a non-standard API. CPU overuse
137
- * detection is used to adjust video quality based on available CPU
138
- * resources.
139
- */
140
- legacyConstraintGoogCpuOveruseDetection:
141
- '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.',
142
- /**
143
- *@description A deprecation warning shown in the DevTools Issues tab.
144
- * It's shown when a video conferencing website attempts to disable
145
- * use of IPv6 addresses with a non-standard API.
146
- */
147
- legacyConstraintGoogIPv6:
148
- 'IPv6 is enabled-by-default and the ability to disable it using `googIPv6` will soon be removed. Please stop using this legacy constraint.',
149
- /**
150
- *@description A deprecation warning shown in the DevTools Issues tab.
151
- * It's shown when a video conferencing website attempts to adjust
152
- * bitrate settings for screeen sharing with a non-standard API.
153
- */
154
- legacyConstraintGoogScreencastMinBitrate:
155
- '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.',
156
- /**
157
- *@description A deprecation warning shown in the DevTools Issues tab.
158
- * It's shown when a video conferencing website attempts to change the
159
- * default settings for how the browser should act when bitrate is
160
- * low.
161
- */
162
- legacyConstraintGoogSuspendBelowMinBitrate:
163
- 'Support for the `googSuspendBelowMinBitrate` constraint is about to be removed. Please stop using this legacy constraint.',
164
- /**
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 turn off
135
+ * CPU overuse detection with a non-standard API. CPU overuse
136
+ * detection is used to adjust video quality based on available CPU
137
+ * resources.
138
+ */
139
+ legacyConstraintGoogCpuOveruseDetection:
140
+ '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.',
141
+ /**
142
+ *@description A deprecation warning shown in the DevTools Issues tab.
143
+ * It's shown when a video conferencing website attempts to disable
144
+ * use of IPv6 addresses with a non-standard API.
145
+ */
146
+ legacyConstraintGoogIPv6:
147
+ 'IPv6 is enabled-by-default and the ability to disable it using `googIPv6` will soon be removed. Please stop using this legacy constraint.',
148
+ /**
149
+ *@description A deprecation warning shown in the DevTools Issues tab.
150
+ * It's shown when a video conferencing website attempts to adjust
151
+ * bitrate settings for screeen sharing with a non-standard API.
152
+ */
153
+ legacyConstraintGoogScreencastMinBitrate:
154
+ '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.',
155
+ /**
156
+ *@description A deprecation warning shown in the DevTools Issues tab.
157
+ * It's shown when a video conferencing website attempts to change the
158
+ * default settings for how the browser should act when bitrate is
159
+ * low.
160
+ */
161
+ legacyConstraintGoogSuspendBelowMinBitrate:
162
+ 'Support for the `googSuspendBelowMinBitrate` constraint is about to be removed. Please stop using this legacy constraint.',
163
+ /**
165
164
  *@description TODO(crbug.com/1318865): Description needed for translation
166
165
  */
167
- localCSSFileExtensionRejected:
168
- 'CSS cannot be loaded from `file:` URLs unless they end in a `.css` file extension.',
169
- /**
166
+ localCSSFileExtensionRejected:
167
+ 'CSS cannot be loaded from `file:` URLs unless they end in a `.css` file extension.',
168
+ /**
170
169
  *@description TODO(crbug.com/1320344): Description needed for translation
171
170
  */
172
- mediaElementAudioSourceNode:
173
- 'Creating a `MediaElementAudioSourceNode` on an `OfflineAudioContext` is deprecated and will be removed.',
174
- /**
171
+ mediaElementAudioSourceNode:
172
+ 'Creating a `MediaElementAudioSourceNode` on an `OfflineAudioContext` is deprecated and will be removed.',
173
+ /**
175
174
  *@description TODO(crbug.com/1320345): Description needed for translation
176
175
  */
177
- mediaSourceAbortRemove:
178
- '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.',
179
- /**
176
+ mediaSourceAbortRemove:
177
+ '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.',
178
+ /**
180
179
  *@description TODO(crbug.com/1320346): Description needed for translation
181
180
  */
182
- mediaSourceDurationTruncatingBuffered:
183
- '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`.',
184
- /**
181
+ mediaSourceDurationTruncatingBuffered:
182
+ '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`.',
183
+ /**
185
184
  *@description TODO(crbug.com/1320347): Description needed for translation
186
185
  */
187
- noSysexWebMIDIWithoutPermission:
188
- 'Web MIDI will ask a permission to use even if the sysex is not specified in the `MIDIOptions`.',
189
- /**
186
+ noSysexWebMIDIWithoutPermission:
187
+ 'Web MIDI will ask a permission to use even if the sysex is not specified in the `MIDIOptions`.',
188
+ /**
190
189
  *@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.
191
190
  */
192
- notificationInsecureOrigin:
193
- '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.',
194
- /**
191
+ notificationInsecureOrigin:
192
+ '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.',
193
+ /**
195
194
  *@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.
196
195
  */
197
- notificationPermissionRequestedIframe:
198
- '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.',
199
- /**
196
+ notificationPermissionRequestedIframe:
197
+ '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.',
198
+ /**
200
199
  *@description TODO(crbug.com/1318867): Description needed for translation
201
200
  */
202
- obsoleteWebRtcCipherSuite:
203
- 'Your partner is negotiating an obsolete (D)TLS version. Please check with your partner to have this fixed.',
204
- /**
201
+ obsoleteWebRtcCipherSuite:
202
+ 'Your partner is negotiating an obsolete (D)TLS version. Please check with your partner to have this fixed.',
203
+ /**
205
204
  *@description TODO(crbug.com/1320349): Description needed for translation
206
205
  */
207
- paymentRequestBasicCard: 'The `basic-card` payment method is deprecated and will be removed.',
208
- /**
206
+ paymentRequestBasicCard: 'The `basic-card` payment method is deprecated and will be removed.',
207
+ /**
209
208
  *@description TODO(crbug.com/1320350): Description needed for translation
210
209
  */
211
- paymentRequestShowWithoutGesture:
212
- 'Calling `PaymentRequest.show()` without user activation is deprecated and will be removed.',
213
- /**
210
+ paymentRequestShowWithoutGesture:
211
+ 'Calling `PaymentRequest.show()` without user activation is deprecated and will be removed.',
212
+ /**
214
213
  *@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.
215
214
  */
216
- pictureSourceSrc:
217
- '`<source src>` with a `<picture>` parent is invalid and therefore ignored. Please use `<source srcset>` instead.',
218
- /**
215
+ pictureSourceSrc:
216
+ '`<source src>` with a `<picture>` parent is invalid and therefore ignored. Please use `<source srcset>` instead.',
217
+ /**
219
218
  *@description Warning displayed to developers when the vendor-prefixed method is used rather than the equivalent unprefixed method.
220
219
  */
221
- prefixedCancelAnimationFrame:
222
- '`webkitCancelAnimationFrame` is vendor-specific. Please use the standard `cancelAnimationFrame` instead.',
223
- /**
220
+ prefixedCancelAnimationFrame:
221
+ '`webkitCancelAnimationFrame` is vendor-specific. Please use the standard `cancelAnimationFrame` instead.',
222
+ /**
224
223
  *@description Warning displayed to developers when the vendor-prefixed method is used rather than the equivalent unprefixed method.
225
224
  */
226
- prefixedRequestAnimationFrame:
227
- '`webkitRequestAnimationFrame` is vendor-specific. Please use the standard `requestAnimationFrame` instead.',
228
- /**
225
+ prefixedRequestAnimationFrame:
226
+ '`webkitRequestAnimationFrame` is vendor-specific. Please use the standard `requestAnimationFrame` instead.',
227
+ /**
229
228
  *@description TODO(crbug.com/1320351): Description needed for translation
230
229
  */
231
- prefixedStorageInfo:
232
- '`window.webkitStorageInfo` is deprecated. Please use `navigator.webkitTemporaryStorage` or `navigator.webkitPersistentStorage` instead.',
233
- /**
230
+ prefixedStorageInfo:
231
+ '`window.webkitStorageInfo` is deprecated. Please use `navigator.webkitTemporaryStorage` or `navigator.webkitPersistentStorage` instead.',
232
+ /**
234
233
  *@description TODO(crbug.com/1320352): Description needed for translation
235
234
  */
236
- prefixedVideoDisplayingFullscreen:
237
- '`HTMLVideoElement.webkitDisplayingFullscreen` is deprecated. Please use `Document.fullscreenElement` instead.',
238
- /**
235
+ prefixedVideoDisplayingFullscreen:
236
+ '`HTMLVideoElement.webkitDisplayingFullscreen` is deprecated. Please use `Document.fullscreenElement` instead.',
237
+ /**
239
238
  *@description TODO(crbug.com/1320353): Description needed for translation
240
239
  */
241
- prefixedVideoEnterFullScreen:
242
- '`HTMLVideoElement.webkitEnterFullScreen()` is deprecated. Please use `Element.requestFullscreen()` instead.',
243
- /**
240
+ prefixedVideoEnterFullScreen:
241
+ '`HTMLVideoElement.webkitEnterFullScreen()` is deprecated. Please use `Element.requestFullscreen()` instead.',
242
+ /**
244
243
  *@description TODO(crbug.com/1320353): Description needed for translation
245
244
  */
246
- prefixedVideoEnterFullscreen:
247
- '`HTMLVideoElement.webkitEnterFullscreen()` is deprecated. Please use `Element.requestFullscreen()` instead.',
248
- /**
245
+ prefixedVideoEnterFullscreen:
246
+ '`HTMLVideoElement.webkitEnterFullscreen()` is deprecated. Please use `Element.requestFullscreen()` instead.',
247
+ /**
249
248
  *@description TODO(crbug.com/1320354): Description needed for translation
250
249
  */
251
- prefixedVideoExitFullScreen:
252
- '`HTMLVideoElement.webkitExitFullsSreen()` is deprecated. Please use `Document.exitFullscreen()` instead.',
253
- /**
250
+ prefixedVideoExitFullScreen:
251
+ '`HTMLVideoElement.webkitExitFullsSreen()` is deprecated. Please use `Document.exitFullscreen()` instead.',
252
+ /**
254
253
  *@description TODO(crbug.com/1320354): Description needed for translation
255
254
  */
256
- prefixedVideoExitFullscreen:
257
- '`HTMLVideoElement.webkitExitFullscreen()` is deprecated. Please use `Document.exitFullscreen()` instead.',
258
- /**
255
+ prefixedVideoExitFullscreen:
256
+ '`HTMLVideoElement.webkitExitFullscreen()` is deprecated. Please use `Document.exitFullscreen()` instead.',
257
+ /**
259
258
  *@description TODO(crbug.com/1320355): Description needed for translation
260
259
  */
261
- prefixedVideoSupportsFullscreen:
262
- '`HTMLVideoElement.webkitSupportsFullscreen` is deprecated. Please use `Document.fullscreenEnabled` instead.',
263
- /**
260
+ prefixedVideoSupportsFullscreen:
261
+ '`HTMLVideoElement.webkitSupportsFullscreen` is deprecated. Please use `Document.fullscreenEnabled` instead.',
262
+ /**
264
263
  *@description TODO(crbug.com/1320356): Description needed for translation
265
264
  */
266
- rangeExpand: '`Range.expand()` is deprecated. Please use `Selection.modify()` instead.',
267
- /**
265
+ rangeExpand: '`Range.expand()` is deprecated. Please use `Selection.modify()` instead.',
266
+ /**
268
267
  *@description TODO(crbug.com/1320357): Description needed for translation
269
268
  */
270
- requestedSubresourceWithEmbeddedCredentials:
271
- 'Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked.',
272
- /**
273
- *@description A deprecation warning shown in the DevTools Issues tab.
274
- * It's shown when a video conferencing website attempts to use a
275
- * non-standard crypto method when performing a handshake to set up a
276
- * connection with another endpoint.
277
- */
278
- rtcConstraintEnableDtlsSrtpFalse:
279
- '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.',
280
- /**
281
- *@description A deprecation warning shown in the DevTools Issues tab.
282
- * It's shown when a video conferencing website uses a non-standard
283
- * API for controlling the crypto method used, but is not having an
284
- * effect because the desired behavior is already enabled-by-default.
285
- */
286
- rtcConstraintEnableDtlsSrtpTrue:
287
- '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.',
288
- /**
289
- *@description A deprecation warning shown in the DevTools Issues tab.
290
- * The `Session Description Protocol`, or `SDP` for short, is a
291
- * protocol used by video conferencing websites to establish the
292
- * number of audio and/or video streams to send and/or receive. This
293
- * warning is emitted when a web site attempts to use a deprecated
294
- * version of the protocol, called `Plan B`, that is no longer
295
- * supported. The spec compliant version of the protocol is called
296
- * `Unified Plan`.
297
- */
298
- rtcPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics:
299
- '`Complex Plan B SDP` detected. This dialect of the `Session Description Protocol` is no longer supported. Please use `Unified Plan SDP` instead.',
300
- /**
301
- *@description A deprecation warning shown in the DevTools Issues tab.
302
- * It's shown when a video conferencing website uses a non-standard
303
- * version of an API to exchange an `offer` or an `answer`. `Offers`
304
- * and `answers` are exchanged between endpoints in order to configure
305
- * what media should be sent and/or received. The app should make use
306
- * of the standard API instead, which will have the desired effect.
307
- */
308
- rtcPeerConnectionLegacyCreateWithMediaConstraints:
309
- 'The `mediaConstraints` version of `RTCOfferOptions/RTCAnswerOptions` are deprecated and will soon be removed, please migrate to the promise-based `createOffer`/`createAnswer` instead.',
310
- /**
311
- *@description A deprecation warning shown in the DevTools Issues tab.
312
- * The `Session Description Protocol`, or `SDP` for short, is a
313
- * protocol used by video conferencing websites to establish the
314
- * number of audio and/or video streams to send and/or receive. This
315
- * warning is emitted when a web site attempts to use a deprecated
316
- * version of the protocol, called `Plan B`, that is no longer
317
- * supported. The spec compliant version of the protocol is called
318
- * `Unified Plan`.
319
- */
320
- rtcPeerConnectionSdpSemanticsPlanB:
321
- '`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.',
322
- /**
323
- *@description A deprecation warning shown in the DevTools Issues tab.
324
- * It's shown then a video conferencing website attempts to use the
325
- * `RTCP MUX` policy.
326
- */
327
- rtcpMuxPolicyNegotiate: 'The `rtcpMuxPolicy` option is deprecated and will be removed.',
328
- /**
329
- *@description A deprecation warning shown in the DevTools Issues tab.
330
- * It's shown when a video conferencing website attempts to turn on or
331
- * off a feature that has been removed, `RTP data channels`.
332
- * `RTP data channels` are used to send and receive arbitrary data,
333
- * but have been removed in favor of standardized versions of
334
- * `data channels`: `SCTP data channels`.
335
- */
336
- rtpDataChannel:
337
- '`RTP data channels` are no longer supported. The `RtpDataChannels` constraint is currently ignored, and may cause an error at a later date.',
338
- /**
269
+ requestedSubresourceWithEmbeddedCredentials:
270
+ 'Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked.',
271
+ /**
272
+ *@description A deprecation warning shown in the DevTools Issues tab.
273
+ * It's shown when a video conferencing website attempts to use a
274
+ * non-standard crypto method when performing a handshake to set up a
275
+ * connection with another endpoint.
276
+ */
277
+ rtcConstraintEnableDtlsSrtpFalse:
278
+ '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.',
279
+ /**
280
+ *@description A deprecation warning shown in the DevTools Issues tab.
281
+ * It's shown when a video conferencing website uses a non-standard
282
+ * API for controlling the crypto method used, but is not having an
283
+ * effect because the desired behavior is already enabled-by-default.
284
+ */
285
+ rtcConstraintEnableDtlsSrtpTrue:
286
+ '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.',
287
+ /**
288
+ *@description A deprecation warning shown in the DevTools Issues tab.
289
+ * The `Session Description Protocol`, or `SDP` for short, is a
290
+ * protocol used by video conferencing websites to establish the
291
+ * number of audio and/or video streams to send and/or receive. This
292
+ * warning is emitted when a web site attempts to use a deprecated
293
+ * version of the protocol, called `Plan B`, that is no longer
294
+ * supported. The spec compliant version of the protocol is called
295
+ * `Unified Plan`.
296
+ */
297
+ rtcPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics:
298
+ '`Complex Plan B SDP` detected. This dialect of the `Session Description Protocol` is no longer supported. Please use `Unified Plan SDP` instead.',
299
+ /**
300
+ *@description A deprecation warning shown in the DevTools Issues tab.
301
+ * It's shown when a video conferencing website uses a non-standard
302
+ * version of an API to exchange an `offer` or an `answer`. `Offers`
303
+ * and `answers` are exchanged between endpoints in order to configure
304
+ * what media should be sent and/or received. The app should make use
305
+ * of the standard API instead, which will have the desired effect.
306
+ */
307
+ rtcPeerConnectionLegacyCreateWithMediaConstraints:
308
+ 'The `mediaConstraints` version of `RTCOfferOptions/RTCAnswerOptions` are deprecated and will soon be removed, please migrate to the promise-based `createOffer`/`createAnswer` instead.',
309
+ /**
310
+ *@description A deprecation warning shown in the DevTools Issues tab.
311
+ * The `Session Description Protocol`, or `SDP` for short, is a
312
+ * protocol used by video conferencing websites to establish the
313
+ * number of audio and/or video streams to send and/or receive. This
314
+ * warning is emitted when a web site attempts to use a deprecated
315
+ * version of the protocol, called `Plan B`, that is no longer
316
+ * supported. The spec compliant version of the protocol is called
317
+ * `Unified Plan`.
318
+ */
319
+ rtcPeerConnectionSdpSemanticsPlanB:
320
+ '`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.',
321
+ /**
322
+ *@description A deprecation warning shown in the DevTools Issues tab.
323
+ * It's shown then a video conferencing website attempts to use the
324
+ * `RTCP MUX` policy.
325
+ */
326
+ rtcpMuxPolicyNegotiate: 'The `rtcpMuxPolicy` option is deprecated and will be removed.',
327
+ /**
328
+ *@description A deprecation warning shown in the DevTools Issues tab.
329
+ * It's shown when a video conferencing website attempts to turn on or
330
+ * off a feature that has been removed, `RTP data channels`.
331
+ * `RTP data channels` are used to send and receive arbitrary data,
332
+ * but have been removed in favor of standardized versions of
333
+ * `data channels`: `SCTP data channels`.
334
+ */
335
+ rtpDataChannel:
336
+ '`RTP data channels` are no longer supported. The `RtpDataChannels` constraint is currently ignored, and may cause an error at a later date.',
337
+ /**
339
338
  *@description TODO(crbug.com/1320361): Description needed for translation
340
339
  */
341
- selectionAddRangeIntersect:
342
- 'The behavior that `Selection.addRange()` merges existing Range and the specified Range was removed.',
343
- /**
340
+ selectionAddRangeIntersect:
341
+ 'The behavior that `Selection.addRange()` merges existing Range and the specified Range was removed.',
342
+ /**
344
343
  *@description TODO(crbug.com/1318878): Description needed for translation
345
344
  */
346
- sharedArrayBufferConstructedWithoutIsolation:
347
- '`SharedArrayBuffer` will require cross-origin isolation. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.',
348
- /**
349
- *@description TODO(crbug.com/1320363): Description needed for translation
345
+ sharedArrayBufferConstructedWithoutIsolation:
346
+ '`SharedArrayBuffer` will require cross-origin isolation. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.',
347
+ /**
348
+ *@description A deprecation warning shown in the DevTools Issues tab.
349
+ * It's shown when the speech synthesis API is called before the page
350
+ * receives a user activation.
350
351
  */
351
- textToSpeech_DisallowedByAutoplay:
352
- '`speechSynthesis.speak()` without user activation is deprecated and will be removed.',
353
- /**
352
+ textToSpeech_DisallowedByAutoplay:
353
+ '`speechSynthesis.speak()` without user activation is deprecated and will be removed.',
354
+ /**
354
355
  *@description TODO(crbug.com/1318879): Description needed for translation
355
356
  */
356
- v8SharedArrayBufferConstructedInExtensionWithoutIsolation:
357
- 'Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.',
358
- /**
357
+ v8SharedArrayBufferConstructedInExtensionWithoutIsolation:
358
+ 'Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.',
359
+ /**
359
360
  *@description TODO(crbug.com/1318880): Description needed for translation
360
361
  */
361
- webCodecsVideoFrameDefaultTimestamp:
362
- 'Constructing a `VideoFrame` without a timestamp is deprecated and support will be removed. Please provide a timestamp via `VideoFrameInit`.',
363
- /**
362
+ webCodecsVideoFrameDefaultTimestamp:
363
+ 'Constructing a `VideoFrame` without a timestamp is deprecated and support will be removed. Please provide a timestamp via `VideoFrameInit`.',
364
+ /**
364
365
  *@description TODO(crbug.com/1318881): Description needed for translation
365
366
  */
366
- xhrJSONEncodingDetection: 'UTF-16 is not supported by response json in `XMLHttpRequest`',
367
- /**
367
+ xhrJSONEncodingDetection: 'UTF-16 is not supported by response json in `XMLHttpRequest`',
368
+ /**
368
369
  *@description TODO(crbug.com/1318882): Description needed for translation
369
370
  */
370
- xmlHttpRequestSynchronousInNonWorkerOutsideBeforeUnload:
371
- '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/.',
372
- /**
373
- *@description Warning displayed to developers that instead of using
374
- * `supportsSession()`, which returns a promise that resolves if
375
- * the XR session can be supported and rejects if not, they should
376
- * use `isSessionSupported()` which will return a promise which
377
- * resolves to a boolean indicating if the XR session can be
378
- * supported or not, but may reject to throw an exception.
379
- */
380
- xrSupportsSession:
381
- '`supportsSession()` is deprecated. Please use `isSessionSupported()` and check the resolved boolean value instead.',
382
- };
371
+ xmlHttpRequestSynchronousInNonWorkerOutsideBeforeUnload:
372
+ '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/.',
373
+ /**
374
+ *@description Warning displayed to developers that instead of using
375
+ * `supportsSession()`, which returns a promise that resolves if
376
+ * the XR session can be supported and rejects if not, they should
377
+ * use `isSessionSupported()` which will return a promise which
378
+ * resolves to a boolean indicating if the XR session can be
379
+ * supported or not, but may reject to throw an exception.
380
+ */
381
+ xrSupportsSession:
382
+ '`supportsSession()` is deprecated. Please use `isSessionSupported()` and check the resolved boolean value instead.',
383
+ };
384
+ // clang-format on
383
385
  const str_ = i18n.i18n.registerUIStrings('models/issues_manager/DeprecationIssue.ts', UIStrings);
384
386
  const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
385
387