Skip to content

Commit 059f4aa

Browse files
committed
[devtools] Update v89 version to 89.0.4389.126
1 parent c7f3fae commit 059f4aa

File tree

2 files changed

+163
-24
lines changed

2 files changed

+163
-24
lines changed

common/devtools/chromium/v89/browser_protocol.pdl

+133-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ experimental domain Accessibility
5353
labelfor
5454
labelwrapped
5555
legend
56+
rubyannotation
5657
tablecaption
5758
title
5859
other
@@ -202,8 +203,20 @@ experimental domain Accessibility
202203
# children, if requested.
203204
array of AXNode nodes
204205

205-
# Fetches the entire accessibility tree
206+
# Fetches the entire accessibility tree for the root Document
206207
experimental command getFullAXTree
208+
parameters
209+
# The maximum depth at which descendants of the root node should be retrieved.
210+
# If omitted, the full tree is returned.
211+
optional integer max_depth
212+
returns
213+
array of AXNode nodes
214+
215+
# Fetches a particular accessibility node by AXNodeId.
216+
# Requires `enable()` to have been called previously.
217+
experimental command getChildAXNodes
218+
parameters
219+
AXNodeId id
207220
returns
208221
array of AXNode nodes
209222

@@ -648,6 +661,14 @@ experimental domain Audits
648661
optional SourceCodeLocation sourceCodeLocation
649662
optional DOM.BackendNodeId violatingNodeId
650663

664+
# Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
665+
# code. Currently only used for COEP/COOP, but may be extended to include
666+
# some CSP errors in the future.
667+
type SharedArrayBufferTransferIssueDetails extends object
668+
properties
669+
SourceCodeLocation sourceCodeLocation
670+
boolean isWarning
671+
651672
# A unique identifier for the type of issue. Each type may use one of the
652673
# optional fields in InspectorIssueDetails to convey more specific
653674
# information about the kind of issue.
@@ -658,6 +679,7 @@ experimental domain Audits
658679
BlockedByResponseIssue
659680
HeavyAdIssue
660681
ContentSecurityPolicyIssue
682+
SharedArrayBufferTransferIssue
661683

662684
# This struct holds a list of optional fields with additional information
663685
# specific to the kind of issue. When adding a new issue code, please also
@@ -669,6 +691,7 @@ experimental domain Audits
669691
optional BlockedByResponseIssueDetails blockedByResponseIssueDetails
670692
optional HeavyAdIssueDetails heavyAdIssueDetails
671693
optional ContentSecurityPolicyIssueDetails contentSecurityPolicyIssueDetails
694+
optional SharedArrayBufferTransferIssueDetails sharedArrayBufferTransferIssueDetails
672695

673696
# An inspector issue reported from the back-end.
674697
type InspectorIssue extends object
@@ -815,6 +838,7 @@ domain Browser
815838
backgroundFetch
816839
clipboardReadWrite
817840
clipboardSanitizedWrite
841+
displayCapture
818842
durableStorage
819843
flash
820844
geolocation
@@ -1791,6 +1815,8 @@ domain DOM
17911815
backdrop
17921816
selection
17931817
target-text
1818+
spelling-error
1819+
grammar-error
17941820
first-line-inherited
17951821
scrollbar
17961822
scrollbar-thumb
@@ -4723,6 +4749,8 @@ domain Network
47234749
optional CookieSameSite sameSite
47244750
# Cookie Priority
47254751
experimental CookiePriority priority
4752+
# True if cookie is SameParty.
4753+
experimental boolean sameParty
47264754

47274755
# Types of reasons why a cookie may not be stored from a response.
47284756
experimental type SetCookieBlockedReason extends string
@@ -5494,13 +5522,17 @@ domain Network
54945522
RequestId transportId
54955523
# WebTransport request URL.
54965524
string url
5525+
# Timestamp.
5526+
MonotonicTime timestamp
54975527
# Request initiator.
54985528
optional Initiator initiator
54995529

55005530
event webTransportClosed
55015531
parameters
55025532
# WebTransport identifier.
55035533
RequestId transportId
5534+
# Timestamp.
5535+
MonotonicTime timestamp
55045536

55055537
experimental type PrivateNetworkRequestPolicy extends string
55065538
enum
@@ -5553,6 +5585,36 @@ domain Network
55535585
# available, such as in the case of HTTP/2 or QUIC.
55545586
optional string headersText
55555587

