Skip to content

Commit

Permalink
Update to Chrome DevTools Protocol version 1347815
Browse files Browse the repository at this point in the history
  • Loading branch information
Protocol Update Workflow authored and joffrey-bion committed Aug 29, 2024
1 parent f668636 commit b29486d
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 3 deletions.
61 changes: 61 additions & 0 deletions api/chrome-devtools-kotlin.api
Original file line number Diff line number Diff line change
Expand Up @@ -1627,6 +1627,7 @@ public final class org/hildan/chrome/devtools/domains/audits/AttributionReportin
public static final field InvalidRegisterOsSourceHeader Lorg/hildan/chrome/devtools/domains/audits/AttributionReportingIssueType;
public static final field InvalidRegisterOsTriggerHeader Lorg/hildan/chrome/devtools/domains/audits/AttributionReportingIssueType;
public static final field InvalidRegisterTriggerHeader Lorg/hildan/chrome/devtools/domains/audits/AttributionReportingIssueType;
public static final field NavigationRegistrationUniqueScopeAlreadySet Lorg/hildan/chrome/devtools/domains/audits/AttributionReportingIssueType;
public static final field NavigationRegistrationWithoutTransientUserActivation Lorg/hildan/chrome/devtools/domains/audits/AttributionReportingIssueType;
public static final field NoRegisterOsSourceHeader Lorg/hildan/chrome/devtools/domains/audits/AttributionReportingIssueType;
public static final field NoRegisterOsTriggerHeader Lorg/hildan/chrome/devtools/domains/audits/AttributionReportingIssueType;
Expand Down Expand Up @@ -24161,6 +24162,35 @@ public final class org/hildan/chrome/devtools/domains/media/events/MediaEvent$Pl
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/hildan/chrome/devtools/domains/memory/DOMCounter {
public static final field Companion Lorg/hildan/chrome/devtools/domains/memory/DOMCounter$Companion;
public fun <init> (Ljava/lang/String;I)V
public final fun component1 ()Ljava/lang/String;
public final fun component2 ()I
public final fun copy (Ljava/lang/String;I)Lorg/hildan/chrome/devtools/domains/memory/DOMCounter;
public static synthetic fun copy$default (Lorg/hildan/chrome/devtools/domains/memory/DOMCounter;Ljava/lang/String;IILjava/lang/Object;)Lorg/hildan/chrome/devtools/domains/memory/DOMCounter;
public fun equals (Ljava/lang/Object;)Z
public final fun getCount ()I
public final fun getName ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

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

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

public final class org/hildan/chrome/devtools/domains/memory/ForciblyPurgeJavaScriptMemoryResponse {
public static final field INSTANCE Lorg/hildan/chrome/devtools/domains/memory/ForciblyPurgeJavaScriptMemoryResponse;
public final fun serializer ()Lkotlinx/serialization/KSerializer;
Expand Down Expand Up @@ -24220,6 +24250,33 @@ public final class org/hildan/chrome/devtools/domains/memory/GetBrowserSamplingP
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

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

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

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

public final class org/hildan/chrome/devtools/domains/memory/GetDOMCountersResponse {
public static final field Companion Lorg/hildan/chrome/devtools/domains/memory/GetDOMCountersResponse$Companion;
public fun <init> (III)V
Expand Down Expand Up @@ -24283,6 +24340,7 @@ public final class org/hildan/chrome/devtools/domains/memory/MemoryDomain {
public final fun getAllTimeSamplingProfile (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getBrowserSamplingProfile (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getDOMCounters (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getDOMCountersForLeakDetection (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getSamplingProfile (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun prepareForLeakDetection (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun setPressureNotificationsSuppressed (Lorg/hildan/chrome/devtools/domains/memory/SetPressureNotificationsSuppressedRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down Expand Up @@ -25166,6 +25224,7 @@ public final class org/hildan/chrome/devtools/domains/network/CookieExemptionRea
public static final field TPCDHeuristics Lorg/hildan/chrome/devtools/domains/network/CookieExemptionReason;
public static final field TPCDMetadata Lorg/hildan/chrome/devtools/domains/network/CookieExemptionReason;
public static final field TopLevelStorageAccess Lorg/hildan/chrome/devtools/domains/network/CookieExemptionReason;
public static final field TopLevelTPCDDeprecationTrial Lorg/hildan/chrome/devtools/domains/network/CookieExemptionReason;
public static final field UserSetting Lorg/hildan/chrome/devtools/domains/network/CookieExemptionReason;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lorg/hildan/chrome/devtools/domains/network/CookieExemptionReason;
Expand Down Expand Up @@ -41952,6 +42011,8 @@ public final class org/hildan/chrome/devtools/domains/storage/AttributionReporti
public static final field destinationPerDayReportingLimitReached Lorg/hildan/chrome/devtools/domains/storage/AttributionReportingSourceRegistrationResult;
public static final field destinationReportingLimitReached Lorg/hildan/chrome/devtools/domains/storage/AttributionReportingSourceRegistrationResult;
public static final field exceedsMaxChannelCapacity Lorg/hildan/chrome/devtools/domains/storage/AttributionReportingSourceRegistrationResult;
public static final field exceedsMaxEventStatesLimit Lorg/hildan/chrome/devtools/domains/storage/AttributionReportingSourceRegistrationResult;
public static final field exceedsMaxScopesChannelCapacity Lorg/hildan/chrome/devtools/domains/storage/AttributionReportingSourceRegistrationResult;
public static final field exceedsMaxTriggerStateCardinality Lorg/hildan/chrome/devtools/domains/storage/AttributionReportingSourceRegistrationResult;
public static final field excessiveReportingOrigins Lorg/hildan/chrome/devtools/domains/storage/AttributionReportingSourceRegistrationResult;
public static final field insufficientSourceCapacity Lorg/hildan/chrome/devtools/domains/storage/AttributionReportingSourceRegistrationResult;
Expand Down
41 changes: 39 additions & 2 deletions protocol-definition/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,8 @@
"NoRegisterSourceHeader",
"NoRegisterTriggerHeader",
"NoRegisterOsSourceHeader",
"NoRegisterOsTriggerHeader"
"NoRegisterOsTriggerHeader",
"NavigationRegistrationUniqueScopeAlreadySet"
]
},
{
Expand Down Expand Up @@ -12144,11 +12145,29 @@
"type": "number"
}
]
},
{
"id": "DOMCounter",
"description": "DOM object counter data.",
"type": "object",
"properties": [
{
"name": "name",
"description": "Object name. Note: object names should be presumed volatile and clients should not expect\nthe returned names to be consistent across runs.",
"type": "string"
},
{
"name": "count",
"description": "Object count.",
"type": "integer"
}
]
}
],
"commands": [
{
"name": "getDOMCounters",
"description": "Retruns current DOM object counters.",
"returns": [
{
"name": "documents",
Expand All @@ -12165,7 +12184,22 @@
]
},
{
"name": "prepareForLeakDetection"
"name": "getDOMCountersForLeakDetection",
"description": "Retruns DOM object counters after preparing renderer for leak detection.",
"returns": [
{
"name": "counters",
"description": "DOM object counters.",
"type": "array",
"items": {
"$ref": "DOMCounter"
}
}
]
},
{
"name": "prepareForLeakDetection",
"description": "Prepares for leak detection by terminating workers, stopping spellcheckers,\ndropping non-essential internal caches, running garbage collections, etc."
},
{
"name": "forciblyPurgeJavaScriptMemory",
Expand Down Expand Up @@ -13445,6 +13479,7 @@
"UserSetting",
"TPCDMetadata",
"TPCDDeprecationTrial",
"TopLevelTPCDDeprecationTrial",
"TPCDHeuristics",
"EnterprisePolicy",
"StorageAccess",
Expand Down Expand Up @@ -21952,7 +21987,9 @@
"destinationBothLimitsReached",
"reportingOriginsPerSiteLimitReached",
"exceedsMaxChannelCapacity",
"exceedsMaxScopesChannelCapacity",
"exceedsMaxTriggerStateCardinality",
"exceedsMaxEventStatesLimit",
"destinationPerDayReportingLimitReached"
]
},
Expand Down
2 changes: 1 addition & 1 deletion protocol-definition/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1346313
1347815

0 comments on commit b29486d

Please sign in to comment.