Roll dependencies from chromium/src to devtools/devtools-frontend
Per the process:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation/README.md
This pulls in the updates to the deprecation message made here:
https://chromium-review.googlesource.com/c/chromium/src/+/4296153
Change-Id: Ia3ea8c00c765bc7296c597db14261516b375929e
Bug:1396384
Change-Id: Ia3ea8c00c765bc7296c597db14261516b375929e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4307494
Reviewed-by: Simon Zünd <szuend@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
diff --git a/front_end/generated/Deprecation.ts b/front_end/generated/Deprecation.ts
index feb474d..fced131 100644
--- a/front_end/generated/Deprecation.ts
+++ b/front_end/generated/Deprecation.ts
@@ -97,7 +97,7 @@
/**
* @description This warning is displayed when a site contains a `<template>` element with the `shadowroot` attribute.
*/
- NonStandardDeclarativeShadowDOM: 'The older, non-standardized `shadowroot` attribute is deprecated. Please use the new, standardized `shadowrootmode` attribute instead.',
+ NonStandardDeclarativeShadowDOM: 'The older, non-standardized `shadowroot` attribute is deprecated, and will *no longer function* in M119. Please use the new, standardized `shadowrootmode` attribute instead.',
/**
* @description This warning occurs when the browser requests Web MIDI access as sysex (system exclusive messages) can be allowed via prompt even if the browser did not specifically request it.
*/
@@ -147,10 +147,6 @@
*/
PrefixedRequestAnimationFrame: 'webkitRequestAnimationFrame is vendor-specific. Please use the standard requestAnimationFrame instead.',
/**
- * @description Warning displayed to developers when `window.webkitStorageInfo` is used to notify that the API is deprecated.
- */
- PrefixedStorageInfo: '`window.webkitStorageInfo` is deprecated. Please use standardized `navigator.storage` instead.',
- /**
* @description Standard message when one web API is deprecated in favor of another.
*/
PrefixedVideoDisplayingFullscreen: 'HTMLVideoElement.webkitDisplayingFullscreen is deprecated. Please use Document.fullscreenElement instead.',
@@ -215,6 +211,14 @@
*/
V8SharedArrayBufferConstructedInExtensionWithoutIsolation: 'Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.',
/**
+ * @description A deprecation warning shown in the DevTools Issues tab. 'window-placement' and 'window-management' are the name of the javascript descriptors (do not translate). The warning is shown when web pages attempt to use 'window-placement' in permission APIs (e.g. navigator.permissions.query(...))
+ */
+ WindowPlacementPermissionDescriptorUsed: 'The permission descriptor `window-placement` is deprecated. Use `window-management` instead. For more help, check https://bit.ly/window-placement-rename.',
+ /**
+ * @description A deprecation warning shown in the DevTools Issues tab. 'window-placement' and 'window-management' are the name of the policy descriptors (do not translate). The warning is shown when web pages attempt to use 'window-placement' as a permission policy (parsed in iframe or header).
+ */
+ WindowPlacementPermissionPolicyParsed: 'The permission policy `window-placement` is deprecated. Use `window-management` instead. For more help, check https://bit.ly/window-placement-rename.',
+ /**
* @description Warning displayed to developers that they are using `XMLHttpRequest` API in a way that they expect an unsupported character encoding `UTF-16` could be used in the server reply.
*/
XHRJSONEncodingDetection: 'UTF-16 is not supported by response json in `XMLHttpRequest`',
@@ -291,7 +295,7 @@
},
"NonStandardDeclarativeShadowDOM": {
"chromeStatusFeature": 6239658726391808,
- "milestone": 112
+ "milestone": 119
},
"NotificationPermissionRequestedIframe": {
"chromeStatusFeature": 6451284559265792
@@ -343,6 +347,14 @@
"V8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
"milestone": 96
},
+ "WindowPlacementPermissionDescriptorUsed": {
+ "chromeStatusFeature": 5137018030391296,
+ "milestone": 112
+ },
+ "WindowPlacementPermissionPolicyParsed": {
+ "chromeStatusFeature": 5137018030391296,
+ "milestone": 112
+ },
"XHRJSONEncodingDetection": {
"milestone": 93
},
diff --git a/front_end/models/javascript_metadata/NativeFunctions.js b/front_end/models/javascript_metadata/NativeFunctions.js
index b44a023..18583b4 100644
--- a/front_end/models/javascript_metadata/NativeFunctions.js
+++ b/front_end/models/javascript_metadata/NativeFunctions.js
@@ -6388,6 +6388,10 @@
signatures: [['url']]
},
{
+ name: 'setSharedStorageContext',
+ signatures: [['contextString']]
+ },
+ {
name: 'FormDataEvent',
signatures: [['type','eventInitDict']]
},
@@ -7579,23 +7583,11 @@
},
{
name: 'queryUsageAndQuota',
- signatures: [['storageType','?usageCallback','?errorCallback']],
- receivers: ['DeprecatedStorageInfo']
- },
- {
- name: 'queryUsageAndQuota',
- signatures: [['usageCallback','?errorCallback']],
- receivers: ['DeprecatedStorageQuota']
+ signatures: [['usageCallback','?errorCallback']]
},
{
name: 'requestQuota',
- signatures: [['storageType','newQuotaInBytes','?quotaCallback','?errorCallback']],
- receivers: ['DeprecatedStorageInfo']
- },
- {
- name: 'requestQuota',
- signatures: [['newQuotaInBytes','?quotaCallback','?errorCallback']],
- receivers: ['DeprecatedStorageQuota']
+ signatures: [['newQuotaInBytes','?quotaCallback','?errorCallback']]
},
{
name: 'DOMError',
diff --git a/third_party/blink/renderer/core/css/css_properties.json5 b/third_party/blink/renderer/core/css/css_properties.json5
index 9639b67..d951318 100644
--- a/third_party/blink/renderer/core/css/css_properties.json5
+++ b/third_party/blink/renderer/core/css/css_properties.json5
@@ -5888,6 +5888,7 @@
keywords: [
"normal", "pre", "pre-wrap", "pre-line", "nowrap", "break-spaces"
],
+ style_builder_custom_functions: ["initial", "inherit", "value"],
typedom_types: ["Keyword"],
default_value: "EWhiteSpace::kNormal",
valid_for_cue: true,
diff --git a/third_party/blink/renderer/core/frame/deprecation/deprecation.json5 b/third_party/blink/renderer/core/frame/deprecation/deprecation.json5
index c94ba70..39e7d90 100644
--- a/third_party/blink/renderer/core/frame/deprecation/deprecation.json5
+++ b/third_party/blink/renderer/core/frame/deprecation/deprecation.json5
@@ -266,13 +266,13 @@
},
{
name: "NonStandardDeclarativeShadowDOM",
- message: "The older, non-standardized `shadowroot` attribute is deprecated. Please use the new, standardized `shadowrootmode` attribute instead.",
+ message: "The older, non-standardized `shadowroot` attribute is deprecated, and will *no longer function* in M119. Please use the new, standardized `shadowrootmode` attribute instead.",
translation_note: "This warning is displayed when a site contains a `<template>` element with the `shadowroot` attribute.",
web_features: [
"kDeclarativeShadowRoot",
],
chrome_status_feature: 6239658726391808,
- milestone: 112,
+ milestone: 119,
},
{
name: "NoSysexWebMIDIWithoutPermission",
@@ -384,14 +384,6 @@
],
},
{
- name: "PrefixedStorageInfo",
- message: "`window.webkitStorageInfo` is deprecated. Please use standardized `navigator.storage` instead.",
- translation_note: "Warning displayed to developers when `window.webkitStorageInfo` is used to notify that the API is deprecated.",
- web_features: [
- "kPrefixedStorageInfo",
- ],
- },
- {
name: "PrefixedVideoDisplayingFullscreen",
message: "HTMLVideoElement.webkitDisplayingFullscreen is deprecated. Please use Document.fullscreenElement instead.",
translation_note: "Standard message when one web API is deprecated in favor of another.",
@@ -531,6 +523,26 @@
milestone: 96,
},
{
+ name: "WindowPlacementPermissionDescriptorUsed",
+ message: "The permission descriptor `window-placement` is deprecated. Use `window-management` instead. For more help, check https://bit.ly/window-placement-rename.",
+ translation_note: "A deprecation warning shown in the DevTools Issues tab. 'window-placement' and 'window-management' are the name of the javascript descriptors (do not translate). The warning is shown when web pages attempt to use 'window-placement' in permission APIs (e.g. navigator.permissions.query(...))",
+ web_features: [
+ "kWindowPlacementPermissionDescriptorUsed",
+ ],
+ milestone: 112,
+ chrome_status_feature: 5137018030391296,
+ },
+ {
+ name: "WindowPlacementPermissionPolicyParsed",
+ message: "The permission policy `window-placement` is deprecated. Use `window-management` instead. For more help, check https://bit.ly/window-placement-rename.",
+ translation_note: "A deprecation warning shown in the DevTools Issues tab. 'window-placement' and 'window-management' are the name of the policy descriptors (do not translate). The warning is shown when web pages attempt to use 'window-placement' as a permission policy (parsed in iframe or header).",
+ web_features: [
+ "kWindowPlacementPermissionPolicyParsed",
+ ],
+ milestone: 112,
+ chrome_status_feature: 5137018030391296,
+ },
+ {
name: "XHRJSONEncodingDetection",
message: "UTF-16 is not supported by response json in `XMLHttpRequest`",
translation_note: "Warning displayed to developers that they are using `XMLHttpRequest` API in a way that they expect an unsupported character encoding `UTF-16` could be used in the server reply.",