5588+
# Fired exactly once for each Trust Token operation. Depending on
5589+
# the type of the operation and whether the operation succeeded or
5590+
# failed, the event is fired before the corresponding request was sent
5591+
# or after the response was received.
5592+
experimental event trustTokenOperationDone
5593+
parameters
5594+
# Detailed success or error status of the operation.
5595+
# 'AlreadyExists' also signifies a successful operation, as the result
5596+
# of the operation already exists und thus, the operation was abort
5597+
# preemptively (e.g. a cache hit).
5598+
enum status
5599+
Ok
5600+
InvalidArgument
5601+
FailedPrecondition
5602+
ResourceExhausted
5603+
AlreadyExists
5604+
Unavailable
5605+
BadResponse
5606+
InternalError
5607+
UnknownError
5608+
FulfilledLocally
5609+
TrustTokenOperationType type
5610+
RequestId requestId
5611+
# Top level origin. The context in which the operation was attempted.
5612+
optional string topLevelOrigin
5613+
# Origin of the issuer in case of a "Issuance" or "Redemption" operation.
5614+
optional string issuerOrigin
5615+
# The number of obtained Trust Tokens on a successful "Issuance" operation.
5616+
optional integer issuedTokenCount
5617+
55565618
experimental type CrossOriginOpenerPolicyValue extends string
55575619
enum
55585620
SameOrigin
@@ -7085,6 +7147,72 @@ domain Performance
70857147
# Timestamp title.
70867148
string title
70877149

7150+
# Reporting of performance timeline events, as specified in
7151+
# https://w3c.github.io/performance-timeline/#dom-performanceobserver.
7152+
experimental domain PerformanceTimeline
7153+
depends on DOM
7154+
depends on Network
7155+
7156+
# See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl
7157+
type LargestContentfulPaint extends object
7158+
properties
7159+
Network.TimeSinceEpoch renderTime
7160+
Network.TimeSinceEpoch loadTime
7161+
# The number of pixels being painted.
7162+
number size
7163+
# The id attribute of the element, if available.
7164+
optional string elementId
7165+
# The URL of the image (may be trimmed).
7166+
optional string url
7167+
optional DOM.BackendNodeId nodeId
7168+
7169+
type LayoutShiftAttribution extends object
7170+
properties
7171+
DOM.Rect previousRect
7172+
DOM.Rect currentRect
7173+
optional DOM.BackendNodeId nodeId
7174+
7175+
# See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl
7176+
type LayoutShift extends object
7177+
properties
7178+
# Score increment produced by this event.
7179+
number value
7180+
boolean hadRecentInput
7181+
Network.TimeSinceEpoch lastInputTime
7182+
array of LayoutShiftAttribution sources
7183+
7184+
type TimelineEvent extends object
7185+
properties
7186+
# Identifies the frame that this event is related to. Empty for non-frame targets.
7187+
Page.FrameId frameId
7188+
# The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype
7189+
# This determines which of the optional "details" fiedls is present.
7190+
string type
7191+
# Name may be empty depending on the type.
7192+
string name
7193+
# Time in seconds since Epoch, monotonically increasing within document lifetime.
7194+
Network.TimeSinceEpoch time
7195+
# Event duration, if applicable.
7196+
optional number duration
7197+
optional LargestContentfulPaint lcpDetails
7198+
optional LayoutShift layoutShiftDetails
7199+
7200+
# Previously buffered events would be reported before method returns.
7201+
# See also: timelineEventAdded
7202+
command enable
7203+
parameters
7204+
# The types of event to report, as specified in
7205+
# https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype
7206+
# The specified filter overrides any previous filters, passing empty
7207+
# filter disables recording.
7208+
# Note that not all types exposed to the web platform are currently supported.
7209+
array of string eventTypes
7210+
7211+
# Sent when a performance timeline event is added. See reportPerformanceTimeline method.
7212+
event timelineEventAdded
7213+
parameters
7214+
TimelineEvent event
7215+
70887216
# Security
70897217
domain Security
70907218

@@ -8030,6 +8158,10 @@ experimental domain Tracing
80308158
# transfer mode (defaults to `none`)
80318159
optional StreamCompression streamCompression
80328160
optional TraceConfig traceConfig
8161+
# Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
8162+
# When specified, the parameters `categories`, `options`, `traceConfig`
8163+
# are ignored.
8164+
optional binary perfettoConfig
80338165

80348166
event bufferUsage
80358167
parameters

common/devtools/chromium/v89/js_protocol.pdl

