devtools-protocol 0.0.1560991 → 0.0.1565416
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17157,6 +17157,166 @@
|
|
|
17157
17157
|
}
|
|
17158
17158
|
]
|
|
17159
17159
|
},
|
|
17160
|
+
{
|
|
17161
|
+
"id": "DeviceBoundSessionKey",
|
|
17162
|
+
"description": "Unique identifier for a device bound session.",
|
|
17163
|
+
"experimental": true,
|
|
17164
|
+
"type": "object",
|
|
17165
|
+
"properties": [
|
|
17166
|
+
{
|
|
17167
|
+
"name": "site",
|
|
17168
|
+
"description": "The site the session is set up for.",
|
|
17169
|
+
"type": "string"
|
|
17170
|
+
},
|
|
17171
|
+
{
|
|
17172
|
+
"name": "id",
|
|
17173
|
+
"description": "The id of the session.",
|
|
17174
|
+
"type": "string"
|
|
17175
|
+
}
|
|
17176
|
+
]
|
|
17177
|
+
},
|
|
17178
|
+
{
|
|
17179
|
+
"id": "DeviceBoundSessionCookieCraving",
|
|
17180
|
+
"description": "A device bound session's cookie craving.",
|
|
17181
|
+
"experimental": true,
|
|
17182
|
+
"type": "object",
|
|
17183
|
+
"properties": [
|
|
17184
|
+
{
|
|
17185
|
+
"name": "name",
|
|
17186
|
+
"description": "The name of the craving.",
|
|
17187
|
+
"type": "string"
|
|
17188
|
+
},
|
|
17189
|
+
{
|
|
17190
|
+
"name": "domain",
|
|
17191
|
+
"description": "The domain of the craving.",
|
|
17192
|
+
"type": "string"
|
|
17193
|
+
},
|
|
17194
|
+
{
|
|
17195
|
+
"name": "path",
|
|
17196
|
+
"description": "The path of the craving.",
|
|
17197
|
+
"type": "string"
|
|
17198
|
+
},
|
|
17199
|
+
{
|
|
17200
|
+
"name": "secure",
|
|
17201
|
+
"description": "The `Secure` attribute of the craving attributes.",
|
|
17202
|
+
"type": "boolean"
|
|
17203
|
+
},
|
|
17204
|
+
{
|
|
17205
|
+
"name": "httpOnly",
|
|
17206
|
+
"description": "The `HttpOnly` attribute of the craving attributes.",
|
|
17207
|
+
"type": "boolean"
|
|
17208
|
+
},
|
|
17209
|
+
{
|
|
17210
|
+
"name": "sameSite",
|
|
17211
|
+
"description": "The `SameSite` attribute of the craving attributes.",
|
|
17212
|
+
"optional": true,
|
|
17213
|
+
"$ref": "CookieSameSite"
|
|
17214
|
+
}
|
|
17215
|
+
]
|
|
17216
|
+
},
|
|
17217
|
+
{
|
|
17218
|
+
"id": "DeviceBoundSessionUrlRule",
|
|
17219
|
+
"description": "A device bound session's inclusion URL rule.",
|
|
17220
|
+
"experimental": true,
|
|
17221
|
+
"type": "object",
|
|
17222
|
+
"properties": [
|
|
17223
|
+
{
|
|
17224
|
+
"name": "ruleType",
|
|
17225
|
+
"description": "See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type`.",
|
|
17226
|
+
"type": "string",
|
|
17227
|
+
"enum": [
|
|
17228
|
+
"Exclude",
|
|
17229
|
+
"Include"
|
|
17230
|
+
]
|
|
17231
|
+
},
|
|
17232
|
+
{
|
|
17233
|
+
"name": "hostPattern",
|
|
17234
|
+
"description": "See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern`.",
|
|
17235
|
+
"type": "string"
|
|
17236
|
+
},
|
|
17237
|
+
{
|
|
17238
|
+
"name": "pathPrefix",
|
|
17239
|
+
"description": "See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix`.",
|
|
17240
|
+
"type": "string"
|
|
17241
|
+
}
|
|
17242
|
+
]
|
|
17243
|
+
},
|
|
17244
|
+
{
|
|
17245
|
+
"id": "DeviceBoundSessionInclusionRules",
|
|
17246
|
+
"description": "A device bound session's inclusion rules.",
|
|
17247
|
+
"experimental": true,
|
|
17248
|
+
"type": "object",
|
|
17249
|
+
"properties": [
|
|
17250
|
+
{
|
|
17251
|
+
"name": "origin",
|
|
17252
|
+
"description": "See comments on `net::device_bound_sessions::SessionInclusionRules::origin_`.",
|
|
17253
|
+
"type": "string"
|
|
17254
|
+
},
|
|
17255
|
+
{
|
|
17256
|
+
"name": "includeSite",
|
|
17257
|
+
"description": "Whether the whole site is included. See comments on\n`net::device_bound_sessions::SessionInclusionRules::include_site_` for more\ndetails; this boolean is true if that value is populated.",
|
|
17258
|
+
"type": "boolean"
|
|
17259
|
+
},
|
|
17260
|
+
{
|
|
17261
|
+
"name": "urlRules",
|
|
17262
|
+
"description": "See comments on `net::device_bound_sessions::SessionInclusionRules::url_rules_`.",
|
|
17263
|
+
"type": "array",
|
|
17264
|
+
"items": {
|
|
17265
|
+
"$ref": "DeviceBoundSessionUrlRule"
|
|
17266
|
+
}
|
|
17267
|
+
}
|
|
17268
|
+
]
|
|
17269
|
+
},
|
|
17270
|
+
{
|
|
17271
|
+
"id": "DeviceBoundSession",
|
|
17272
|
+
"description": "A device bound session.",
|
|
17273
|
+
"experimental": true,
|
|
17274
|
+
"type": "object",
|
|
17275
|
+
"properties": [
|
|
17276
|
+
{
|
|
17277
|
+
"name": "key",
|
|
17278
|
+
"description": "The site and session ID of the session.",
|
|
17279
|
+
"$ref": "DeviceBoundSessionKey"
|
|
17280
|
+
},
|
|
17281
|
+
{
|
|
17282
|
+
"name": "refreshUrl",
|
|
17283
|
+
"description": "See comments on `net::device_bound_sessions::Session::refresh_url_`.",
|
|
17284
|
+
"type": "string"
|
|
17285
|
+
},
|
|
17286
|
+
{
|
|
17287
|
+
"name": "inclusionRules",
|
|
17288
|
+
"description": "See comments on `net::device_bound_sessions::Session::inclusion_rules_`.",
|
|
17289
|
+
"$ref": "DeviceBoundSessionInclusionRules"
|
|
17290
|
+
},
|
|
17291
|
+
{
|
|
17292
|
+
"name": "cookieCravings",
|
|
17293
|
+
"description": "See comments on `net::device_bound_sessions::Session::cookie_cravings_`.",
|
|
17294
|
+
"type": "array",
|
|
17295
|
+
"items": {
|
|
17296
|
+
"$ref": "DeviceBoundSessionCookieCraving"
|
|
17297
|
+
}
|
|
17298
|
+
},
|
|
17299
|
+
{
|
|
17300
|
+
"name": "expiryDate",
|
|
17301
|
+
"description": "See comments on `net::device_bound_sessions::Session::expiry_date_`.",
|
|
17302
|
+
"$ref": "Network.TimeSinceEpoch"
|
|
17303
|
+
},
|
|
17304
|
+
{
|
|
17305
|
+
"name": "cachedChallenge",
|
|
17306
|
+
"description": "See comments on `net::device_bound_sessions::Session::cached_challenge__`.",
|
|
17307
|
+
"optional": true,
|
|
17308
|
+
"type": "string"
|
|
17309
|
+
},
|
|
17310
|
+
{
|
|
17311
|
+
"name": "allowedRefreshInitiators",
|
|
17312
|
+
"description": "See comments on `net::device_bound_sessions::Session::allowed_refresh_initiators_`.",
|
|
17313
|
+
"type": "array",
|
|
17314
|
+
"items": {
|
|
17315
|
+
"type": "string"
|
|
17316
|
+
}
|
|
17317
|
+
}
|
|
17318
|
+
]
|
|
17319
|
+
},
|
|
17160
17320
|
{
|
|
17161
17321
|
"id": "LoadNetworkResourcePageResult",
|
|
17162
17322
|
"description": "An object providing the result of a network resource load.",
|
|
@@ -18026,6 +18186,37 @@
|
|
|
18026
18186
|
}
|
|
18027
18187
|
]
|
|
18028
18188
|
},
|
|
18189
|
+
{
|
|
18190
|
+
"name": "enableDeviceBoundSessions",
|
|
18191
|
+
"description": "Sets up tracking device bound sessions and fetching of initial set of sessions.",
|
|
18192
|
+
"experimental": true,
|
|
18193
|
+
"parameters": [
|
|
18194
|
+
{
|
|
18195
|
+
"name": "enable",
|
|
18196
|
+
"description": "Whether to enable or disable events.",
|
|
18197
|
+
"type": "boolean"
|
|
18198
|
+
}
|
|
18199
|
+
]
|
|
18200
|
+
},
|
|
18201
|
+
{
|
|
18202
|
+
"name": "fetchSchemefulSite",
|
|
18203
|
+
"description": "Fetches the schemeful site for a specific origin.",
|
|
18204
|
+
"experimental": true,
|
|
18205
|
+
"parameters": [
|
|
18206
|
+
{
|
|
18207
|
+
"name": "origin",
|
|
18208
|
+
"description": "The URL origin.",
|
|
18209
|
+
"type": "string"
|
|
18210
|
+
}
|
|
18211
|
+
],
|
|
18212
|
+
"returns": [
|
|
18213
|
+
{
|
|
18214
|
+
"name": "schemefulSite",
|
|
18215
|
+
"description": "The corresponding schemeful site.",
|
|
18216
|
+
"type": "string"
|
|
18217
|
+
}
|
|
18218
|
+
]
|
|
18219
|
+
},
|
|
18029
18220
|
{
|
|
18030
18221
|
"name": "loadNetworkResource",
|
|
18031
18222
|
"description": "Fetches the resource and returns the content.",
|
|
@@ -19184,6 +19375,21 @@
|
|
|
19184
19375
|
}
|
|
19185
19376
|
}
|
|
19186
19377
|
]
|
|
19378
|
+
},
|
|
19379
|
+
{
|
|
19380
|
+
"name": "deviceBoundSessionsAdded",
|
|
19381
|
+
"description": "Triggered when the initial set of device bound sessions is added.",
|
|
19382
|
+
"experimental": true,
|
|
19383
|
+
"parameters": [
|
|
19384
|
+
{
|
|
19385
|
+
"name": "sessions",
|
|
19386
|
+
"description": "The device bound sessions.",
|
|
19387
|
+
"type": "array",
|
|
19388
|
+
"items": {
|
|
19389
|
+
"$ref": "DeviceBoundSession"
|
|
19390
|
+
}
|
|
19391
|
+
}
|
|
19392
|
+
]
|
|
19187
19393
|
}
|
|
19188
19394
|
]
|
|
19189
19395
|
},
|
package/package.json
CHANGED
package/pdl/domains/Network.pdl
CHANGED
|
@@ -2057,6 +2057,93 @@ domain Network
|
|
|
2057
2057
|
string origin
|
|
2058
2058
|
array of ReportingApiEndpoint endpoints
|
|
2059
2059
|
|
|
2060
|
+
# Unique identifier for a device bound session.
|
|
2061
|
+
experimental type DeviceBoundSessionKey extends object
|
|
2062
|
+
properties
|
|
2063
|
+
# The site the session is set up for.
|
|
2064
|
+
string site
|
|
2065
|
+
# The id of the session.
|
|
2066
|
+
string id
|
|
2067
|
+
|
|
2068
|
+
# A device bound session's cookie craving.
|
|
2069
|
+
experimental type DeviceBoundSessionCookieCraving extends object
|
|
2070
|
+
properties
|
|
2071
|
+
# The name of the craving.
|
|
2072
|
+
string name
|
|
2073
|
+
# The domain of the craving.
|
|
2074
|
+
string domain
|
|
2075
|
+
# The path of the craving.
|
|
2076
|
+
string path
|
|
2077
|
+
# The `Secure` attribute of the craving attributes.
|
|
2078
|
+
boolean secure
|
|
2079
|
+
# The `HttpOnly` attribute of the craving attributes.
|
|
2080
|
+
boolean httpOnly
|
|
2081
|
+
# The `SameSite` attribute of the craving attributes.
|
|
2082
|
+
optional CookieSameSite sameSite
|
|
2083
|
+
|
|
2084
|
+
# A device bound session's inclusion URL rule.
|
|
2085
|
+
experimental type DeviceBoundSessionUrlRule extends object
|
|
2086
|
+
properties
|
|
2087
|
+
# See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type`.
|
|
2088
|
+
enum ruleType
|
|
2089
|
+
Exclude
|
|
2090
|
+
Include
|
|
2091
|
+
# See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern`.
|
|
2092
|
+
string hostPattern
|
|
2093
|
+
# See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix`.
|
|
2094
|
+
string pathPrefix
|
|
2095
|
+
|
|
2096
|
+
# A device bound session's inclusion rules.
|
|
2097
|
+
experimental type DeviceBoundSessionInclusionRules extends object
|
|
2098
|
+
properties
|
|
2099
|
+
# See comments on `net::device_bound_sessions::SessionInclusionRules::origin_`.
|
|
2100
|
+
string origin
|
|
2101
|
+
# Whether the whole site is included. See comments on
|
|
2102
|
+
# `net::device_bound_sessions::SessionInclusionRules::include_site_` for more
|
|
2103
|
+
# details; this boolean is true if that value is populated.
|
|
2104
|
+
boolean includeSite
|
|
2105
|
+
# See comments on `net::device_bound_sessions::SessionInclusionRules::url_rules_`.
|
|
2106
|
+
array of DeviceBoundSessionUrlRule urlRules
|
|
2107
|
+
|
|
2108
|
+
# A device bound session.
|
|
2109
|
+
experimental type DeviceBoundSession extends object
|
|
2110
|
+
properties
|
|
2111
|
+
# The site and session ID of the session.
|
|
2112
|
+
DeviceBoundSessionKey key
|
|
2113
|
+
# See comments on `net::device_bound_sessions::Session::refresh_url_`.
|
|
2114
|
+
string refreshUrl
|
|
2115
|
+
# See comments on `net::device_bound_sessions::Session::inclusion_rules_`.
|
|
2116
|
+
DeviceBoundSessionInclusionRules inclusionRules
|
|
2117
|
+
# See comments on `net::device_bound_sessions::Session::cookie_cravings_`.
|
|
2118
|
+
array of DeviceBoundSessionCookieCraving cookieCravings
|
|
2119
|
+
# See comments on `net::device_bound_sessions::Session::expiry_date_`.
|
|
2120
|
+
Network.TimeSinceEpoch expiryDate
|
|
2121
|
+
# See comments on `net::device_bound_sessions::Session::cached_challenge__`.
|
|
2122
|
+
optional string cachedChallenge
|
|
2123
|
+
# See comments on `net::device_bound_sessions::Session::allowed_refresh_initiators_`.
|
|
2124
|
+
array of string allowedRefreshInitiators
|
|
2125
|
+
|
|
2126
|
+
# Triggered when the initial set of device bound sessions is added.
|
|
2127
|
+
experimental event deviceBoundSessionsAdded
|
|
2128
|
+
parameters
|
|
2129
|
+
# The device bound sessions.
|
|
2130
|
+
array of DeviceBoundSession sessions
|
|
2131
|
+
|
|
2132
|
+
# Sets up tracking device bound sessions and fetching of initial set of sessions.
|
|
2133
|
+
experimental command enableDeviceBoundSessions
|
|
2134
|
+
parameters
|
|
2135
|
+
# Whether to enable or disable events.
|
|
2136
|
+
boolean enable
|
|
2137
|
+
|
|
2138
|
+
# Fetches the schemeful site for a specific origin.
|
|
2139
|
+
experimental command fetchSchemefulSite
|
|
2140
|
+
parameters
|
|
2141
|
+
# The URL origin.
|
|
2142
|
+
string origin
|
|
2143
|
+
returns
|
|
2144
|
+
# The corresponding schemeful site.
|
|
2145
|
+
string schemefulSite
|
|
2146
|
+
|
|
2060
2147
|
# An object providing the result of a network resource load.
|
|
2061
2148
|
experimental type LoadNetworkResourcePageResult extends object
|
|
2062
2149
|
properties
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c)
|
|
1
|
+
// Copyright (c) 2026 The Chromium Authors. All rights reserved.
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
@@ -582,6 +582,11 @@ export namespace ProtocolMapping {
|
|
|
582
582
|
* @experimental
|
|
583
583
|
*/
|
|
584
584
|
'Network.reportingApiEndpointsChangedForOrigin': [Protocol.Network.ReportingApiEndpointsChangedForOriginEvent];
|
|
585
|
+
/**
|
|
586
|
+
* Triggered when the initial set of device bound sessions is added.
|
|
587
|
+
* @experimental
|
|
588
|
+
*/
|
|
589
|
+
'Network.deviceBoundSessionsAdded': [Protocol.Network.DeviceBoundSessionsAddedEvent];
|
|
585
590
|
/**
|
|
586
591
|
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
|
587
592
|
* user manually inspects an element.
|
|
@@ -4359,6 +4364,22 @@ export namespace ProtocolMapping {
|
|
|
4359
4364
|
paramsType: [Protocol.Network.EnableReportingApiRequest];
|
|
4360
4365
|
returnType: void;
|
|
4361
4366
|
};
|
|
4367
|
+
/**
|
|
4368
|
+
* Sets up tracking device bound sessions and fetching of initial set of sessions.
|
|
4369
|
+
* @experimental
|
|
4370
|
+
*/
|
|
4371
|
+
'Network.enableDeviceBoundSessions': {
|
|
4372
|
+
paramsType: [Protocol.Network.EnableDeviceBoundSessionsRequest];
|
|
4373
|
+
returnType: void;
|
|
4374
|
+
};
|
|
4375
|
+
/**
|
|
4376
|
+
* Fetches the schemeful site for a specific origin.
|
|
4377
|
+
* @experimental
|
|
4378
|
+
*/
|
|
4379
|
+
'Network.fetchSchemefulSite': {
|
|
4380
|
+
paramsType: [Protocol.Network.FetchSchemefulSiteRequest];
|
|
4381
|
+
returnType: Protocol.Network.FetchSchemefulSiteResponse;
|
|
4382
|
+
};
|
|
4362
4383
|
/**
|
|
4363
4384
|
* Fetches the resource and returns the content.
|
|
4364
4385
|
* @experimental
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c)
|
|
1
|
+
// Copyright (c) 2026 The Chromium Authors. All rights reserved.
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
@@ -3193,6 +3193,18 @@ export namespace ProtocolProxyApi {
|
|
|
3193
3193
|
*/
|
|
3194
3194
|
enableReportingApi(params: Protocol.Network.EnableReportingApiRequest): Promise<void>;
|
|
3195
3195
|
|
|
3196
|
+
/**
|
|
3197
|
+
* Sets up tracking device bound sessions and fetching of initial set of sessions.
|
|
3198
|
+
* @experimental
|
|
3199
|
+
*/
|
|
3200
|
+
enableDeviceBoundSessions(params: Protocol.Network.EnableDeviceBoundSessionsRequest): Promise<void>;
|
|
3201
|
+
|
|
3202
|
+
/**
|
|
3203
|
+
* Fetches the schemeful site for a specific origin.
|
|
3204
|
+
* @experimental
|
|
3205
|
+
*/
|
|
3206
|
+
fetchSchemefulSite(params: Protocol.Network.FetchSchemefulSiteRequest): Promise<Protocol.Network.FetchSchemefulSiteResponse>;
|
|
3207
|
+
|
|
3196
3208
|
/**
|
|
3197
3209
|
* Fetches the resource and returns the content.
|
|
3198
3210
|
* @experimental
|
|
@@ -3451,6 +3463,12 @@ export namespace ProtocolProxyApi {
|
|
|
3451
3463
|
*/
|
|
3452
3464
|
on(event: 'reportingApiEndpointsChangedForOrigin', listener: (params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent) => void): void;
|
|
3453
3465
|
|
|
3466
|
+
/**
|
|
3467
|
+
* Triggered when the initial set of device bound sessions is added.
|
|
3468
|
+
* @experimental
|
|
3469
|
+
*/
|
|
3470
|
+
on(event: 'deviceBoundSessionsAdded', listener: (params: Protocol.Network.DeviceBoundSessionsAddedEvent) => void): void;
|
|
3471
|
+
|
|
3454
3472
|
}
|
|
3455
3473
|
|
|
3456
3474
|
export interface OverlayApi {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c)
|
|
1
|
+
// Copyright (c) 2026 The Chromium Authors. All rights reserved.
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
@@ -3365,6 +3365,18 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3365
3365
|
*/
|
|
3366
3366
|
enableReportingApi(params: Protocol.Network.EnableReportingApiRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3367
3367
|
|
|
3368
|
+
/**
|
|
3369
|
+
* Sets up tracking device bound sessions and fetching of initial set of sessions.
|
|
3370
|
+
* @experimental
|
|
3371
|
+
*/
|
|
3372
|
+
enableDeviceBoundSessions(params: Protocol.Network.EnableDeviceBoundSessionsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3373
|
+
|
|
3374
|
+
/**
|
|
3375
|
+
* Fetches the schemeful site for a specific origin.
|
|
3376
|
+
* @experimental
|
|
3377
|
+
*/
|
|
3378
|
+
fetchSchemefulSite(params: Protocol.Network.FetchSchemefulSiteRequest): Promise<{id: number, result: Protocol.Network.FetchSchemefulSiteResponse, sessionId: string}>;
|
|
3379
|
+
|
|
3368
3380
|
/**
|
|
3369
3381
|
* Fetches the resource and returns the content.
|
|
3370
3382
|
* @experimental
|
|
@@ -3707,6 +3719,14 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3707
3719
|
offReportingApiEndpointsChangedForOrigin(listener: (event: { params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent }) => void): void;
|
|
3708
3720
|
onceReportingApiEndpointsChangedForOrigin(eventMatcher?: (event: { params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent }) => boolean): Promise<{ params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent }>;
|
|
3709
3721
|
|
|
3722
|
+
/**
|
|
3723
|
+
* Triggered when the initial set of device bound sessions is added.
|
|
3724
|
+
* @experimental
|
|
3725
|
+
*/
|
|
3726
|
+
onDeviceBoundSessionsAdded(listener: (event: { params: Protocol.Network.DeviceBoundSessionsAddedEvent }) => void): void;
|
|
3727
|
+
offDeviceBoundSessionsAdded(listener: (event: { params: Protocol.Network.DeviceBoundSessionsAddedEvent }) => void): void;
|
|
3728
|
+
onceDeviceBoundSessionsAdded(eventMatcher?: (event: { params: Protocol.Network.DeviceBoundSessionsAddedEvent }) => boolean): Promise<{ params: Protocol.Network.DeviceBoundSessionsAddedEvent }>;
|
|
3729
|
+
|
|
3710
3730
|
}
|
|
3711
3731
|
|
|
3712
3732
|
export interface OverlayApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c)
|
|
1
|
+
// Copyright (c) 2026 The Chromium Authors. All rights reserved.
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
@@ -13540,6 +13540,132 @@ export namespace Protocol {
|
|
|
13540
13540
|
groupName: string;
|
|
13541
13541
|
}
|
|
13542
13542
|
|
|
13543
|
+
/**
|
|
13544
|
+
* Unique identifier for a device bound session.
|
|
13545
|
+
* @experimental
|
|
13546
|
+
*/
|
|
13547
|
+
export interface DeviceBoundSessionKey {
|
|
13548
|
+
/**
|
|
13549
|
+
* The site the session is set up for.
|
|
13550
|
+
*/
|
|
13551
|
+
site: string;
|
|
13552
|
+
/**
|
|
13553
|
+
* The id of the session.
|
|
13554
|
+
*/
|
|
13555
|
+
id: string;
|
|
13556
|
+
}
|
|
13557
|
+
|
|
13558
|
+
/**
|
|
13559
|
+
* A device bound session's cookie craving.
|
|
13560
|
+
* @experimental
|
|
13561
|
+
*/
|
|
13562
|
+
export interface DeviceBoundSessionCookieCraving {
|
|
13563
|
+
/**
|
|
13564
|
+
* The name of the craving.
|
|
13565
|
+
*/
|
|
13566
|
+
name: string;
|
|
13567
|
+
/**
|
|
13568
|
+
* The domain of the craving.
|
|
13569
|
+
*/
|
|
13570
|
+
domain: string;
|
|
13571
|
+
/**
|
|
13572
|
+
* The path of the craving.
|
|
13573
|
+
*/
|
|
13574
|
+
path: string;
|
|
13575
|
+
/**
|
|
13576
|
+
* The `Secure` attribute of the craving attributes.
|
|
13577
|
+
*/
|
|
13578
|
+
secure: boolean;
|
|
13579
|
+
/**
|
|
13580
|
+
* The `HttpOnly` attribute of the craving attributes.
|
|
13581
|
+
*/
|
|
13582
|
+
httpOnly: boolean;
|
|
13583
|
+
/**
|
|
13584
|
+
* The `SameSite` attribute of the craving attributes.
|
|
13585
|
+
*/
|
|
13586
|
+
sameSite?: CookieSameSite;
|
|
13587
|
+
}
|
|
13588
|
+
|
|
13589
|
+
export const enum DeviceBoundSessionUrlRuleRuleType {
|
|
13590
|
+
Exclude = 'Exclude',
|
|
13591
|
+
Include = 'Include',
|
|
13592
|
+
}
|
|
13593
|
+
|
|
13594
|
+
/**
|
|
13595
|
+
* A device bound session's inclusion URL rule.
|
|
13596
|
+
* @experimental
|
|
13597
|
+
*/
|
|
13598
|
+
export interface DeviceBoundSessionUrlRule {
|
|
13599
|
+
/**
|
|
13600
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type`.
|
|
13601
|
+
*/
|
|
13602
|
+
ruleType: ('Exclude' | 'Include');
|
|
13603
|
+
/**
|
|
13604
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern`.
|
|
13605
|
+
*/
|
|
13606
|
+
hostPattern: string;
|
|
13607
|
+
/**
|
|
13608
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix`.
|
|
13609
|
+
*/
|
|
13610
|
+
pathPrefix: string;
|
|
13611
|
+
}
|
|
13612
|
+
|
|
13613
|
+
/**
|
|
13614
|
+
* A device bound session's inclusion rules.
|
|
13615
|
+
* @experimental
|
|
13616
|
+
*/
|
|
13617
|
+
export interface DeviceBoundSessionInclusionRules {
|
|
13618
|
+
/**
|
|
13619
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::origin_`.
|
|
13620
|
+
*/
|
|
13621
|
+
origin: string;
|
|
13622
|
+
/**
|
|
13623
|
+
* Whether the whole site is included. See comments on
|
|
13624
|
+
* `net::device_bound_sessions::SessionInclusionRules::include_site_` for more
|
|
13625
|
+
* details; this boolean is true if that value is populated.
|
|
13626
|
+
*/
|
|
13627
|
+
includeSite: boolean;
|
|
13628
|
+
/**
|
|
13629
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::url_rules_`.
|
|
13630
|
+
*/
|
|
13631
|
+
urlRules: DeviceBoundSessionUrlRule[];
|
|
13632
|
+
}
|
|
13633
|
+
|
|
13634
|
+
/**
|
|
13635
|
+
* A device bound session.
|
|
13636
|
+
* @experimental
|
|
13637
|
+
*/
|
|
13638
|
+
export interface DeviceBoundSession {
|
|
13639
|
+
/**
|
|
13640
|
+
* The site and session ID of the session.
|
|
13641
|
+
*/
|
|
13642
|
+
key: DeviceBoundSessionKey;
|
|
13643
|
+
/**
|
|
13644
|
+
* See comments on `net::device_bound_sessions::Session::refresh_url_`.
|
|
13645
|
+
*/
|
|
13646
|
+
refreshUrl: string;
|
|
13647
|
+
/**
|
|
13648
|
+
* See comments on `net::device_bound_sessions::Session::inclusion_rules_`.
|
|
13649
|
+
*/
|
|
13650
|
+
inclusionRules: DeviceBoundSessionInclusionRules;
|
|
13651
|
+
/**
|
|
13652
|
+
* See comments on `net::device_bound_sessions::Session::cookie_cravings_`.
|
|
13653
|
+
*/
|
|
13654
|
+
cookieCravings: DeviceBoundSessionCookieCraving[];
|
|
13655
|
+
/**
|
|
13656
|
+
* See comments on `net::device_bound_sessions::Session::expiry_date_`.
|
|
13657
|
+
*/
|
|
13658
|
+
expiryDate: Network.TimeSinceEpoch;
|
|
13659
|
+
/**
|
|
13660
|
+
* See comments on `net::device_bound_sessions::Session::cached_challenge__`.
|
|
13661
|
+
*/
|
|
13662
|
+
cachedChallenge?: string;
|
|
13663
|
+
/**
|
|
13664
|
+
* See comments on `net::device_bound_sessions::Session::allowed_refresh_initiators_`.
|
|
13665
|
+
*/
|
|
13666
|
+
allowedRefreshInitiators: string[];
|
|
13667
|
+
}
|
|
13668
|
+
|
|
13543
13669
|
/**
|
|
13544
13670
|
* An object providing the result of a network resource load.
|
|
13545
13671
|
* @experimental
|
|
@@ -14096,6 +14222,27 @@ export namespace Protocol {
|
|
|
14096
14222
|
enable: boolean;
|
|
14097
14223
|
}
|
|
14098
14224
|
|
|
14225
|
+
export interface EnableDeviceBoundSessionsRequest {
|
|
14226
|
+
/**
|
|
14227
|
+
* Whether to enable or disable events.
|
|
14228
|
+
*/
|
|
14229
|
+
enable: boolean;
|
|
14230
|
+
}
|
|
14231
|
+
|
|
14232
|
+
export interface FetchSchemefulSiteRequest {
|
|
14233
|
+
/**
|
|
14234
|
+
* The URL origin.
|
|
14235
|
+
*/
|
|
14236
|
+
origin: string;
|
|
14237
|
+
}
|
|
14238
|
+
|
|
14239
|
+
export interface FetchSchemefulSiteResponse {
|
|
14240
|
+
/**
|
|
14241
|
+
* The corresponding schemeful site.
|
|
14242
|
+
*/
|
|
14243
|
+
schemefulSite: string;
|
|
14244
|
+
}
|
|
14245
|
+
|
|
14099
14246
|
export interface LoadNetworkResourceRequest {
|
|
14100
14247
|
/**
|
|
14101
14248
|
* Frame id to get the resource for. Mandatory for frame targets, and
|
|
@@ -14967,6 +15114,17 @@ export namespace Protocol {
|
|
|
14967
15114
|
origin: string;
|
|
14968
15115
|
endpoints: ReportingApiEndpoint[];
|
|
14969
15116
|
}
|
|
15117
|
+
|
|
15118
|
+
/**
|
|
15119
|
+
* Triggered when the initial set of device bound sessions is added.
|
|
15120
|
+
* @experimental
|
|
15121
|
+
*/
|
|
15122
|
+
export interface DeviceBoundSessionsAddedEvent {
|
|
15123
|
+
/**
|
|
15124
|
+
* The device bound sessions.
|
|
15125
|
+
*/
|
|
15126
|
+
sessions: DeviceBoundSession[];
|
|
15127
|
+
}
|
|
14970
15128
|
}
|
|
14971
15129
|
|
|
14972
15130
|
/**
|