Skip to content

Commit 6b927c9

Browse files
committed
Roll protocol to r1588380
1 parent e3b75f4 commit 6b927c9

9 files changed

Lines changed: 103 additions & 199 deletions

changelog.md

Lines changed: 30 additions & 196 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,36 @@
11

22

3+
## Roll protocol to r1588380 — _2026-02-22T04:58:30.000Z_
4+
###### Diff: [`e3b75f4...0affcf5`](https://github.com/ChromeDevTools/devtools-protocol/compare/e3b75f4...0affcf5)
5+
6+
```diff
7+
@@ domains/DOM.pdl:183 @@ domain DOM
8+
experimental optional boolean isScrollable
9+
experimental optional boolean affectedByStartingStyles
10+
experimental optional array of StyleSheetId adoptedStyleSheets
11+
+ experimental optional boolean isAdRelated
12+
13+
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
14+
type DetachedElementInfo extends object
15+
@@ -912,6 +913,14 @@ domain DOM
16+
# If the node is scrollable.
17+
boolean isScrollable
18+
19+
+ # Fired when a node's ad related state changes.
20+
+ experimental event adRelatedStateUpdated
21+
+ parameters
22+
+ # The id of the node.
23+
+ DOM.NodeId nodeId
24+
+ # If the node is ad related.
25+
+ boolean isAdRelated
26+
+
27+
# Fired when a node's starting styles changes.
28+
experimental event affectedByStartingStylesFlagUpdated
29+
parameters
30+
```
31+
332
## Roll protocol to r1588251 — _2026-02-21T04:50:25.000Z_
4-
###### Diff: [`d03fc9b...d04d881`](https://github.com/ChromeDevTools/devtools-protocol/compare/d03fc9b...d04d881)
33+
###### Diff: [`d03fc9b...e3b75f4`](https://github.com/ChromeDevTools/devtools-protocol/compare/d03fc9b...e3b75f4)
534