+30-23
Original file line numberDiff line numberDiff line change
@@ -211,21 +211,6 @@ domain Debugger
211211
# Exception details.
212212
optional Runtime.ExceptionDetails exceptionDetails
213213

214-
# Execute a Wasm Evaluator module on a given call frame.
215-
experimental command executeWasmEvaluator
216-
parameters
217-
# WebAssembly call frame identifier to evaluate on.
218-
CallFrameId callFrameId
219-
# Code of the evaluator module.
220-
binary evaluator
221-
# Terminate execution after timing out (number of milliseconds).
222-
experimental optional Runtime.TimeDelta timeout
223-
returns
224-
# Object wrapper for the evaluation result.
225-
Runtime.RemoteObject result
226-
# Exception details.
227-
optional Runtime.ExceptionDetails exceptionDetails
228-
229214
# Returns possible locations for breakpoint. scriptId in start and end range locations should be
230215
# the same.
231216
command getPossibleBreakpoints
@@ -1023,8 +1008,9 @@ domain Runtime
10231008
boolean
10241009
symbol
10251010
bigint
1026-
wasm
1027-
# Object subtype hint. Specified for `object` or `wasm` type values only.
1011+
# Object subtype hint. Specified for `object` type values only.
1012+
# NOTE: If you change anything here, make sure to also update
1013+
# `subtype` in `ObjectPreview` and `PropertyPreview` below.
10281014
optional enum subtype
10291015
array
10301016
null
@@ -1043,12 +1029,7 @@ domain Runtime
10431029
typedarray
10441030
arraybuffer
10451031
dataview
1046-
i32
1047-
i64
1048-
f32
1049-
f64
1050-
v128
1051-
externref
1032+
webassemblymemory
10521033
# Object class (constructor) name. Specified for `object` type values only.
10531034
optional string className
10541035
# Remote object value in case of primitive values or JSON values (if it was requested).
@@ -1101,6 +1082,12 @@ domain Runtime
11011082
iterator
11021083
generator
11031084
error
1085+
proxy
1086+
promise
1087+
typedarray
1088+
arraybuffer
1089+
dataview
1090+
webassemblymemory
11041091
# String representation of the object.
11051092
optional string description
11061093
# True iff some of the properties or entries of the original object did not fit.
@@ -1143,6 +1130,12 @@ domain Runtime
11431130
iterator
11441131
generator
11451132
error
1133+
proxy
1134+
promise
1135+
typedarray
1136+
arraybuffer
1137+
dataview
1138+
webassemblymemory
11461139

11471140
experimental type EntryPreview extends object
11481141
properties
@@ -1225,6 +1218,10 @@ domain Runtime
12251218
string origin
12261219
# Human readable name describing given context.
12271220
string name
1221+
# A system-unique execution context identifier. Unlike the id, this is unique accross
1222+
# multiple processes, so can be reliably used to identify specific context while backend
1223+
# performs a cross-process navigation.
1224+
experimental string uniqueId
12281225
# Embedder-specific auxiliary data.
12291226
optional object auxData
12301227

@@ -1388,6 +1385,9 @@ domain Runtime
13881385
optional boolean silent
13891386
# Specifies in which execution context to perform evaluation. If the parameter is omitted the
13901387
# evaluation will be performed in the context of the inspected page.
1388+
# This is mutually exclusive with `uniqueContextId`, which offers an
1389+
# alternative way to identify the execution context that is more reliable
1390+
# in a multi-process environment.
13911391
optional ExecutionContextId contextId
13921392
# Whether the result is expected to be a JSON object that should be sent by value.
13931393
optional boolean returnByValue
@@ -1414,6 +1414,13 @@ domain Runtime
14141414
# when called with non-callable arguments. This flag bypasses CSP for this
14151415
# evaluation and allows unsafe-eval. Defaults to true.
14161416
experimental optional boolean allowUnsafeEvalBlockedByCSP
1417+
# An alternative way to specify the execution context to evaluate in.
1418+
# Compared to contextId that may be reused accross processes, this is guaranteed to be
1419+
# system-unique, so it can be used to prevent accidental evaluation of the expression
1420+
# in context different than intended (e.g. as a result of navigation accross process
1421+
# boundaries).
1422+
# This is mutually exclusive with `contextId`.
1423+
experimental optional string uniqueContextId
14171424
returns
14181425
# Evaluation result.
14191426
RemoteObject result

0 commit comments

Comments
 (0)