From b91f397bea8e9b4a65b61402ac19ab088463b360 Mon Sep 17 00:00:00 2001 From: Protocol Update Workflow Date: Sun, 5 Jan 2025 04:25:41 +0000 Subject: [PATCH] Update to Chrome DevTools Protocol version 1402036 --- api/chrome-devtools-kotlin.api | 38 +++++++++++++++++++++++ protocol-definition/browser_protocol.json | 22 +++++++++++++ protocol-definition/version.txt | 2 +- 3 files changed, 61 insertions(+), 1 deletion(-) diff --git a/api/chrome-devtools-kotlin.api b/api/chrome-devtools-kotlin.api index 1cd15497..696ee0fa 100644 --- a/api/chrome-devtools-kotlin.api +++ b/api/chrome-devtools-kotlin.api @@ -31762,6 +31762,8 @@ public final class org/hildan/chrome/devtools/domains/network/NetworkDomain { public final fun setCookie (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun setCookie (Lorg/hildan/chrome/devtools/domains/network/SetCookieRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static synthetic fun setCookie$default (Lorg/hildan/chrome/devtools/domains/network/NetworkDomain;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; + public final fun setCookieControls (Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public final fun setCookieControls (ZZZLkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun setCookies (Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun setCookies (Lorg/hildan/chrome/devtools/domains/network/SetCookiesRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun setExtraHTTPHeaders (Lkotlinx/serialization/json/JsonObject;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; @@ -32944,6 +32946,42 @@ public final class org/hildan/chrome/devtools/domains/network/SetCookieBlockedRe public fun toString ()Ljava/lang/String; } +public final class org/hildan/chrome/devtools/domains/network/SetCookieControlsRequest { + public static final field Companion Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest$Companion; + public fun (ZZZ)V + public final fun component1 ()Z + public final fun component2 ()Z + public final fun component3 ()Z + public final fun copy (ZZZ)Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest; + public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;ZZZILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest; + public fun equals (Ljava/lang/Object;)Z + public final fun getDisableThirdPartyCookieHeuristics ()Z + public final fun getDisableThirdPartyCookieMetadata ()Z + public final fun getEnableThirdPartyCookieRestriction ()Z + public fun hashCode ()I + public fun toString ()Ljava/lang/String; +} + +public synthetic class org/hildan/chrome/devtools/domains/network/SetCookieControlsRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer { + public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest$$serializer; + public final fun childSerializers ()[Lkotlinx/serialization/KSerializer; + public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object; + public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest; + public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor; + public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V + public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsRequest;)V + public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer; +} + +public final class org/hildan/chrome/devtools/domains/network/SetCookieControlsRequest$Companion { + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + +public final class org/hildan/chrome/devtools/domains/network/SetCookieControlsResponse { + public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/network/SetCookieControlsResponse; + public final fun serializer ()Lkotlinx/serialization/KSerializer; +} + public final class org/hildan/chrome/devtools/domains/network/SetCookieRequest { public static final field Companion Lorg/hildan/chrome/devtools/domains/network/SetCookieRequest$Companion; public fun (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lorg/hildan/chrome/devtools/domains/network/CookieSameSite;Ljava/lang/Double;Lorg/hildan/chrome/devtools/domains/network/CookiePriority;Ljava/lang/Boolean;Lorg/hildan/chrome/devtools/domains/network/CookieSourceScheme;Ljava/lang/Integer;Lorg/hildan/chrome/devtools/domains/network/CookiePartitionKey;)V diff --git a/protocol-definition/browser_protocol.json b/protocol-definition/browser_protocol.json index 162d80f3..4339a4e5 100644 --- a/protocol-definition/browser_protocol.json +++ b/protocol-definition/browser_protocol.json @@ -15309,6 +15309,28 @@ "$ref": "LoadNetworkResourcePageResult" } ] + }, + { + "name": "setCookieControls", + "description": "Sets Controls for third-party cookie access\nPage reload is required before the new cookie bahavior will be observed", + "experimental": true, + "parameters": [ + { + "name": "enableThirdPartyCookieRestriction", + "description": "Whether 3pc restriction is enabled.", + "type": "boolean" + }, + { + "name": "disableThirdPartyCookieMetadata", + "description": "Whether 3pc grace period exception should be enabled; false by default.", + "type": "boolean" + }, + { + "name": "disableThirdPartyCookieHeuristics", + "description": "Whether 3pc heuristics exceptions should be enabled; false by default.", + "type": "boolean" + } + ] } ], "events": [ diff --git a/protocol-definition/version.txt b/protocol-definition/version.txt index f909903e..9424d164 100644 --- a/protocol-definition/version.txt +++ b/protocol-definition/version.txt @@ -1 +1 @@ -1400418 \ No newline at end of file +1402036 \ No newline at end of file