Skip to content

Commit

Permalink
Update to Chrome DevTools Protocol version 930289
Browse files Browse the repository at this point in the history
  • Loading branch information
Protocol Update Workflow authored and joffrey-bion committed Oct 12, 2021
1 parent 8413176 commit e985521
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 45 deletions.
34 changes: 3 additions & 31 deletions api/chrome-devtools-kotlin.api
Original file line number Diff line number Diff line change
Expand Up @@ -20805,6 +20805,7 @@ public final class org/hildan/chrome/devtools/domains/network/CorsError : java/l
public static final field PreflightMultipleAllowOriginValues Lorg/hildan/chrome/devtools/domains/network/CorsError;
public static final field PreflightWildcardOriginNotAllowed Lorg/hildan/chrome/devtools/domains/network/CorsError;
public static final field RedirectContainsCredentials Lorg/hildan/chrome/devtools/domains/network/CorsError;
public static final field UnexpectedPrivateNetworkAccess Lorg/hildan/chrome/devtools/domains/network/CorsError;
public static final field WildcardOriginNotAllowed Lorg/hildan/chrome/devtools/domains/network/CorsError;
public static fun valueOf (Ljava/lang/String;)Lorg/hildan/chrome/devtools/domains/network/CorsError;
public static fun values ()[Lorg/hildan/chrome/devtools/domains/network/CorsError;
Expand Down Expand Up @@ -21918,6 +21919,8 @@ public final class org/hildan/chrome/devtools/domains/network/PrivateNetworkRequ
public static final field Allow Lorg/hildan/chrome/devtools/domains/network/PrivateNetworkRequestPolicy;
public static final field BlockFromInsecureToMorePrivate Lorg/hildan/chrome/devtools/domains/network/PrivateNetworkRequestPolicy;
public static final field Companion Lorg/hildan/chrome/devtools/domains/network/PrivateNetworkRequestPolicy$Companion;
public static final field PreflightBlock Lorg/hildan/chrome/devtools/domains/network/PrivateNetworkRequestPolicy;
public static final field PreflightWarn Lorg/hildan/chrome/devtools/domains/network/PrivateNetworkRequestPolicy;
public static final field WarnFromInsecureToMorePrivate Lorg/hildan/chrome/devtools/domains/network/PrivateNetworkRequestPolicy;
public static fun valueOf (Ljava/lang/String;)Lorg/hildan/chrome/devtools/domains/network/PrivateNetworkRequestPolicy;
public static fun values ()[Lorg/hildan/chrome/devtools/domains/network/PrivateNetworkRequestPolicy;
Expand Down Expand Up @@ -28611,7 +28614,6 @@ public final class org/hildan/chrome/devtools/domains/page/PageDomain {
public final fun setGeolocationOverride (Lorg/hildan/chrome/devtools/domains/page/SetGeolocationOverrideRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setInterceptFileChooserDialog (Lorg/hildan/chrome/devtools/domains/page/SetInterceptFileChooserDialogRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setLifecycleEventsEnabled (Lorg/hildan/chrome/devtools/domains/page/SetLifecycleEventsEnabledRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setProduceCompilationCache (Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setTouchEmulationEnabled (Lorg/hildan/chrome/devtools/domains/page/SetTouchEmulationEnabledRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setWebLifecycleState (Lorg/hildan/chrome/devtools/domains/page/SetWebLifecycleStateRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun startScreencast (Lorg/hildan/chrome/devtools/domains/page/StartScreencastRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down Expand Up @@ -29634,36 +29636,6 @@ public final class org/hildan/chrome/devtools/domains/page/SetLifecycleEventsEna
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest {
public static final field Companion Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest$Companion;
public synthetic fun <init> (IZLkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (Z)V
public final fun component1 ()Z
public final fun copy (Z)Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest;ZILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest;
public fun equals (Ljava/lang/Object;)Z
public final fun getEnabled ()Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public static final fun write$Self (Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V
}

public final class org/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest$$serializer;
public static final synthetic field descriptor Lkotlinx/serialization/descriptors/SerialDescriptor;
public fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest;
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lorg/hildan/chrome/devtools/domains/page/SetProduceCompilationCacheRequest;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}

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

public final class org/hildan/chrome/devtools/domains/page/SetTouchEmulationEnabledRequest {
public static final field Companion Lorg/hildan/chrome/devtools/domains/page/SetTouchEmulationEnabledRequest$Companion;
public synthetic fun <init> (IZLorg/hildan/chrome/devtools/domains/page/TouchEmulationEnabledConfiguration;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
Expand Down
18 changes: 5 additions & 13 deletions protocol/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -10583,6 +10583,7 @@
"RedirectContainsCredentials",
"InsecurePrivateNetwork",
"InvalidPrivateNetworkAccess",
"UnexpectedPrivateNetworkAccess",
"NoCorsRedirectModeNotFollow"
]
},
Expand Down Expand Up @@ -11491,7 +11492,9 @@
"enum": [
"Allow",
"BlockFromInsecureToMorePrivate",
"WarnFromInsecureToMorePrivate"
"WarnFromInsecureToMorePrivate",
"PreflightBlock",
"PreflightWarn"
]
},
{
Expand Down Expand Up @@ -16505,20 +16508,9 @@
"description": "Stops sending each frame in the `screencastFrame`.",
"experimental": true
},
{
"name": "setProduceCompilationCache",
"description": "Forces compilation cache to be generated for every subresource script.\nSee also: `Page.produceCompilationCache`.",
"experimental": true,
"parameters": [
{
"name": "enabled",
"type": "boolean"
}
]
},
{
"name": "produceCompilationCache",
"description": "Requests backend to produce compilation cache for the specified scripts.\nUnlike setProduceCompilationCache, this allows client to only produce cache\nfor specific scripts. `scripts` are appeneded to the list of scripts\nfor which the cache for would produced. Disabling compilation cache with\n`setProduceCompilationCache` would reset all pending cache requests.\nThe list may also be reset during page navigation.\nWhen script with a matching URL is encountered, the cache is optionally\nproduced upon backend discretion, based on internal heuristics.\nSee also: `Page.compilationCacheProduced`.",
"description": "Requests backend to produce compilation cache for the specified scripts.\n`scripts` are appeneded to the list of scripts for which the cache\nwould be produced. The list may be reset during page navigation.\nWhen script with a matching URL is encountered, the cache is optionally\nproduced upon backend discretion, based on internal heuristics.\nSee also: `Page.compilationCacheProduced`.",
"experimental": true,
"parameters": [
{
Expand Down
2 changes: 1 addition & 1 deletion protocol/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
927069
930289

0 comments on commit e985521

Please sign in to comment.