From ab05f953ced8a3c4adaeb7287c776618b67f032e Mon Sep 17 00:00:00 2001 From: devtools-ci-autoroll-builder Date: Thu, 22 Feb 2024 04:03:17 -0800 Subject: [PATCH] Roll browser-protocol This roll requires a manual review. See http://go/reviewed-rolls for guidance. In case of failures or errors, reach out to someone from config/owner/COMMON_OWNERS. Roll created at https://cr-buildbucket.appspot.com/build/8755393400628921185 R=devtools-waterfall-sheriff-onduty@rotations.google.com Bug: none Change-Id: Ic86dbe2d28a43e81a21d90d7517c7dfe2f9b1157 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5317490 Commit-Queue: Philip Pfaffe Reviewed-by: Philip Pfaffe --- .../javascript_metadata/NativeFunctions.js | 20 +++++++++++++++++-- .../devtools_protocol/browser_protocol.json | 1 + .../devtools_protocol/browser_protocol.pdl | 4 ++-- .../renderer/core/css/css_properties.json5 | 2 +- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/front_end/models/javascript_metadata/NativeFunctions.js b/front_end/models/javascript_metadata/NativeFunctions.js index 226e79f762..03baa7d23a 100644 --- a/front_end/models/javascript_metadata/NativeFunctions.js +++ b/front_end/models/javascript_metadata/NativeFunctions.js @@ -706,11 +706,23 @@ export const NativeFunctions = [ }, { name: "map", - signatures: [["callbackfn","?thisArg"]] + signatures: [["callbackfn","?thisArg"]], + receivers: ["ReadonlyArray","Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"] + }, + { + name: "map", + signatures: [["mapper"]], + receivers: ["Observable"] }, { name: "filter", - signatures: [["predicate","?thisArg"]] + signatures: [["predicate","?thisArg"]], + receivers: ["ReadonlyArray","Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"] + }, + { + name: "filter", + signatures: [["predicate"]], + receivers: ["Observable"] }, { name: "reduce", @@ -6374,6 +6386,10 @@ export const NativeFunctions = [ name: "takeUntil", signatures: [["notifier"]] }, + { + name: "take", + signatures: [["number_to_take"]] + }, { name: "getPartNode", signatures: [["index"]] diff --git a/third_party/blink/public/devtools_protocol/browser_protocol.json b/third_party/blink/public/devtools_protocol/browser_protocol.json index f59aac6a62..946e253043 100644 --- a/third_party/blink/public/devtools_protocol/browser_protocol.json +++ b/third_party/blink/public/devtools_protocol/browser_protocol.json @@ -8895,6 +8895,7 @@ { "name": "canEmulate", "description": "Tells whether emulation is supported.", + "deprecated": true, "returns": [ { "name": "result", diff --git a/third_party/blink/public/devtools_protocol/browser_protocol.pdl b/third_party/blink/public/devtools_protocol/browser_protocol.pdl index e88bf6b6fd..0f0f8db02c 100644 --- a/third_party/blink/public/devtools_protocol/browser_protocol.pdl +++ b/third_party/blink/public/devtools_protocol/browser_protocol.pdl @@ -4053,7 +4053,7 @@ domain Emulation optional SensorReadingQuaternion quaternion # Tells whether emulation is supported. - command canEmulate + deprecated command canEmulate returns # True if emulation is supported. boolean result @@ -4272,7 +4272,7 @@ domain Emulation # Overrides default host system timezone with the specified one. command setTimezoneOverride parameters - # The timezone identifier. List of supported timezones: + # The timezone identifier. List of supported timezones: # https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt # If empty, disables the override and restores default host system timezone. string timezoneId diff --git a/third_party/blink/renderer/core/css/css_properties.json5 b/third_party/blink/renderer/core/css/css_properties.json5 index 9397304150..3593428882 100644 --- a/third_party/blink/renderer/core/css/css_properties.json5 +++ b/third_party/blink/renderer/core/css/css_properties.json5 @@ -3297,7 +3297,7 @@ inherited: true, field_group: "inherited", field_template: "", - default_value: "Length::Percent(-100.0)", + default_value: "Length::Auto()", getter: "SpecifiedLineHeight", computed_style_custom_functions: ["getter"], converter: "ConvertLineHeight",