635
```diff
736
@@ domains/Network.pdl:2184 @@ domain Network
@@ -42215,199 +42244,4 @@ index 0dbdc01d..7a3c772c 100644
4221542244

4221642245
# Unique object identifier.
4221742246
type RemoteObjectId extends string
42218-
```
42219-
42220-
## Roll protocol to r1137505 — _2023-04-29T04:26:38.000Z_
42221-
###### Diff: [`7530c23...a74f8b5`](https://github.com/ChromeDevTools/devtools-protocol/compare/7530c23...a74f8b5)
42222-
42223-
```diff
42224-
@@ browser_protocol.pdl:4028 @@ domain IO
42225-
42226-
experimental domain IndexedDB
42227-
depends on Runtime
42228-
+ depends on Storage
42229-
42230-
# Database with an array of object stores.
42231-
type DatabaseWithObjectStores extends object
42232-
@@ -4120,11 +4121,13 @@ experimental domain IndexedDB
42233-
# Clears all entries from an object store.
42234-
command clearObjectStore
42235-
parameters
42236-
- # At least and at most one of securityOrigin, storageKey must be specified.
42237-
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
42238-
# Security origin.
42239-
optional string securityOrigin
42240-
# Storage key.
42241-
optional string storageKey
42242-
+ # Storage bucket. If not specified, it uses the default bucket.
42243-
+ optional Storage.StorageBucket storageBucket
42244-
# Database name.
42245-
string databaseName
42246-
# Object store name.
42247-
@@ -4133,22 +4136,26 @@ experimental domain IndexedDB
42248-
# Deletes a database.
42249-
command deleteDatabase
42250-
parameters
42251-
- # At least and at most one of securityOrigin, storageKey must be specified.
42252-
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
42253-
# Security origin.
42254-
optional string securityOrigin
42255-
# Storage key.
42256-
optional string storageKey
42257-
+ # Storage bucket. If not specified, it uses the default bucket.
42258-
+ optional Storage.StorageBucket storageBucket
42259-
# Database name.
42260-
string databaseName
42261-
42262-
# Delete a range of entries from an object store
42263-
command deleteObjectStoreEntries
42264-
parameters
42265-
- # At least and at most one of securityOrigin, storageKey must be specified.
42266-
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
42267-
# Security origin.
42268-
optional string securityOrigin
42269-
# Storage key.
42270-
optional string storageKey
42271-
+ # Storage bucket. If not specified, it uses the default bucket.
42272-
+ optional Storage.StorageBucket storageBucket
42273-
string databaseName
42274-
string objectStoreName
42275-
# Range of entry keys to delete
42276-
@@ -4163,11 +4170,13 @@ experimental domain IndexedDB
42277-
# Requests data from object store or index.
42278-
command requestData
42279-
parameters
42280-
- # At least and at most one of securityOrigin, storageKey must be specified.
42281-
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
42282-
# Security origin.
42283-
optional string securityOrigin
42284-
# Storage key.
42285-
optional string storageKey
42286-
+ # Storage bucket. If not specified, it uses the default bucket.
42287-
+ optional Storage.StorageBucket storageBucket
42288-
# Database name.
42289-
string databaseName
42290-
# Object store name.
42291-
@@ -4189,11 +4198,13 @@ experimental domain IndexedDB
42292-
# Gets metadata of an object store.
42293-
command getMetadata
42294-
parameters
42295-
- # At least and at most one of securityOrigin, storageKey must be specified.
42296-
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
42297-
# Security origin.
42298-
optional string securityOrigin
42299-
# Storage key.
42300-
optional string storageKey
42301-
+ # Storage bucket. If not specified, it uses the default bucket.
42302-
+ optional Storage.StorageBucket storageBucket
42303-
# Database name.
42304-
string databaseName
42305-
# Object store name.
42306-
@@ -4209,11 +4220,13 @@ experimental domain IndexedDB
42307-
# Requests database with given name in given frame.
42308-
command requestDatabase
42309-
parameters
42310-
- # At least and at most one of securityOrigin, storageKey must be specified.
42311-
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
42312-
# Security origin.
42313-
optional string securityOrigin
42314-
# Storage key.
42315-
optional string storageKey
42316-
+ # Storage bucket. If not specified, it uses the default bucket.
42317-
+ optional Storage.StorageBucket storageBucket
42318-
# Database name.
42319-
string databaseName
42320-
returns
42321-
@@ -4223,11 +4236,13 @@ experimental domain IndexedDB
42322-
# Requests database names for given security origin.
42323-
command requestDatabaseNames
42324-
parameters
42325-
- # At least and at most one of securityOrigin, storageKey must be specified.
42326-
+ # At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
42327-
# Security origin.
42328-
optional string securityOrigin
42329-
# Storage key.
42330-
optional string storageKey
42331-
+ # Storage bucket. If not specified, it uses the default bucket.
42332-
+ optional Storage.StorageBucket storageBucket
42333-
returns
42334-
# Database names for origin.
42335-
array of string databaseNames
42336-
@@ -9166,12 +9181,16 @@ experimental domain Storage
42337-
relaxed
42338-
strict
42339-
42340-
- type StorageBucketInfo extends object
42341-
+ type StorageBucket extends object
42342-
properties
42343-
SerializedStorageKey storageKey
42344-
+ # If not specified, it is the default bucket of the storageKey.
42345-
+ optional string name
42346-
+
42347-
+ type StorageBucketInfo extends object
42348-
+ properties
42349-
+ StorageBucket bucket
42350-
string id
42351-
- string name
42352-
- boolean isDefault
42353-
Network.TimeSinceEpoch expiration
42354-
# Storage quota (bytes).
42355-
number quota
42356-
@@ -9383,8 +9402,7 @@ experimental domain Storage
42357-
# Deletes the Storage Bucket with the given storage key and bucket name.
42358-
experimental command deleteStorageBucket
42359-
parameters
42360-
- string storageKey
42361-
- string bucketName
42362-
+ StorageBucket bucket
42363-
42364-
# Deletes state for sites identified as potential bounce trackers, immediately.
42365-
experimental command runBounceTrackingMitigations
42366-
@@ -9416,6 +9434,8 @@ experimental domain Storage
42367-
string origin
42368-
# Storage key to update.
42369-
string storageKey
42370-
+ # Storage bucket to update.
42371-
+ string bucketId
42372-
# Database to update.
42373-
string databaseName
42374-
# ObjectStore to update.
42375-
@@ -9428,6 +9448,8 @@ experimental domain Storage
42376-
string origin
42377-
# Storage key to update.
42378-
string storageKey
42379-
+ # Storage bucket to update.
42380-
+ string bucketId
42381-
42382-
# One of the interest groups was accessed by the associated page.
42383-
event interestGroupAccessed
42384-
@@ -9455,7 +9477,7 @@ experimental domain Storage
42385-
42386-
event storageBucketCreatedOrUpdated
42387-
parameters
42388-
- StorageBucketInfo bucket
42389-
+ StorageBucketInfo bucketInfo
42390-
42391-
event storageBucketDeleted
42392-
parameters
42393-
@@ -10832,6 +10854,19 @@ experimental domain Preload
42394-
# - https://wicg.github.io/nav-speculation/speculation-rules.html
42395-
# - https://github.com/WICG/nav-speculation/blob/main/triggers.md
42396-
string sourceText
42397-
+ # A speculation rule set is either added through an inline
42398-
+ # <script> tag or through an external resource via the
42399-
+ # 'Speculation-Rules' HTTP header. For the first case, we include
42400-
+ # the BackendNodeId of the relevant <script> tag. For the second
42401-
+ # case, we include the external URL where the rule set was loaded
42402-
+ # from, and also RequestId if Network domain is enabled.
42403-
+ #
42404-
+ # See also:
42405-
+ # - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script
42406-
+ # - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
42407-
+ optional DOM.BackendNodeId backendNodeId
42408-
+ optional string url
42409-
+ optional Network.RequestId requestId
42410-
# Error information
42411-
# `errorMessage` is null iff `errorType` is null.
42412-
optional RuleSetErrorType errorType
4241342247
```

