devtools-protocol 0.0.1400418 → 0.0.1402790
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.
@@ -4837,6 +4837,29 @@
|
|
4837
4837
|
}
|
4838
4838
|
]
|
4839
4839
|
},
|
4840
|
+
{
|
4841
|
+
"name": "getLonghandProperties",
|
4842
|
+
"experimental": true,
|
4843
|
+
"parameters": [
|
4844
|
+
{
|
4845
|
+
"name": "shorthandName",
|
4846
|
+
"type": "string"
|
4847
|
+
},
|
4848
|
+
{
|
4849
|
+
"name": "value",
|
4850
|
+
"type": "string"
|
4851
|
+
}
|
4852
|
+
],
|
4853
|
+
"returns": [
|
4854
|
+
{
|
4855
|
+
"name": "longhandProperties",
|
4856
|
+
"type": "array",
|
4857
|
+
"items": {
|
4858
|
+
"$ref": "CSSProperty"
|
4859
|
+
}
|
4860
|
+
}
|
4861
|
+
]
|
4862
|
+
},
|
4840
4863
|
{
|
4841
4864
|
"name": "getInlineStylesForNode",
|
4842
4865
|
"description": "Returns the styles defined inline (explicitly in the \"style\" attribute and implicitly, using DOM\nattributes) for a DOM node identified by `nodeId`.",
|
@@ -15309,6 +15332,28 @@
|
|
15309
15332
|
"$ref": "LoadNetworkResourcePageResult"
|
15310
15333
|
}
|
15311
15334
|
]
|
15335
|
+
},
|
15336
|
+
{
|
15337
|
+
"name": "setCookieControls",
|
15338
|
+
"description": "Sets Controls for third-party cookie access\nPage reload is required before the new cookie bahavior will be observed",
|
15339
|
+
"experimental": true,
|
15340
|
+
"parameters": [
|
15341
|
+
{
|
15342
|
+
"name": "enableThirdPartyCookieRestriction",
|
15343
|
+
"description": "Whether 3pc restriction is enabled.",
|
15344
|
+
"type": "boolean"
|
15345
|
+
},
|
15346
|
+
{
|
15347
|
+
"name": "disableThirdPartyCookieMetadata",
|
15348
|
+
"description": "Whether 3pc grace period exception should be enabled; false by default.",
|
15349
|
+
"type": "boolean"
|
15350
|
+
},
|
15351
|
+
{
|
15352
|
+
"name": "disableThirdPartyCookieHeuristics",
|
15353
|
+
"description": "Whether 3pc heuristics exceptions should be enabled; false by default.",
|
15354
|
+
"type": "boolean"
|
15355
|
+
}
|
15356
|
+
]
|
15312
15357
|
}
|
15313
15358
|
],
|
15314
15359
|
"events": [
|
@@ -16030,7 +16075,8 @@
|
|
16030
16075
|
"BadResponse",
|
16031
16076
|
"InternalError",
|
16032
16077
|
"UnknownError",
|
16033
|
-
"FulfilledLocally"
|
16078
|
+
"FulfilledLocally",
|
16079
|
+
"SiteIssuerLimit"
|
16034
16080
|
]
|
16035
16081
|
},
|
16036
16082
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -2327,6 +2327,13 @@ experimental domain CSS
|
|
2327
2327
|
returns
|
2328
2328
|
array of string results
|
2329
2329
|
|
2330
|
+
experimental command getLonghandProperties
|
2331
|
+
parameters
|
2332
|
+
string shorthandName
|
2333
|
+
string value
|
2334
|
+
returns
|
2335
|
+
array of CSSProperty longhandProperties
|
2336
|
+
|
2330
2337
|
# Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
|
2331
2338
|
# attributes) for a DOM node identified by `nodeId`.
|
2332
2339
|
command getInlineStylesForNode
|
@@ -7429,6 +7436,7 @@ domain Network
|
|
7429
7436
|
InternalError
|
7430
7437
|
UnknownError
|
7431
7438
|
FulfilledLocally
|
7439
|
+
SiteIssuerLimit
|
7432
7440
|
TrustTokenOperationType type
|
7433
7441
|
RequestId requestId
|
7434
7442
|
# Top level origin. The context in which the operation was attempted.
|
@@ -7639,6 +7647,19 @@ domain Network
|
|
7639
7647
|
returns
|
7640
7648
|
LoadNetworkResourcePageResult resource
|
7641
7649
|
|
7650
|
+
# Sets Controls for third-party cookie access
|
7651
|
+
# Page reload is required before the new cookie bahavior will be observed
|
7652
|
+
experimental command setCookieControls
|
7653
|
+
parameters
|
7654
|
+
# Whether 3pc restriction is enabled.
|
7655
|
+
boolean enableThirdPartyCookieRestriction
|
7656
|
+
|
7657
|
+
# Whether 3pc grace period exception should be enabled; false by default.
|
7658
|
+
boolean disableThirdPartyCookieMetadata
|
7659
|
+
|
7660
|
+
# Whether 3pc heuristics exceptions should be enabled; false by default.
|
7661
|
+
boolean disableThirdPartyCookieHeuristics
|
7662
|
+
|
7642
7663
|
# This domain provides various functionality related to drawing atop the inspected page.
|
7643
7664
|
experimental domain Overlay
|
7644
7665
|
depends on DOM
|
@@ -1835,6 +1835,10 @@ export namespace ProtocolMapping {
|
|
1835
1835
|
paramsType: [Protocol.CSS.ResolveValuesRequest];
|
1836
1836
|
returnType: Protocol.CSS.ResolveValuesResponse;
|
1837
1837
|
};
|
1838
|
+
'CSS.getLonghandProperties': {
|
1839
|
+
paramsType: [Protocol.CSS.GetLonghandPropertiesRequest];
|
1840
|
+
returnType: Protocol.CSS.GetLonghandPropertiesResponse;
|
1841
|
+
};
|
1838
1842
|
/**
|
1839
1843
|
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
|
1840
1844
|
* attributes) for a DOM node identified by `nodeId`.
|
@@ -3601,6 +3605,14 @@ export namespace ProtocolMapping {
|
|
3601
3605
|
paramsType: [Protocol.Network.LoadNetworkResourceRequest];
|
3602
3606
|
returnType: Protocol.Network.LoadNetworkResourceResponse;
|
3603
3607
|
};
|
3608
|
+
/**
|
3609
|
+
* Sets Controls for third-party cookie access
|
3610
|
+
* Page reload is required before the new cookie bahavior will be observed
|
3611
|
+
*/
|
3612
|
+
'Network.setCookieControls': {
|
3613
|
+
paramsType: [Protocol.Network.SetCookieControlsRequest];
|
3614
|
+
returnType: void;
|
3615
|
+
};
|
3604
3616
|
/**
|
3605
3617
|
* Disables domain notifications.
|
3606
3618
|
*/
|
@@ -1074,6 +1074,8 @@ export namespace ProtocolProxyApi {
|
|
1074
1074
|
*/
|
1075
1075
|
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<Protocol.CSS.ResolveValuesResponse>;
|
1076
1076
|
|
1077
|
+
getLonghandProperties(params: Protocol.CSS.GetLonghandPropertiesRequest): Promise<Protocol.CSS.GetLonghandPropertiesResponse>;
|
1078
|
+
|
1077
1079
|
/**
|
1078
1080
|
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
|
1079
1081
|
* attributes) for a DOM node identified by `nodeId`.
|
@@ -2581,6 +2583,12 @@ export namespace ProtocolProxyApi {
|
|
2581
2583
|
*/
|
2582
2584
|
loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<Protocol.Network.LoadNetworkResourceResponse>;
|
2583
2585
|
|
2586
|
+
/**
|
2587
|
+
* Sets Controls for third-party cookie access
|
2588
|
+
* Page reload is required before the new cookie bahavior will be observed
|
2589
|
+
*/
|
2590
|
+
setCookieControls(params: Protocol.Network.SetCookieControlsRequest): Promise<void>;
|
2591
|
+
|
2584
2592
|
/**
|
2585
2593
|
* Fired when data chunk was received over the network.
|
2586
2594
|
*/
|
@@ -1142,6 +1142,8 @@ export namespace ProtocolTestsProxyApi {
|
|
1142
1142
|
*/
|
1143
1143
|
resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<{id: number, result: Protocol.CSS.ResolveValuesResponse, sessionId: string}>;
|
1144
1144
|
|
1145
|
+
getLonghandProperties(params: Protocol.CSS.GetLonghandPropertiesRequest): Promise<{id: number, result: Protocol.CSS.GetLonghandPropertiesResponse, sessionId: string}>;
|
1146
|
+
|
1145
1147
|
/**
|
1146
1148
|
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
|
1147
1149
|
* attributes) for a DOM node identified by `nodeId`.
|
@@ -2723,6 +2725,12 @@ export namespace ProtocolTestsProxyApi {
|
|
2723
2725
|
*/
|
2724
2726
|
loadNetworkResource(params: Protocol.Network.LoadNetworkResourceRequest): Promise<{id: number, result: Protocol.Network.LoadNetworkResourceResponse, sessionId: string}>;
|
2725
2727
|
|
2728
|
+
/**
|
2729
|
+
* Sets Controls for third-party cookie access
|
2730
|
+
* Page reload is required before the new cookie bahavior will be observed
|
2731
|
+
*/
|
2732
|
+
setCookieControls(params: Protocol.Network.SetCookieControlsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2733
|
+
|
2726
2734
|
/**
|
2727
2735
|
* Fired when data chunk was received over the network.
|
2728
2736
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -5564,6 +5564,15 @@ export namespace Protocol {
|
|
5564
5564
|
results: string[];
|
5565
5565
|
}
|
5566
5566
|
|
5567
|
+
export interface GetLonghandPropertiesRequest {
|
5568
|
+
shorthandName: string;
|
5569
|
+
value: string;
|
5570
|
+
}
|
5571
|
+
|
5572
|
+
export interface GetLonghandPropertiesResponse {
|
5573
|
+
longhandProperties: CSSProperty[];
|
5574
|
+
}
|
5575
|
+
|
5567
5576
|
export interface GetInlineStylesForNodeRequest {
|
5568
5577
|
nodeId: DOM.NodeId;
|
5569
5578
|
}
|
@@ -12093,6 +12102,21 @@ export namespace Protocol {
|
|
12093
12102
|
resource: LoadNetworkResourcePageResult;
|
12094
12103
|
}
|
12095
12104
|
|
12105
|
+
export interface SetCookieControlsRequest {
|
12106
|
+
/**
|
12107
|
+
* Whether 3pc restriction is enabled.
|
12108
|
+
*/
|
12109
|
+
enableThirdPartyCookieRestriction: boolean;
|
12110
|
+
/**
|
12111
|
+
* Whether 3pc grace period exception should be enabled; false by default.
|
12112
|
+
*/
|
12113
|
+
disableThirdPartyCookieMetadata: boolean;
|
12114
|
+
/**
|
12115
|
+
* Whether 3pc heuristics exceptions should be enabled; false by default.
|
12116
|
+
*/
|
12117
|
+
disableThirdPartyCookieHeuristics: boolean;
|
12118
|
+
}
|
12119
|
+
|
12096
12120
|
/**
|
12097
12121
|
* Fired when data chunk was received over the network.
|
12098
12122
|
*/
|
@@ -12688,6 +12712,7 @@ export namespace Protocol {
|
|
12688
12712
|
InternalError = 'InternalError',
|
12689
12713
|
UnknownError = 'UnknownError',
|
12690
12714
|
FulfilledLocally = 'FulfilledLocally',
|
12715
|
+
SiteIssuerLimit = 'SiteIssuerLimit',
|
12691
12716
|
}
|
12692
12717
|
|
12693
12718
|
/**
|
@@ -12703,7 +12728,7 @@ export namespace Protocol {
|
|
12703
12728
|
* of the operation already exists und thus, the operation was abort
|
12704
12729
|
* preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)
|
12705
12730
|
*/
|
12706
|
-
status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'ResourceLimited' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
|
12731
|
+
status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'ResourceLimited' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally' | 'SiteIssuerLimit');
|
12707
12732
|
type: TrustTokenOperationType;
|
12708
12733
|
requestId: RequestId;
|
12709
12734
|
/**
|