devtools-protocol 0.0.1608973 → 0.0.1612613
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.
- package/json/browser_protocol.json +15 -42
- package/package.json +1 -1
- package/pdl/domains/Network.pdl +7 -8
- package/pdl/domains/Page.pdl +0 -1
- package/pdl/domains/Storage.pdl +0 -15
- package/types/protocol-mapping.d.ts +0 -10
- package/types/protocol-proxy-api.d.ts +0 -8
- package/types/protocol-tests-proxy-api.d.ts +0 -8
- package/types/protocol.d.ts +13 -30
|
@@ -17096,6 +17096,12 @@
|
|
|
17096
17096
|
"description": "WebRTC packetReordering feature.",
|
|
17097
17097
|
"optional": true,
|
|
17098
17098
|
"type": "boolean"
|
|
17099
|
+
},
|
|
17100
|
+
{
|
|
17101
|
+
"name": "offline",
|
|
17102
|
+
"description": "True to emulate internet disconnection.",
|
|
17103
|
+
"optional": true,
|
|
17104
|
+
"type": "boolean"
|
|
17099
17105
|
}
|
|
17100
17106
|
]
|
|
17101
17107
|
},
|
|
@@ -18268,7 +18274,15 @@
|
|
|
18268
18274
|
"parameters": [
|
|
18269
18275
|
{
|
|
18270
18276
|
"name": "offline",
|
|
18271
|
-
"description": "True to emulate internet disconnection.",
|
|
18277
|
+
"description": "True to emulate internet disconnection. Deprecated, use the offline property in matchedNetworkConditions\nor emulateOfflineServiceWorker instead.",
|
|
18278
|
+
"deprecated": true,
|
|
18279
|
+
"optional": true,
|
|
18280
|
+
"type": "boolean"
|
|
18281
|
+
},
|
|
18282
|
+
{
|
|
18283
|
+
"name": "emulateOfflineServiceWorker",
|
|
18284
|
+
"description": "True to emulate offline service worker.",
|
|
18285
|
+
"optional": true,
|
|
18272
18286
|
"type": "boolean"
|
|
18273
18287
|
},
|
|
18274
18288
|
{
|
|
@@ -18927,16 +18941,6 @@
|
|
|
18927
18941
|
"name": "enableThirdPartyCookieRestriction",
|
|
18928
18942
|
"description": "Whether 3pc restriction is enabled.",
|
|
18929
18943
|
"type": "boolean"
|
|
18930
|
-
},
|
|
18931
|
-
{
|
|
18932
|
-
"name": "disableThirdPartyCookieMetadata",
|
|
18933
|
-
"description": "Whether 3pc grace period exception should be enabled; false by default.",
|
|
18934
|
-
"type": "boolean"
|
|
18935
|
-
},
|
|
18936
|
-
{
|
|
18937
|
-
"name": "disableThirdPartyCookieHeuristics",
|
|
18938
|
-
"description": "Whether 3pc heuristics exceptions should be enabled; false by default.",
|
|
18939
|
-
"type": "boolean"
|
|
18940
18944
|
}
|
|
18941
18945
|
]
|
|
18942
18946
|
}
|
|
@@ -21641,7 +21645,6 @@
|
|
|
21641
21645
|
"encrypted-media",
|
|
21642
21646
|
"execution-while-out-of-viewport",
|
|
21643
21647
|
"execution-while-not-rendered",
|
|
21644
|
-
"fenced-unpartitioned-storage-read",
|
|
21645
21648
|
"focus-without-user-activation",
|
|
21646
21649
|
"fullscreen",
|
|
21647
21650
|
"frobulate",
|
|
@@ -28014,36 +28017,6 @@
|
|
|
28014
28017
|
}
|
|
28015
28018
|
]
|
|
28016
28019
|
},
|
|
28017
|
-
{
|
|
28018
|
-
"name": "getAffectedUrlsForThirdPartyCookieMetadata",
|
|
28019
|
-
"description": "Returns the list of URLs from a page and its embedded resources that match\nexisting grace period URL pattern rules.\nhttps://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period",
|
|
28020
|
-
"experimental": true,
|
|
28021
|
-
"parameters": [
|
|
28022
|
-
{
|
|
28023
|
-
"name": "firstPartyUrl",
|
|
28024
|
-
"description": "The URL of the page currently being visited.",
|
|
28025
|
-
"type": "string"
|
|
28026
|
-
},
|
|
28027
|
-
{
|
|
28028
|
-
"name": "thirdPartyUrls",
|
|
28029
|
-
"description": "The list of embedded resource URLs from the page.",
|
|
28030
|
-
"type": "array",
|
|
28031
|
-
"items": {
|
|
28032
|
-
"type": "string"
|
|
28033
|
-
}
|
|
28034
|
-
}
|
|
28035
|
-
],
|
|
28036
|
-
"returns": [
|
|
28037
|
-
{
|
|
28038
|
-
"name": "matchedUrls",
|
|
28039
|
-
"description": "Array of matching URLs. If there is a primary pattern match for the first-\nparty URL, only the first-party URL is returned in the array.",
|
|
28040
|
-
"type": "array",
|
|
28041
|
-
"items": {
|
|
28042
|
-
"type": "string"
|
|
28043
|
-
}
|
|
28044
|
-
}
|
|
28045
|
-
]
|
|
28046
|
-
},
|
|
28047
28020
|
{
|
|
28048
28021
|
"name": "setProtectedAudienceKAnonymity",
|
|
28049
28022
|
"parameters": [
|
package/package.json
CHANGED
package/pdl/domains/Network.pdl
CHANGED
|
@@ -1057,6 +1057,8 @@ domain Network
|
|
|
1057
1057
|
optional integer packetQueueLength
|
|
1058
1058
|
# WebRTC packetReordering feature.
|
|
1059
1059
|
optional boolean packetReordering
|
|
1060
|
+
# True to emulate internet disconnection.
|
|
1061
|
+
optional boolean offline
|
|
1060
1062
|
|
|
1061
1063
|
# Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule
|
|
1062
1064
|
# and overrideNetworkState commands, which can be used together to the same effect.
|
|
@@ -1084,8 +1086,11 @@ domain Network
|
|
|
1084
1086
|
# explicitly modify `navigator` behavior.
|
|
1085
1087
|
experimental command emulateNetworkConditionsByRule
|
|
1086
1088
|
parameters
|
|
1087
|
-
# True to emulate internet disconnection.
|
|
1088
|
-
|
|
1089
|
+
# True to emulate internet disconnection. Deprecated, use the offline property in matchedNetworkConditions
|
|
1090
|
+
# or emulateOfflineServiceWorker instead.
|
|
1091
|
+
deprecated optional boolean offline
|
|
1092
|
+
# True to emulate offline service worker.
|
|
1093
|
+
optional boolean emulateOfflineServiceWorker
|
|
1089
1094
|
# Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global
|
|
1090
1095
|
# conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are
|
|
1091
1096
|
# also applied for throttling of p2p connections.
|
|
@@ -2377,9 +2382,3 @@ domain Network
|
|
|
2377
2382
|
parameters
|
|
2378
2383
|
# Whether 3pc restriction is enabled.
|
|
2379
2384
|
boolean enableThirdPartyCookieRestriction
|
|
2380
|
-
|
|
2381
|
-
# Whether 3pc grace period exception should be enabled; false by default.
|
|
2382
|
-
boolean disableThirdPartyCookieMetadata
|
|
2383
|
-
|
|
2384
|
-
# Whether 3pc heuristics exceptions should be enabled; false by default.
|
|
2385
|
-
boolean disableThirdPartyCookieHeuristics
|
package/pdl/domains/Page.pdl
CHANGED
package/pdl/domains/Storage.pdl
CHANGED
|
@@ -622,21 +622,6 @@ experimental domain Storage
|
|
|
622
622
|
returns
|
|
623
623
|
array of RelatedWebsiteSet sets
|
|
624
624
|
|
|
625
|
-
# Returns the list of URLs from a page and its embedded resources that match
|
|
626
|
-
# existing grace period URL pattern rules.
|
|
627
|
-
# https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
|
|
628
|
-
experimental command getAffectedUrlsForThirdPartyCookieMetadata
|
|
629
|
-
parameters
|
|
630
|
-
# The URL of the page currently being visited.
|
|
631
|
-
string firstPartyUrl
|
|
632
|
-
# The list of embedded resource URLs from the page.
|
|
633
|
-
array of string thirdPartyUrls
|
|
634
|
-
|
|
635
|
-
returns
|
|
636
|
-
# Array of matching URLs. If there is a primary pattern match for the first-
|
|
637
|
-
# party URL, only the first-party URL is returned in the array.
|
|
638
|
-
array of string matchedUrls
|
|
639
|
-
|
|
640
625
|
command setProtectedAudienceKAnonymity
|
|
641
626
|
parameters
|
|
642
627
|
string owner
|
|
@@ -5922,16 +5922,6 @@ export namespace ProtocolMapping {
|
|
|
5922
5922
|
paramsType: [];
|
|
5923
5923
|
returnType: Protocol.Storage.GetRelatedWebsiteSetsResponse;
|
|
5924
5924
|
};
|
|
5925
|
-
/**
|
|
5926
|
-
* Returns the list of URLs from a page and its embedded resources that match
|
|
5927
|
-
* existing grace period URL pattern rules.
|
|
5928
|
-
* https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
|
|
5929
|
-
* @experimental
|
|
5930
|
-
*/
|
|
5931
|
-
'Storage.getAffectedUrlsForThirdPartyCookieMetadata': {
|
|
5932
|
-
paramsType: [Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest];
|
|
5933
|
-
returnType: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse;
|
|
5934
|
-
};
|
|
5935
5925
|
'Storage.setProtectedAudienceKAnonymity': {
|
|
5936
5926
|
paramsType: [Protocol.Storage.SetProtectedAudienceKAnonymityRequest];
|
|
5937
5927
|
returnType: void;
|
|
@@ -4961,14 +4961,6 @@ export namespace ProtocolProxyApi {
|
|
|
4961
4961
|
*/
|
|
4962
4962
|
getRelatedWebsiteSets(): Promise<Protocol.Storage.GetRelatedWebsiteSetsResponse>;
|
|
4963
4963
|
|
|
4964
|
-
/**
|
|
4965
|
-
* Returns the list of URLs from a page and its embedded resources that match
|
|
4966
|
-
* existing grace period URL pattern rules.
|
|
4967
|
-
* https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
|
|
4968
|
-
* @experimental
|
|
4969
|
-
*/
|
|
4970
|
-
getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse>;
|
|
4971
|
-
|
|
4972
4964
|
setProtectedAudienceKAnonymity(params: Protocol.Storage.SetProtectedAudienceKAnonymityRequest): Promise<void>;
|
|
4973
4965
|
|
|
4974
4966
|
/**
|
|
@@ -5349,14 +5349,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5349
5349
|
*/
|
|
5350
5350
|
getRelatedWebsiteSets(): Promise<{id: number, result: Protocol.Storage.GetRelatedWebsiteSetsResponse, sessionId: string}>;
|
|
5351
5351
|
|
|
5352
|
-
/**
|
|
5353
|
-
* Returns the list of URLs from a page and its embedded resources that match
|
|
5354
|
-
* existing grace period URL pattern rules.
|
|
5355
|
-
* https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
|
|
5356
|
-
* @experimental
|
|
5357
|
-
*/
|
|
5358
|
-
getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<{id: number, result: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse, sessionId: string}>;
|
|
5359
|
-
|
|
5360
5352
|
setProtectedAudienceKAnonymity(params: Protocol.Storage.SetProtectedAudienceKAnonymityRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5361
5353
|
|
|
5362
5354
|
/**
|
package/types/protocol.d.ts
CHANGED
|
@@ -13544,6 +13544,10 @@ export namespace Protocol {
|
|
|
13544
13544
|
* WebRTC packetReordering feature.
|
|
13545
13545
|
*/
|
|
13546
13546
|
packetReordering?: boolean;
|
|
13547
|
+
/**
|
|
13548
|
+
* True to emulate internet disconnection.
|
|
13549
|
+
*/
|
|
13550
|
+
offline?: boolean;
|
|
13547
13551
|
}
|
|
13548
13552
|
|
|
13549
13553
|
/**
|
|
@@ -14297,9 +14301,15 @@ export namespace Protocol {
|
|
|
14297
14301
|
|
|
14298
14302
|
export interface EmulateNetworkConditionsByRuleRequest {
|
|
14299
14303
|
/**
|
|
14300
|
-
* True to emulate internet disconnection.
|
|
14304
|
+
* True to emulate internet disconnection. Deprecated, use the offline property in matchedNetworkConditions
|
|
14305
|
+
* or emulateOfflineServiceWorker instead.
|
|
14306
|
+
* @deprecated
|
|
14301
14307
|
*/
|
|
14302
|
-
offline
|
|
14308
|
+
offline?: boolean;
|
|
14309
|
+
/**
|
|
14310
|
+
* True to emulate offline service worker.
|
|
14311
|
+
*/
|
|
14312
|
+
emulateOfflineServiceWorker?: boolean;
|
|
14303
14313
|
/**
|
|
14304
14314
|
* Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global
|
|
14305
14315
|
* conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are
|
|
@@ -14736,14 +14746,6 @@ export namespace Protocol {
|
|
|
14736
14746
|
* Whether 3pc restriction is enabled.
|
|
14737
14747
|
*/
|
|
14738
14748
|
enableThirdPartyCookieRestriction: boolean;
|
|
14739
|
-
/**
|
|
14740
|
-
* Whether 3pc grace period exception should be enabled; false by default.
|
|
14741
|
-
*/
|
|
14742
|
-
disableThirdPartyCookieMetadata: boolean;
|
|
14743
|
-
/**
|
|
14744
|
-
* Whether 3pc heuristics exceptions should be enabled; false by default.
|
|
14745
|
-
*/
|
|
14746
|
-
disableThirdPartyCookieHeuristics: boolean;
|
|
14747
14749
|
}
|
|
14748
14750
|
|
|
14749
14751
|
/**
|
|
@@ -16563,7 +16565,7 @@ export namespace Protocol {
|
|
|
16563
16565
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
|
16564
16566
|
* @experimental
|
|
16565
16567
|
*/
|
|
16566
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | '
|
|
16568
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
|
16567
16569
|
|
|
16568
16570
|
/**
|
|
16569
16571
|
* Reason for a permissions policy feature to be disabled.
|
|
@@ -20287,25 +20289,6 @@ export namespace Protocol {
|
|
|
20287
20289
|
sets: RelatedWebsiteSet[];
|
|
20288
20290
|
}
|
|
20289
20291
|
|
|
20290
|
-
export interface GetAffectedUrlsForThirdPartyCookieMetadataRequest {
|
|
20291
|
-
/**
|
|
20292
|
-
* The URL of the page currently being visited.
|
|
20293
|
-
*/
|
|
20294
|
-
firstPartyUrl: string;
|
|
20295
|
-
/**
|
|
20296
|
-
* The list of embedded resource URLs from the page.
|
|
20297
|
-
*/
|
|
20298
|
-
thirdPartyUrls: string[];
|
|
20299
|
-
}
|
|
20300
|
-
|
|
20301
|
-
export interface GetAffectedUrlsForThirdPartyCookieMetadataResponse {
|
|
20302
|
-
/**
|
|
20303
|
-
* Array of matching URLs. If there is a primary pattern match for the first-
|
|
20304
|
-
* party URL, only the first-party URL is returned in the array.
|
|
20305
|
-
*/
|
|
20306
|
-
matchedUrls: string[];
|
|
20307
|
-
}
|
|
20308
|
-
|
|
20309
20292
|
export interface SetProtectedAudienceKAnonymityRequest {
|
|
20310
20293
|
owner: string;
|
|
20311
20294
|
name: string;
|