json/browser_protocol.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7222,6 +7222,12 @@
72227222
"items": {
72237223
"$ref": "StyleSheetId"
72247224
}
7225+
},
7226+
{
7227+
"name": "isAdRelated",
7228+
"experimental": true,
7229+
"optional": true,
7230+
"type": "boolean"
72257231
}
72267232
]
72277233
},
@@ -8776,6 +8782,23 @@
87768782
}
87778783
]
87788784
},
8785+
{
8786+
"name": "adRelatedStateUpdated",
8787+
"description": "Fired when a node's ad related state changes.",
8788+
"experimental": true,
8789+
"parameters": [
8790+
{
8791+
"name": "nodeId",
8792+
"description": "The id of the node.",
8793+
"$ref": "DOM.NodeId"
8794+
},
8795+
{
8796+
"name": "isAdRelated",
8797+
"description": "If the node is ad related.",
8798+
"type": "boolean"
8799+
}
8800+
]
8801+
},
87798802
{
87808803
"name": "affectedByStartingStylesFlagUpdated",
87818804
"description": "Fired when a node's starting styles changes.",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1588251",
3+
"version": "0.0.1588380",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/DOM.pdl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ domain DOM
183183
experimental optional boolean isScrollable
184184
experimental optional boolean affectedByStartingStyles
185185
experimental optional array of StyleSheetId adoptedStyleSheets
186+
experimental optional boolean isAdRelated
186187

187188
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
188189
type DetachedElementInfo extends object
@@ -912,6 +913,14 @@ domain DOM
912913
# If the node is scrollable.
913914
boolean isScrollable
914915

916+
# Fired when a node's ad related state changes.
917+
experimental event adRelatedStateUpdated
918+
parameters
919+
# The id of the node.
920+
DOM.NodeId nodeId
921+
# If the node is ad related.
922+
boolean isAdRelated
923+
915924
# Fired when a node's starting styles changes.
916925
experimental event affectedByStartingStylesFlagUpdated
917926
parameters

types/protocol-mapping.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@ export namespace ProtocolMapping {
262262
* @experimental
263263
*/
264264
'DOM.scrollableFlagUpdated': [Protocol.DOM.ScrollableFlagUpdatedEvent];
265+
/**
266+
* Fired when a node's ad related state changes.
267+
* @experimental
268+
*/
269+
'DOM.adRelatedStateUpdated': [Protocol.DOM.AdRelatedStateUpdatedEvent];
265270
/**
266271
* Fired when a node's starting styles changes.
267272
* @experimental

types/protocol-proxy-api.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,12 @@ export namespace ProtocolProxyApi {
19031903
*/
19041904
on(event: 'scrollableFlagUpdated', listener: (params: Protocol.DOM.ScrollableFlagUpdatedEvent) => void): void;
19051905

1906+
/**
1907+
* Fired when a node's ad related state changes.
1908+
* @experimental
1909+
*/
1910+
on(event: 'adRelatedStateUpdated', listener: (params: Protocol.DOM.AdRelatedStateUpdatedEvent) => void): void;
1911+
19061912
/**
19071913
* Fired when a node's starting styles changes.
19081914
* @experimental

types/protocol-tests-proxy-api.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,6 +2019,14 @@ export namespace ProtocolTestsProxyApi {
20192019
offScrollableFlagUpdated(listener: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => void): void;
20202020
onceScrollableFlagUpdated(eventMatcher?: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.ScrollableFlagUpdatedEvent }>;
20212021

2022+
/**
2023+
* Fired when a node's ad related state changes.
2024+
* @experimental
2025+
*/
2026+
onAdRelatedStateUpdated(listener: (event: { params: Protocol.DOM.AdRelatedStateUpdatedEvent }) => void): void;
2027+
offAdRelatedStateUpdated(listener: (event: { params: Protocol.DOM.AdRelatedStateUpdatedEvent }) => void): void;
2028+
onceAdRelatedStateUpdated(eventMatcher?: (event: { params: Protocol.DOM.AdRelatedStateUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.AdRelatedStateUpdatedEvent }>;
2029+
20222030
/**
20232031
* Fired when a node's starting styles changes.
20242032
* @experimental

types/protocol.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7005,6 +7005,10 @@ export namespace Protocol {
70057005
* @experimental
70067006
*/
70077007
adoptedStyleSheets?: StyleSheetId[];
7008+
/**
7009+
* @experimental
7010+
*/
7011+
isAdRelated?: boolean;
70087012
}
70097013

70107014
/**
@@ -8070,6 +8074,21 @@ export namespace Protocol {
80708074
isScrollable: boolean;
80718075
}
80728076

8077+
/**
8078+
* Fired when a node's ad related state changes.
8079+
* @experimental
8080+
*/
8081+
export interface AdRelatedStateUpdatedEvent {
8082+
/**
8083+
* The id of the node.
8084+
*/
8085+
nodeId: DOM.NodeId;
8086+
/**
8087+
* If the node is ad related.
8088+
*/
8089+
isAdRelated: boolean;
8090+
}
8091+
80738092
/**
80748093
* Fired when a node's starting styles changes.
80758094
* @experimental

0 commit comments

Comments
 (0)