diff --git a/api/chrome-devtools-kotlin.api b/api/chrome-devtools-kotlin.api index e550df16..50b9d648 100644 --- a/api/chrome-devtools-kotlin.api +++ b/api/chrome-devtools-kotlin.api @@ -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; @@ -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 (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; @@ -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 (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 (III)V @@ -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; @@ -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; @@ -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; diff --git a/protocol-definition/browser_protocol.json b/protocol-definition/browser_protocol.json index db83febf..61c305c7 100644 --- a/protocol-definition/browser_protocol.json +++ b/protocol-definition/browser_protocol.json @@ -1487,7 +1487,8 @@ "NoRegisterSourceHeader", "NoRegisterTriggerHeader", "NoRegisterOsSourceHeader", - "NoRegisterOsTriggerHeader" + "NoRegisterOsTriggerHeader", + "NavigationRegistrationUniqueScopeAlreadySet" ] }, { @@ -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", @@ -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", @@ -13445,6 +13479,7 @@ "UserSetting", "TPCDMetadata", "TPCDDeprecationTrial", + "TopLevelTPCDDeprecationTrial", "TPCDHeuristics", "EnterprisePolicy", "StorageAccess", @@ -21952,7 +21987,9 @@ "destinationBothLimitsReached", "reportingOriginsPerSiteLimitReached", "exceedsMaxChannelCapacity", + "exceedsMaxScopesChannelCapacity", "exceedsMaxTriggerStateCardinality", + "exceedsMaxEventStatesLimit", "destinationPerDayReportingLimitReached" ] }, diff --git a/protocol-definition/version.txt b/protocol-definition/version.txt index e9babfac..e527a0f0 100644 --- a/protocol-definition/version.txt +++ b/protocol-definition/version.txt @@ -1 +1 @@ -1346313 \ No newline at end of file +1347815 \ No newline at end of file