File tree Expand file tree Collapse file tree
panels/network/components
third_party/blink/public/devtools_protocol Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ vars = {
2424 'inspector_protocol_revision' : '69d69ddf3aa698b171886551a4a672c5af1ad902' ,
2525
2626 # Keeping track of the last time we rollerd the browser protocol files.
27- 'chromium_browser_protocol_revision' : '2988b80e69c8f0ff84c0a43cf80956a3f10f3938 ' ,
27+ 'chromium_browser_protocol_revision' : '823c6342d298fe68e4dc6c5c89d86fd7595183ac ' ,
2828
2929 'clang_format_url' : 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git' ,
3030 'clang_format_revision' : '37f6e68a107df43b7d7e044fd36a13cbae3413f2' ,
Original file line number Diff line number Diff line change @@ -1267,6 +1267,10 @@ export namespace ProtocolMapping {
12671267 paramsType : [ Protocol . CSS . ResolveValuesRequest ] ;
12681268 returnType : Protocol . CSS . ResolveValuesResponse ;
12691269 } ;
1270+ 'CSS.getLonghandProperties' : {
1271+ paramsType : [ Protocol . CSS . GetLonghandPropertiesRequest ] ;
1272+ returnType : Protocol . CSS . GetLonghandPropertiesResponse ;
1273+ } ;
12701274 /**
12711275 * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
12721276 * attributes) for a DOM node identified by `nodeId`.
@@ -3033,6 +3037,14 @@ export namespace ProtocolMapping {
30333037 paramsType : [ Protocol . Network . LoadNetworkResourceRequest ] ;
30343038 returnType : Protocol . Network . LoadNetworkResourceResponse ;
30353039 } ;
3040+ /**
3041+ * Sets Controls for third-party cookie access
3042+ * Page reload is required before the new cookie bahavior will be observed
3043+ */
3044+ 'Network.setCookieControls' : {
3045+ paramsType : [ Protocol . Network . SetCookieControlsRequest ] ;
3046+ returnType : void ;
3047+ } ;
30363048 /**
30373049 * Disables domain notifications.
30383050 */
Original file line number Diff line number Diff line change @@ -675,6 +675,8 @@ declare namespace ProtocolProxyApi {
675675 */
676676 invoke_resolveValues ( params : Protocol . CSS . ResolveValuesRequest ) : Promise < Protocol . CSS . ResolveValuesResponse > ;
677677
678+ invoke_getLonghandProperties ( params : Protocol . CSS . GetLonghandPropertiesRequest ) : Promise < Protocol . CSS . GetLonghandPropertiesResponse > ;
679+
678680 /**
679681 * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
680682 * attributes) for a DOM node identified by `nodeId`.
@@ -2230,6 +2232,12 @@ declare namespace ProtocolProxyApi {
22302232 */
22312233 invoke_loadNetworkResource ( params : Protocol . Network . LoadNetworkResourceRequest ) : Promise < Protocol . Network . LoadNetworkResourceResponse > ;
22322234
2235+ /**
2236+ * Sets Controls for third-party cookie access
2237+ * Page reload is required before the new cookie bahavior will be observed
2238+ */
2239+ invoke_setCookieControls ( params : Protocol . Network . SetCookieControlsRequest ) : Promise < Protocol . ProtocolResponseWithError > ;
2240+
22332241 }
22342242 export interface NetworkDispatcher {
22352243 /**
Original file line number Diff line number Diff line change @@ -3312,6 +3312,15 @@ export namespace CSS {
33123312 results: string[];
33133313 }
33143314
3315+ export interface GetLonghandPropertiesRequest {
3316+ shorthandName: string;
3317+ value: string;
3318+ }
3319+
3320+ export interface GetLonghandPropertiesResponse extends ProtocolResponseWithError {
3321+ longhandProperties: CSSProperty[];
3322+ }
3323+
33153324 export interface GetInlineStylesForNodeRequest {
33163325 nodeId: DOM.NodeId;
33173326 }
@@ -10184,6 +10193,21 @@ export namespace Network {
1018410193 resource: LoadNetworkResourcePageResult;
1018510194 }
1018610195
10196+ export interface SetCookieControlsRequest {
10197+ /**
10198+ * Whether 3pc restriction is enabled.
10199+ */
10200+ enableThirdPartyCookieRestriction: boolean;
10201+ /**
10202+ * Whether 3pc grace period exception should be enabled; false by default.
10203+ */
10204+ disableThirdPartyCookieMetadata: boolean;
10205+ /**
10206+ * Whether 3pc heuristics exceptions should be enabled; false by default.
10207+ */
10208+ disableThirdPartyCookieHeuristics: boolean;
10209+ }
10210+
1018710211 /**
1018810212 * Fired when data chunk was received over the network.
1018910213 */
@@ -10779,6 +10803,7 @@ export namespace Network {
1077910803 InternalError = 'InternalError',
1078010804 UnknownError = 'UnknownError',
1078110805 FulfilledLocally = 'FulfilledLocally',
10806+ SiteIssuerLimit = 'SiteIssuerLimit',
1078210807 }
1078310808
1078410809 /**
Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ const UIStrings = {
9393 *@description Text for an error status in the Network panel
9494 */
9595 theOperationFailedForAnUnknown : 'The operation failed for an unknown reason.' ,
96+ /**
97+ *@description Text for an error status in the Network panel
98+ */
99+ perSiteLimit : 'Per-site issuer limit reached.' ,
96100} ;
97101const str_ = i18n . i18n . registerUIStrings ( 'panels/network/components/RequestTrustTokensView.ts' , UIStrings ) ;
98102const i18nString = i18n . i18n . getLocalizedString . bind ( undefined , str_ ) ;
@@ -269,6 +273,8 @@ function getDetailedTextForStatusCode(status: Protocol.Network.TrustTokenOperati
269273 case Protocol . Network . TrustTokenOperationDoneEventStatus . Unauthorized :
270274 case Protocol . Network . TrustTokenOperationDoneEventStatus . UnknownError :
271275 return i18nString ( UIStrings . theOperationFailedForAnUnknown ) ;
276+ case Protocol . Network . TrustTokenOperationDoneEventStatus . SiteIssuerLimit :
277+ return i18nString ( UIStrings . perSiteLimit ) ;
272278 }
273279}
274280
You can’t perform that action at this time.
0 commit comments