Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Chrome DevTools Protocol version 1409451 #489

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 122 additions & 6 deletions api/chrome-devtools-kotlin.api
Original file line number Diff line number Diff line change
Expand Up @@ -51745,6 +51745,60 @@ public final class org/hildan/chrome/devtools/domains/storage/DeleteStorageBucke
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest {
public static final field Companion Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest$Companion;
public fun <init> (Ljava/lang/String;Ljava/util/List;)V
public final fun component1 ()Ljava/lang/String;
public final fun component2 ()Ljava/util/List;
public final fun copy (Ljava/lang/String;Ljava/util/List;)Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest;
public fun equals (Ljava/lang/Object;)Z
public final fun getFirstPartyUrl ()Ljava/lang/String;
public final fun getThirdPartyUrls ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public synthetic class org/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest$$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/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest;
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/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest;)V
}

public final class org/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse {
public static final field Companion Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse$Companion;
public fun <init> (Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public final fun copy (Ljava/util/List;)Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse;Ljava/util/List;ILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse;
public fun equals (Ljava/lang/Object;)Z
public final fun getMatchedUrls ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public synthetic class org/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse$$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/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse;
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/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse;)V
}

public final class org/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataResponse$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/storage/GetCookiesRequest {
public static final field Companion Lorg/hildan/chrome/devtools/domains/storage/GetCookiesRequest$Companion;
public fun <init> ()V
Expand Down Expand Up @@ -53254,6 +53308,8 @@ public final class org/hildan/chrome/devtools/domains/storage/StorageDomain {
public final fun deleteStorageBucket (Lorg/hildan/chrome/devtools/domains/storage/DeleteStorageBucketRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun deleteStorageBucket (Lorg/hildan/chrome/devtools/domains/storage/StorageBucket;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun events ()Lkotlinx/coroutines/flow/Flow;
public final fun getAffectedUrlsForThirdPartyCookieMetadata (Ljava/lang/String;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getAffectedUrlsForThirdPartyCookieMetadata (Lorg/hildan/chrome/devtools/domains/storage/GetAffectedUrlsForThirdPartyCookieMetadataRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getCookies (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getCookies (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getCookies (Lorg/hildan/chrome/devtools/domains/storage/GetCookiesRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down Expand Up @@ -54887,20 +54943,21 @@ public final class org/hildan/chrome/devtools/domains/target/CreateBrowserContex

public final class org/hildan/chrome/devtools/domains/target/CreateTargetRequest {
public static final field Companion Lorg/hildan/chrome/devtools/domains/target/CreateTargetRequest$Companion;
public fun <init> (Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/hildan/chrome/devtools/domains/target/WindowState;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/hildan/chrome/devtools/domains/target/WindowState;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
public final fun component10 ()Ljava/lang/Boolean;
public final fun component11 ()Ljava/lang/Boolean;
public final fun component2 ()Ljava/lang/Integer;
public final fun component3 ()Ljava/lang/Integer;
public final fun component4 ()Ljava/lang/Integer;
public final fun component5 ()Ljava/lang/Integer;
public final fun component6 ()Ljava/lang/String;
public final fun component7 ()Ljava/lang/Boolean;
public final fun component6 ()Lorg/hildan/chrome/devtools/domains/target/WindowState;
public final fun component7 ()Ljava/lang/String;
public final fun component8 ()Ljava/lang/Boolean;
public final fun component9 ()Ljava/lang/Boolean;
public final fun copy (Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lorg/hildan/chrome/devtools/domains/target/CreateTargetRequest;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/target/CreateTargetRequest;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/target/CreateTargetRequest;
public final fun copy (Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/hildan/chrome/devtools/domains/target/WindowState;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lorg/hildan/chrome/devtools/domains/target/CreateTargetRequest;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/target/CreateTargetRequest;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/hildan/chrome/devtools/domains/target/WindowState;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/target/CreateTargetRequest;
public fun equals (Ljava/lang/Object;)Z
public final fun getBackground ()Ljava/lang/Boolean;
public final fun getBrowserContextId ()Ljava/lang/String;
Expand All @@ -54912,6 +54969,7 @@ public final class org/hildan/chrome/devtools/domains/target/CreateTargetRequest
public final fun getTop ()Ljava/lang/Integer;
public final fun getUrl ()Ljava/lang/String;
public final fun getWidth ()Ljava/lang/Integer;
public final fun getWindowState ()Lorg/hildan/chrome/devtools/domains/target/WindowState;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
Expand Down Expand Up @@ -54939,6 +54997,7 @@ public final class org/hildan/chrome/devtools/domains/target/CreateTargetRequest
public final fun getTop ()Ljava/lang/Integer;
public final fun getUrl ()Ljava/lang/String;
public final fun getWidth ()Ljava/lang/Integer;
public final fun getWindowState ()Lorg/hildan/chrome/devtools/domains/target/WindowState;
public final fun setBackground (Ljava/lang/Boolean;)V
public final fun setBrowserContextId (Ljava/lang/String;)V
public final fun setEnableBeginFrameControl (Ljava/lang/Boolean;)V
Expand All @@ -54948,6 +55007,7 @@ public final class org/hildan/chrome/devtools/domains/target/CreateTargetRequest
public final fun setNewWindow (Ljava/lang/Boolean;)V
public final fun setTop (Ljava/lang/Integer;)V
public final fun setWidth (Ljava/lang/Integer;)V
public final fun setWindowState (Lorg/hildan/chrome/devtools/domains/target/WindowState;)V
}

public final class org/hildan/chrome/devtools/domains/target/CreateTargetRequest$Companion {
Expand Down Expand Up @@ -55592,6 +55652,62 @@ public final class org/hildan/chrome/devtools/domains/target/TargetInfo$Companio
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public abstract interface class org/hildan/chrome/devtools/domains/target/WindowState {
public static final field Companion Lorg/hildan/chrome/devtools/domains/target/WindowState$Companion;
}

public final class org/hildan/chrome/devtools/domains/target/WindowState$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/target/WindowState$NotDefinedInProtocol : org/hildan/chrome/devtools/domains/target/WindowState {
public static final field Companion Lorg/hildan/chrome/devtools/domains/target/WindowState$NotDefinedInProtocol$Companion;
public fun <init> (Ljava/lang/String;)V
public final fun component1 ()Ljava/lang/String;
public final fun copy (Ljava/lang/String;)Lorg/hildan/chrome/devtools/domains/target/WindowState$NotDefinedInProtocol;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/target/WindowState$NotDefinedInProtocol;Ljava/lang/String;ILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/target/WindowState$NotDefinedInProtocol;
public fun equals (Ljava/lang/Object;)Z
public final fun getValue ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class org/hildan/chrome/devtools/domains/target/WindowState$NotDefinedInProtocol$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/target/WindowState$fullscreen : org/hildan/chrome/devtools/domains/target/WindowState {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/target/WindowState$fullscreen;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public final fun serializer ()Lkotlinx/serialization/KSerializer;
public fun toString ()Ljava/lang/String;
}

public final class org/hildan/chrome/devtools/domains/target/WindowState$maximized : org/hildan/chrome/devtools/domains/target/WindowState {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/target/WindowState$maximized;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public final fun serializer ()Lkotlinx/serialization/KSerializer;
public fun toString ()Ljava/lang/String;
}

public final class org/hildan/chrome/devtools/domains/target/WindowState$minimized : org/hildan/chrome/devtools/domains/target/WindowState {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/target/WindowState$minimized;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public final fun serializer ()Lkotlinx/serialization/KSerializer;
public fun toString ()Ljava/lang/String;
}

public final class org/hildan/chrome/devtools/domains/target/WindowState$normal : org/hildan/chrome/devtools/domains/target/WindowState {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/target/WindowState$normal;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public final fun serializer ()Lkotlinx/serialization/KSerializer;
public fun toString ()Ljava/lang/String;
}

public abstract class org/hildan/chrome/devtools/domains/target/events/TargetEvent {
public static final field Companion Lorg/hildan/chrome/devtools/domains/target/events/TargetEvent$Companion;
public synthetic fun <init> (ILkotlinx/serialization/internal/SerializationConstructorMarker;)V
Expand Down
48 changes: 48 additions & 0 deletions protocol-definition/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -23063,6 +23063,36 @@
}
}
]
},
{
"name": "getAffectedUrlsForThirdPartyCookieMetadata",
"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",
"experimental": true,
"parameters": [
{
"name": "firstPartyUrl",
"description": "The URL of the page currently being visited.",
"type": "string"
},
{
"name": "thirdPartyUrls",
"description": "The list of embedded resource URLs from the page.",
"type": "array",
"items": {
"type": "string"
}
}
],
"returns": [
{
"name": "matchedUrls",
"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.",
"type": "array",
"items": {
"type": "string"
}
}
]
}
],
"events": [
Expand Down Expand Up @@ -23771,6 +23801,18 @@
"type": "integer"
}
]
},
{
"id": "WindowState",
"description": "The state of the target window.",
"experimental": true,
"type": "string",
"enum": [
"normal",
"minimized",
"maximized",
"fullscreen"
]
}
],
"commands": [
Expand Down Expand Up @@ -23947,6 +23989,12 @@
"optional": true,
"type": "integer"
},
{
"name": "windowState",
"description": "Frame window state (requires newWindow to be true or headless shell).\nDefault is normal.",
"optional": true,
"$ref": "WindowState"
},
{
"name": "browserContextId",
"description": "The browser context to create the page in.",
Expand Down
2 changes: 1 addition & 1 deletion protocol-definition/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1404580
1409451
Loading