Skip to content

Commit

Permalink
Update to Chrome DevTools Protocol version 1340018
Browse files Browse the repository at this point in the history
  • Loading branch information
Protocol Update Workflow authored and joffrey-bion committed Aug 12, 2024
1 parent f15ca09 commit ae88d9e
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 6 deletions.
83 changes: 80 additions & 3 deletions api/chrome-devtools-kotlin.api
Original file line number Diff line number Diff line change
Expand Up @@ -11856,6 +11856,7 @@ public final class org/hildan/chrome/devtools/domains/dom/DOMDomain {
public final fun getContentQuads (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getContentQuads (Lorg/hildan/chrome/devtools/domains/dom/GetContentQuadsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getContentQuads$default (Lorg/hildan/chrome/devtools/domains/dom/DOMDomain;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public final fun getDetachedDomNodes (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getDocument (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getDocument (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getDocument (Lorg/hildan/chrome/devtools/domains/dom/GetDocumentRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down Expand Up @@ -12065,6 +12066,35 @@ public final class org/hildan/chrome/devtools/domains/dom/DescribeNodeResponse$C
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

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

public synthetic class org/hildan/chrome/devtools/domains/dom/DetachedElementInfo$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/dom/DetachedElementInfo$$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/dom/DetachedElementInfo;
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/dom/DetachedElementInfo;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}

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

public final class org/hildan/chrome/devtools/domains/dom/DisableResponse {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/dom/DisableResponse;
public final fun serializer ()Lkotlinx/serialization/KSerializer;
Expand Down Expand Up @@ -12540,6 +12570,33 @@ public final class org/hildan/chrome/devtools/domains/dom/GetContentQuadsRespons
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/dom/GetDetachedDomNodesResponse {
public static final field Companion Lorg/hildan/chrome/devtools/domains/dom/GetDetachedDomNodesResponse$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/dom/GetDetachedDomNodesResponse;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/dom/GetDetachedDomNodesResponse;Ljava/util/List;ILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/dom/GetDetachedDomNodesResponse;
public fun equals (Ljava/lang/Object;)Z
public final fun getDetachedNodes ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public synthetic class org/hildan/chrome/devtools/domains/dom/GetDetachedDomNodesResponse$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/dom/GetDetachedDomNodesResponse$$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/dom/GetDetachedDomNodesResponse;
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/dom/GetDetachedDomNodesResponse;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}

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

public final class org/hildan/chrome/devtools/domains/dom/GetDocumentRequest {
public static final field Companion Lorg/hildan/chrome/devtools/domains/dom/GetDocumentRequest$Companion;
public fun <init> ()V
Expand Down Expand Up @@ -13605,6 +13662,8 @@ public final class org/hildan/chrome/devtools/domains/dom/PseudoType : java/lang
public static final field resizer Lorg/hildan/chrome/devtools/domains/dom/PseudoType;
public static final field scrollMarker Lorg/hildan/chrome/devtools/domains/dom/PseudoType;
public static final field scrollMarkerGroup Lorg/hildan/chrome/devtools/domains/dom/PseudoType;
public static final field scrollNextButton Lorg/hildan/chrome/devtools/domains/dom/PseudoType;
public static final field scrollPrevButton Lorg/hildan/chrome/devtools/domains/dom/PseudoType;
public static final field scrollbar Lorg/hildan/chrome/devtools/domains/dom/PseudoType;
public static final field scrollbarButton Lorg/hildan/chrome/devtools/domains/dom/PseudoType;
public static final field scrollbarCorner Lorg/hildan/chrome/devtools/domains/dom/PseudoType;
Expand Down Expand Up @@ -31672,7 +31731,9 @@ public final class org/hildan/chrome/devtools/domains/page/ClientNavigationReaso
public static final field formSubmissionGet Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
public static final field formSubmissionPost Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
public static final field httpHeaderRefresh Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
public static final field initialFrameNavigation Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
public static final field metaTagRefresh Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
public static final field other Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
public static final field pageBlockInterstitial Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
public static final field reload Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
public static final field scriptInitiated Lorg/hildan/chrome/devtools/domains/page/ClientNavigationReason;
Expand Down Expand Up @@ -33082,6 +33143,20 @@ public final class org/hildan/chrome/devtools/domains/page/NavigateToHistoryEntr
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType : java/lang/Enum {
public static final field Companion Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType$Companion;
public static final field fragment Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;
public static final field historyApi Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;
public static final field other Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;
public static fun values ()[Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;
}

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

public final class org/hildan/chrome/devtools/domains/page/NavigationEntry {
public static final field Companion Lorg/hildan/chrome/devtools/domains/page/NavigationEntry$Companion;
public fun <init> (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/hildan/chrome/devtools/domains/page/TransitionType;)V
Expand Down Expand Up @@ -35880,13 +35955,15 @@ public final class org/hildan/chrome/devtools/domains/page/events/PageEvent$Load

public final class org/hildan/chrome/devtools/domains/page/events/PageEvent$NavigatedWithinDocument : org/hildan/chrome/devtools/domains/page/events/PageEvent {
public static final field Companion Lorg/hildan/chrome/devtools/domains/page/events/PageEvent$NavigatedWithinDocument$Companion;
public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
public fun <init> (Ljava/lang/String;Ljava/lang/String;Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;)V
public final fun component1 ()Ljava/lang/String;
public final fun component2 ()Ljava/lang/String;
public final fun copy (Ljava/lang/String;Ljava/lang/String;)Lorg/hildan/chrome/devtools/domains/page/events/PageEvent$NavigatedWithinDocument;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/page/events/PageEvent$NavigatedWithinDocument;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/page/events/PageEvent$NavigatedWithinDocument;
public final fun component3 ()Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;
public final fun copy (Ljava/lang/String;Ljava/lang/String;Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;)Lorg/hildan/chrome/devtools/domains/page/events/PageEvent$NavigatedWithinDocument;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/page/events/PageEvent$NavigatedWithinDocument;Ljava/lang/String;Ljava/lang/String;Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;ILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/page/events/PageEvent$NavigatedWithinDocument;
public fun equals (Ljava/lang/Object;)Z
public final fun getFrameId ()Ljava/lang/String;
public final fun getNavigationType ()Lorg/hildan/chrome/devtools/domains/page/NavigatedWithinDocumentNavigationType;
public final fun getUrl ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
Expand Down
51 changes: 49 additions & 2 deletions protocol-definition/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -5603,6 +5603,8 @@
"first-line-inherited",
"scroll-marker",
"scroll-marker-group",
"scroll-next-button",
"scroll-prev-button",
"scrollbar",
"scrollbar-thumb",
"scrollbar-button",
Expand Down Expand Up @@ -5868,6 +5870,24 @@
}
]
},
{
"id": "DetachedElementInfo",
"description": "A structure to hold the top-level node of a detached tree and an array of its retained descendants.",
"type": "object",
"properties": [
{
"name": "treeNode",
"$ref": "Node"
},
{
"name": "retainedNodeIds",
"type": "array",
"items": {
"$ref": "NodeId"
}
}
]
},
{
"id": "RGBA",
"description": "A structure holding an RGBA color.",
Expand Down Expand Up @@ -6956,6 +6976,21 @@
}
]
},
{
"name": "getDetachedDomNodes",
"description": "Returns list of detached nodes",
"experimental": true,
"returns": [
{
"name": "detachedNodes",
"description": "The list of detached nodes",
"type": "array",
"items": {
"$ref": "DetachedElementInfo"
}
}
]
},
{
"name": "setInspectedNode",
"description": "Enables console to refer to the node with given id via $x (see Command Line API for more details\n$x functions).",
Expand Down Expand Up @@ -17785,14 +17820,16 @@
"experimental": true,
"type": "string",
"enum": [
"anchorClick",
"formSubmissionGet",
"formSubmissionPost",
"httpHeaderRefresh",
"scriptInitiated",
"initialFrameNavigation",
"metaTagRefresh",
"other",
"pageBlockInterstitial",
"reload",
"anchorClick"
"scriptInitiated"
]
},
{
Expand Down Expand Up @@ -20142,6 +20179,16 @@
"name": "url",
"description": "Frame's new url.",
"type": "string"
},
{
"name": "navigationType",
"description": "Navigation type",
"type": "string",
"enum": [
"fragment",
"historyApi",
"other"
]
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion protocol-definition/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1337664
1340018

0 comments on commit ae88d9e

Please sign in to comment.