diff --git a/front_end/generated/InspectorBackendCommands.js b/front_end/generated/InspectorBackendCommands.js index 143b493b4d..11373474ee 100644 --- a/front_end/generated/InspectorBackendCommands.js +++ b/front_end/generated/InspectorBackendCommands.js @@ -2081,6 +2081,7 @@ export function registerCommands(inspectorBackend) { AmbientLightSensor: 'ambient-light-sensor', AttributionReporting: 'attribution-reporting', Autoplay: 'autoplay', + Bluetooth: 'bluetooth', BrowsingTopics: 'browsing-topics', Camera: 'camera', ChDpr: 'ch-dpr', @@ -3223,8 +3224,13 @@ export function registerCommands(inspectorBackend) { 'Debugger.pauseOnAsyncCall', [{'name': 'parentStackTraceId', 'type': 'object', 'optional': false}], []); inspectorBackend.registerCommand( 'Debugger.removeBreakpoint', [{'name': 'breakpointId', 'type': 'string', 'optional': false}], []); + inspectorBackend.registerEnum('Debugger.RestartFrameRequestMode', {StepInto: 'StepInto'}); inspectorBackend.registerCommand( - 'Debugger.restartFrame', [{'name': 'callFrameId', 'type': 'string', 'optional': false}], + 'Debugger.restartFrame', + [ + {'name': 'callFrameId', 'type': 'string', 'optional': false}, + {'name': 'mode', 'type': 'string', 'optional': true} + ], ['callFrames', 'asyncStackTrace', 'asyncStackTraceId']); inspectorBackend.registerCommand( 'Debugger.resume', [{'name': 'terminateOnResume', 'type': 'boolean', 'optional': true}], []); diff --git a/front_end/generated/SupportedCSSProperties.js b/front_end/generated/SupportedCSSProperties.js index bd63f613e4..7cecb1eebb 100644 --- a/front_end/generated/SupportedCSSProperties.js +++ b/front_end/generated/SupportedCSSProperties.js @@ -98,6 +98,7 @@ export const generatedProperties = [ ] }, {'name': 'all'}, + {'name': 'anchor-name', 'keywords': ['none']}, { 'longhands': [ 'animation-duration', 'animation-timing-function', 'animation-delay', 'animation-iteration-count', @@ -660,6 +661,7 @@ export const generatedProperties = [ ] }, {'name': 'position', 'keywords': ['static', 'relative', 'absolute', 'fixed', 'sticky']}, + {'name': 'position-fallback', 'keywords': ['none']}, {'name': 'prefix'}, {'name': 'quotes', 'inherited': true, 'keywords': ['auto', 'none']}, {'name': 'r'}, @@ -866,6 +868,7 @@ export const generatedPropertyValues = { 'text-before-edge', 'after-edge', 'text-after-edge', 'hanging' ] }, + 'anchor-name': {'values': ['none']}, 'animation-direction': {'values': ['normal', 'reverse', 'alternate', 'alternate-reverse']}, 'animation-fill-mode': {'values': ['none', 'forwards', 'backwards', 'both']}, 'animation-iteration-count': {'values': ['infinite']}, @@ -1127,6 +1130,7 @@ export const generatedPropertyValues = { ] }, 'position': {'values': ['static', 'relative', 'absolute', 'fixed', 'sticky']}, + 'position-fallback': {'values': ['none']}, 'quotes': {'values': ['auto', 'none']}, 'resize': {'values': ['none', 'both', 'horizontal', 'vertical', 'block', 'inline']}, 'right': {'values': ['auto']}, diff --git a/front_end/generated/protocol-mapping.d.ts b/front_end/generated/protocol-mapping.d.ts index 7746806097..73ac720edc 100644 --- a/front_end/generated/protocol-mapping.d.ts +++ b/front_end/generated/protocol-mapping.d.ts @@ -2866,7 +2866,19 @@ export namespace ProtocolMapping { */ 'Debugger.removeBreakpoint': {paramsType: [Protocol.Debugger.RemoveBreakpointRequest]; returnType: void;}; /** - * Restarts particular call frame from the beginning. + * Restarts particular call frame from the beginning. The old, deprecated + * behavior of `restartFrame` is to stay paused and allow further CDP commands + * after a restart was scheduled. This can cause problems with restarting, so + * we now continue execution immediatly after it has been scheduled until we + * reach the beginning of the restarted frame. + * + * To stay back-wards compatible, `restartFrame` now expects a `mode` + * parameter to be present. If the `mode` parameter is missing, `restartFrame` + * errors out. + * + * The various return values are deprecated and `callFrames` is always empty. + * Use the call frames from the `Debugger#paused` events instead, that fires + * once V8 pauses at the beginning of the restarted function. */ 'Debugger.restartFrame': {paramsType: [Protocol.Debugger.RestartFrameRequest]; returnType: Protocol.Debugger.RestartFrameResponse;}; diff --git a/front_end/generated/protocol-proxy-api.d.ts b/front_end/generated/protocol-proxy-api.d.ts index 5a22ea8452..7255b08181 100644 --- a/front_end/generated/protocol-proxy-api.d.ts +++ b/front_end/generated/protocol-proxy-api.d.ts @@ -3680,7 +3680,19 @@ declare namespace ProtocolProxyApi { Promise; /** - * Restarts particular call frame from the beginning. + * Restarts particular call frame from the beginning. The old, deprecated + * behavior of `restartFrame` is to stay paused and allow further CDP commands + * after a restart was scheduled. This can cause problems with restarting, so + * we now continue execution immediatly after it has been scheduled until we + * reach the beginning of the restarted frame. + * + * To stay back-wards compatible, `restartFrame` now expects a `mode` + * parameter to be present. If the `mode` parameter is missing, `restartFrame` + * errors out. + * + * The various return values are deprecated and `callFrames` is always empty. + * Use the call frames from the `Debugger#paused` events instead, that fires + * once V8 pauses at the beginning of the restarted function. */ invoke_restartFrame(params: Protocol.Debugger.RestartFrameRequest): Promise; diff --git a/front_end/generated/protocol.ts b/front_end/generated/protocol.ts index df64beceaa..0d6ee61bdc 100644 --- a/front_end/generated/protocol.ts +++ b/front_end/generated/protocol.ts @@ -10177,6 +10177,7 @@ export namespace Page { AmbientLightSensor = 'ambient-light-sensor', AttributionReporting = 'attribution-reporting', Autoplay = 'autoplay', + Bluetooth = 'bluetooth', BrowsingTopics = 'browsing-topics', Camera = 'camera', ChDpr = 'ch-dpr', @@ -11296,7 +11297,8 @@ export namespace Page { */ frameId: FrameId; /** - * Loader identifier. + * Loader identifier. This is omitted in case of same-document navigation, + * as the previously committed loaderId would not change. */ loaderId?: Network.LoaderId; /** @@ -15034,11 +15036,20 @@ export namespace Debugger { breakpointId: BreakpointId; } + export const enum RestartFrameRequestMode { + StepInto = 'StepInto', + } + export interface RestartFrameRequest { /** * Call frame identifier to evaluate on. */ callFrameId: CallFrameId; + /** + * The `mode` parameter must be present and set to 'StepInto', otherwise + * `restartFrame` will error out. + */ + mode?: RestartFrameRequestMode; } export interface RestartFrameResponse extends ProtocolResponseWithError { diff --git a/third_party/blink/public/devtools_protocol/browser_protocol.json b/third_party/blink/public/devtools_protocol/browser_protocol.json index 5f86cedf9a..32ef039c25 100644 --- a/third_party/blink/public/devtools_protocol/browser_protocol.json +++ b/third_party/blink/public/devtools_protocol/browser_protocol.json @@ -15004,6 +15004,7 @@ "ambient-light-sensor", "attribution-reporting", "autoplay", + "bluetooth", "browsing-topics", "camera", "ch-dpr", @@ -16581,7 +16582,7 @@ }, { "name": "loaderId", - "description": "Loader identifier.", + "description": "Loader identifier. This is omitted in case of same-document navigation,\nas the previously committed loaderId would not change.", "optional": true, "$ref": "Network.LoaderId" }, @@ -22450,19 +22451,29 @@ }, { "name": "restartFrame", - "description": "Restarts particular call frame from the beginning.", - "deprecated": true, + "description": "Restarts particular call frame from the beginning. The old, deprecated\nbehavior of `restartFrame` is to stay paused and allow further CDP commands\nafter a restart was scheduled. This can cause problems with restarting, so\nwe now continue execution immediatly after it has been scheduled until we\nreach the beginning of the restarted frame.\n\nTo stay back-wards compatible, `restartFrame` now expects a `mode`\nparameter to be present. If the `mode` parameter is missing, `restartFrame`\nerrors out.\n\nThe various return values are deprecated and `callFrames` is always empty.\nUse the call frames from the `Debugger#paused` events instead, that fires\nonce V8 pauses at the beginning of the restarted function.", "parameters": [ { "name": "callFrameId", "description": "Call frame identifier to evaluate on.", "$ref": "CallFrameId" + }, + { + "name": "mode", + "description": "The `mode` parameter must be present and set to 'StepInto', otherwise\n`restartFrame` will error out.", + "experimental": true, + "optional": true, + "type": "string", + "enum": [ + "StepInto" + ] } ], "returns": [ { "name": "callFrames", "description": "New stack trace.", + "deprecated": true, "type": "array", "items": { "$ref": "CallFrame" @@ -22471,13 +22482,14 @@ { "name": "asyncStackTrace", "description": "Async stack trace, if any.", + "deprecated": true, "optional": true, "$ref": "Runtime.StackTrace" }, { "name": "asyncStackTraceId", "description": "Async stack trace, if any.", - "experimental": true, + "deprecated": true, "optional": true, "$ref": "Runtime.StackTraceId" } diff --git a/third_party/blink/public/devtools_protocol/browser_protocol.pdl b/third_party/blink/public/devtools_protocol/browser_protocol.pdl index fb4c86feba..2ed17c09b3 100644 --- a/third_party/blink/public/devtools_protocol/browser_protocol.pdl +++ b/third_party/blink/public/devtools_protocol/browser_protocol.pdl @@ -6996,6 +6996,7 @@ domain Page ambient-light-sensor attribution-reporting autoplay + bluetooth browsing-topics camera ch-dpr @@ -7634,7 +7635,8 @@ domain Page returns # Frame id that has navigated (or failed to navigate) FrameId frameId - # Loader identifier. + # Loader identifier. This is omitted in case of same-document navigation, + # as the previously committed loaderId would not change. optional Network.LoaderId loaderId # User friendly error message, present if and only if navigation has failed. optional string errorText diff --git a/third_party/blink/renderer/core/css/css_properties.json5 b/third_party/blink/renderer/core/css/css_properties.json5 index 7b2753ff44..6d0e43b4d6 100644 --- a/third_party/blink/renderer/core/css/css_properties.json5 +++ b/third_party/blink/renderer/core/css/css_properties.json5 @@ -1359,6 +1359,18 @@ type_name: "StyleSelfAlignmentData", converter: "ConvertSelfOrDefaultAlignmentData", }, + { + name: "anchor-name", + property_methods: ["ParseSingleValue", "CSSValueFromComputedStyleInternal" ], + type_name: "AtomicString", + default_value: "g_null_atom", + field_group: "*", + field_template: "external", + converter: "ConvertNoneOrCustomIdent", + keywords: ["none"], + typedom_types: ["Keyword"], + runtime_flag: "CSSAnchorPositioning", + }, { name: "aspect-ratio", property_methods: ["ParseSingleValue", "CSSValueFromComputedStyleInternal"], @@ -3670,6 +3682,18 @@ // See comment on display. supports_incremental_style: false, }, + { + name: "position-fallback", + property_methods: ["ParseSingleValue", "CSSValueFromComputedStyleInternal" ], + type_name: "AtomicString", + default_value: "g_null_atom", + field_group: "*", + field_template: "external", + converter: "ConvertNoneOrCustomIdent", + keywords: ["none"], + typedom_types: ["Keyword"], + runtime_flag: "CSSAnchorPositioning", + }, { name: "quotes", property_methods: ["ParseSingleValue", "CSSValueFromComputedStyleInternal"], @@ -4846,6 +4870,7 @@ property_methods: ["ParseSingleValue", "CSSValueFromComputedStyleInternal"], style_builder_custom_functions: ["value"], valid_for_first_letter: true, + affected_by_all: false, }, { name: "-webkit-border-vertical-spacing", @@ -5217,6 +5242,7 @@ interpolable: true, converter: "ConvertLength", computable: false, + affected_by_all: false, }, { name: "-webkit-perspective-origin-y", @@ -5224,6 +5250,7 @@ interpolable: true, converter: "ConvertLength", computable: false, + affected_by_all: false, }, { name: "-webkit-print-color-adjust", @@ -5376,6 +5403,7 @@ interpolable: true, converter: "ConvertLength", computable: false, + affected_by_all: false, }, { name: "-webkit-transform-origin-y", @@ -5383,6 +5411,7 @@ interpolable: true, converter: "ConvertLength", computable: false, + affected_by_all: false, }, { name: "-webkit-transform-origin-z", @@ -5390,6 +5419,7 @@ interpolable: true, converter: "ConvertComputedLength", computable: false, + affected_by_all: false, }, { name: "-webkit-user-drag", diff --git a/v8/include/js_protocol.pdl b/v8/include/js_protocol.pdl index 0421ecdef4..18cf0c7638 100644 --- a/v8/include/js_protocol.pdl +++ b/v8/include/js_protocol.pdl @@ -273,18 +273,35 @@ domain Debugger parameters BreakpointId breakpointId - # Restarts particular call frame from the beginning. - deprecated command restartFrame + # Restarts particular call frame from the beginning. The old, deprecated + # behavior of `restartFrame` is to stay paused and allow further CDP commands + # after a restart was scheduled. This can cause problems with restarting, so + # we now continue execution immediatly after it has been scheduled until we + # reach the beginning of the restarted frame. + # + # To stay back-wards compatible, `restartFrame` now expects a `mode` + # parameter to be present. If the `mode` parameter is missing, `restartFrame` + # errors out. + # + # The various return values are deprecated and `callFrames` is always empty. + # Use the call frames from the `Debugger#paused` events instead, that fires + # once V8 pauses at the beginning of the restarted function. + command restartFrame parameters # Call frame identifier to evaluate on. CallFrameId callFrameId + # The `mode` parameter must be present and set to 'StepInto', otherwise + # `restartFrame` will error out. + experimental optional enum mode + # Pause at the beginning of the restarted function + StepInto returns # New stack trace. - array of CallFrame callFrames + deprecated array of CallFrame callFrames # Async stack trace, if any. - optional Runtime.StackTrace asyncStackTrace + deprecated optional Runtime.StackTrace asyncStackTrace # Async stack trace, if any. - experimental optional Runtime.StackTraceId asyncStackTraceId + deprecated optional Runtime.StackTraceId asyncStackTraceId # Resumes JavaScript execution. command resume