devtools-protocol 0.0.1195796 → 0.0.1198794
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
| @@ -4462,6 +4462,31 @@ | |
| 4462 4462 | 
             
                                    }
         | 
| 4463 4463 | 
             
                                ]
         | 
| 4464 4464 | 
             
                            },
         | 
| 4465 | 
            +
                            {
         | 
| 4466 | 
            +
                                "name": "setPropertyRulePropertyName",
         | 
| 4467 | 
            +
                                "description": "Modifies the property rule property name.",
         | 
| 4468 | 
            +
                                "parameters": [
         | 
| 4469 | 
            +
                                    {
         | 
| 4470 | 
            +
                                        "name": "styleSheetId",
         | 
| 4471 | 
            +
                                        "$ref": "StyleSheetId"
         | 
| 4472 | 
            +
                                    },
         | 
| 4473 | 
            +
                                    {
         | 
| 4474 | 
            +
                                        "name": "range",
         | 
| 4475 | 
            +
                                        "$ref": "SourceRange"
         | 
| 4476 | 
            +
                                    },
         | 
| 4477 | 
            +
                                    {
         | 
| 4478 | 
            +
                                        "name": "propertyName",
         | 
| 4479 | 
            +
                                        "type": "string"
         | 
| 4480 | 
            +
                                    }
         | 
| 4481 | 
            +
                                ],
         | 
| 4482 | 
            +
                                "returns": [
         | 
| 4483 | 
            +
                                    {
         | 
| 4484 | 
            +
                                        "name": "propertyName",
         | 
| 4485 | 
            +
                                        "description": "The resulting key text after modification.",
         | 
| 4486 | 
            +
                                        "$ref": "Value"
         | 
| 4487 | 
            +
                                    }
         | 
| 4488 | 
            +
                                ]
         | 
| 4489 | 
            +
                            },
         | 
| 4465 4490 | 
             
                            {
         | 
| 4466 4491 | 
             
                                "name": "setKeyframeKey",
         | 
| 4467 4492 | 
             
                                "description": "Modifies the keyframe rule key text.",
         | 
| @@ -12372,6 +12397,7 @@ | |
| 12372 12397 | 
             
                                    "SameSiteUnspecifiedTreatedAsLax",
         | 
| 12373 12398 | 
             
                                    "SameSiteNoneInsecure",
         | 
| 12374 12399 | 
             
                                    "UserPreferences",
         | 
| 12400 | 
            +
                                    "ThirdPartyPhaseout",
         | 
| 12375 12401 | 
             
                                    "ThirdPartyBlockedInFirstPartySet",
         | 
| 12376 12402 | 
             
                                    "SyntaxError",
         | 
| 12377 12403 | 
             
                                    "SchemeNotSupported",
         | 
| @@ -12385,7 +12411,8 @@ | |
| 12385 12411 | 
             
                                    "SamePartyFromCrossPartyContext",
         | 
| 12386 12412 | 
             
                                    "SamePartyConflictsWithOtherAttributes",
         | 
| 12387 12413 | 
             
                                    "NameValuePairExceedsMaxSize",
         | 
| 12388 | 
            -
                                    "DisallowedCharacter"
         | 
| 12414 | 
            +
                                    "DisallowedCharacter",
         | 
| 12415 | 
            +
                                    "NoCookieContent"
         | 
| 12389 12416 | 
             
                                ]
         | 
| 12390 12417 | 
             
                            },
         | 
| 12391 12418 | 
             
                            {
         | 
| @@ -12402,6 +12429,7 @@ | |
| 12402 12429 | 
             
                                    "SameSiteUnspecifiedTreatedAsLax",
         | 
| 12403 12430 | 
             
                                    "SameSiteNoneInsecure",
         | 
| 12404 12431 | 
             
                                    "UserPreferences",
         | 
| 12432 | 
            +
                                    "ThirdPartyPhaseout",
         | 
| 12405 12433 | 
             
                                    "ThirdPartyBlockedInFirstPartySet",
         | 
| 12406 12434 | 
             
                                    "UnknownError",
         | 
| 12407 12435 | 
             
                                    "SchemefulSameSiteStrict",
         | 
| @@ -23911,7 +23939,6 @@ | |
| 23911 23939 | 
             
                                    "NavigationBadHttpStatus",
         | 
| 23912 23940 | 
             
                                    "ClientCertRequested",
         | 
| 23913 23941 | 
             
                                    "NavigationRequestNetworkError",
         | 
| 23914 | 
            -
                                    "MaxNumOfRunningPrerendersExceeded",
         | 
| 23915 23942 | 
             
                                    "CancelAllHostsForTesting",
         | 
| 23916 23943 | 
             
                                    "DidFailLoad",
         | 
| 23917 23944 | 
             
                                    "Stop",
         | 
| @@ -23955,7 +23982,10 @@ | |
| 23955 23982 | 
             
                                    "PrerenderingDisabledByDevTools",
         | 
| 23956 23983 | 
             
                                    "ResourceLoadBlockedByClient",
         | 
| 23957 23984 | 
             
                                    "SpeculationRuleRemoved",
         | 
| 23958 | 
            -
                                    "ActivatedWithAuxiliaryBrowsingContexts"
         | 
| 23985 | 
            +
                                    "ActivatedWithAuxiliaryBrowsingContexts",
         | 
| 23986 | 
            +
                                    "MaxNumOfRunningEagerPrerendersExceeded",
         | 
| 23987 | 
            +
                                    "MaxNumOfRunningNonEagerPrerendersExceeded",
         | 
| 23988 | 
            +
                                    "MaxNumOfRunningEmbedderPrerendersExceeded"
         | 
| 23959 23989 | 
             
                                ]
         | 
| 23960 23990 | 
             
                            },
         | 
| 23961 23991 | 
             
                            {
         | 
    
        package/package.json
    CHANGED
    
    
    
        package/pdl/browser_protocol.pdl
    CHANGED
    
    | @@ -2095,6 +2095,16 @@ experimental domain CSS | |
| 2095 2095 | 
             
                  string propertyName
         | 
| 2096 2096 | 
             
                  string value
         | 
| 2097 2097 |  | 
| 2098 | 
            +
              # Modifies the property rule property name.
         | 
| 2099 | 
            +
              command setPropertyRulePropertyName
         | 
| 2100 | 
            +
                parameters
         | 
| 2101 | 
            +
                  StyleSheetId styleSheetId
         | 
| 2102 | 
            +
                  SourceRange range
         | 
| 2103 | 
            +
                  string propertyName
         | 
| 2104 | 
            +
                returns
         | 
| 2105 | 
            +
                  # The resulting key text after modification.
         | 
| 2106 | 
            +
                  Value propertyName
         | 
| 2107 | 
            +
             | 
| 2098 2108 | 
             
              # Modifies the keyframe rule key text.
         | 
| 2099 2109 | 
             
              command setKeyframeKey
         | 
| 2100 2110 | 
             
                parameters
         | 
| @@ -5726,6 +5736,8 @@ domain Network | |
| 5726 5736 | 
             
                  SameSiteNoneInsecure
         | 
| 5727 5737 | 
             
                  # The cookie was not stored due to user preferences.
         | 
| 5728 5738 | 
             
                  UserPreferences
         | 
| 5739 | 
            +
                  # The cookie was blocked due to third-party cookie phaseout.
         | 
| 5740 | 
            +
                  ThirdPartyPhaseout
         | 
| 5729 5741 | 
             
                  # The cookie was blocked by third-party cookie blocking between sites in
         | 
| 5730 5742 | 
             
                  # the same First-Party Set.
         | 
| 5731 5743 | 
             
                  ThirdPartyBlockedInFirstPartySet
         | 
| @@ -5771,6 +5783,8 @@ domain Network | |
| 5771 5783 | 
             
                  # character if it appears in the middle of the cookie name, value, an
         | 
| 5772 5784 | 
             
                  # attribute name, or an attribute value.
         | 
| 5773 5785 | 
             
                  DisallowedCharacter
         | 
| 5786 | 
            +
                  # Cookie contains no content or only whitespace.
         | 
| 5787 | 
            +
                  NoCookieContent
         | 
| 5774 5788 |  | 
| 5775 5789 | 
             
              # Types of reasons why a cookie may not be sent with a request.
         | 
| 5776 5790 | 
             
              experimental type CookieBlockedReason extends string
         | 
| @@ -5797,6 +5811,8 @@ domain Network | |
| 5797 5811 | 
             
                  SameSiteNoneInsecure
         | 
| 5798 5812 | 
             
                  # The cookie was not sent due to user preferences.
         | 
| 5799 5813 | 
             
                  UserPreferences
         | 
| 5814 | 
            +
                  # The cookie was blocked due to third-party cookie phaseout.
         | 
| 5815 | 
            +
                  ThirdPartyPhaseout
         | 
| 5800 5816 | 
             
                  # The cookie was blocked by third-party cookie blocking between sites in
         | 
| 5801 5817 | 
             
                  # the same First-Party Set.
         | 
| 5802 5818 | 
             
                  ThirdPartyBlockedInFirstPartySet
         | 
| @@ -11296,7 +11312,6 @@ experimental domain Preload | |
| 11296 11312 | 
             
                  NavigationBadHttpStatus
         | 
| 11297 11313 | 
             
                  ClientCertRequested
         | 
| 11298 11314 | 
             
                  NavigationRequestNetworkError
         | 
| 11299 | 
            -
                  MaxNumOfRunningPrerendersExceeded
         | 
| 11300 11315 | 
             
                  CancelAllHostsForTesting
         | 
| 11301 11316 | 
             
                  DidFailLoad
         | 
| 11302 11317 | 
             
                  Stop
         | 
| @@ -11341,6 +11356,9 @@ experimental domain Preload | |
| 11341 11356 | 
             
                  ResourceLoadBlockedByClient
         | 
| 11342 11357 | 
             
                  SpeculationRuleRemoved
         | 
| 11343 11358 | 
             
                  ActivatedWithAuxiliaryBrowsingContexts
         | 
| 11359 | 
            +
                  MaxNumOfRunningEagerPrerendersExceeded
         | 
| 11360 | 
            +
                  MaxNumOfRunningNonEagerPrerendersExceeded
         | 
| 11361 | 
            +
                  MaxNumOfRunningEmbedderPrerendersExceeded
         | 
| 11344 11362 |  | 
| 11345 11363 | 
             
              # Fired when a prerender attempt is completed.
         | 
| 11346 11364 | 
             
              event prerenderAttemptCompleted
         | 
| @@ -1796,6 +1796,13 @@ export namespace ProtocolMapping { | |
| 1796 1796 | 
             
                        paramsType: [Protocol.CSS.SetEffectivePropertyValueForNodeRequest];
         | 
| 1797 1797 | 
             
                        returnType: void;
         | 
| 1798 1798 | 
             
                    };
         | 
| 1799 | 
            +
                    /**
         | 
| 1800 | 
            +
                     * Modifies the property rule property name.
         | 
| 1801 | 
            +
                     */
         | 
| 1802 | 
            +
                    'CSS.setPropertyRulePropertyName': {
         | 
| 1803 | 
            +
                        paramsType: [Protocol.CSS.SetPropertyRulePropertyNameRequest];
         | 
| 1804 | 
            +
                        returnType: Protocol.CSS.SetPropertyRulePropertyNameResponse;
         | 
| 1805 | 
            +
                    };
         | 
| 1799 1806 | 
             
                    /**
         | 
| 1800 1807 | 
             
                     * Modifies the keyframe rule key text.
         | 
| 1801 1808 | 
             
                     */
         | 
| @@ -1063,6 +1063,11 @@ export namespace ProtocolProxyApi { | |
| 1063 1063 | 
             
                     */
         | 
| 1064 1064 | 
             
                    setEffectivePropertyValueForNode(params: Protocol.CSS.SetEffectivePropertyValueForNodeRequest): Promise<void>;
         | 
| 1065 1065 |  | 
| 1066 | 
            +
                    /**
         | 
| 1067 | 
            +
                     * Modifies the property rule property name.
         | 
| 1068 | 
            +
                     */
         | 
| 1069 | 
            +
                    setPropertyRulePropertyName(params: Protocol.CSS.SetPropertyRulePropertyNameRequest): Promise<Protocol.CSS.SetPropertyRulePropertyNameResponse>;
         | 
| 1070 | 
            +
             | 
| 1066 1071 | 
             
                    /**
         | 
| 1067 1072 | 
             
                     * Modifies the keyframe rule key text.
         | 
| 1068 1073 | 
             
                     */
         | 
    
        package/types/protocol.d.ts
    CHANGED
    
    | @@ -5324,6 +5324,19 @@ export namespace Protocol { | |
| 5324 5324 | 
             
                        value: string;
         | 
| 5325 5325 | 
             
                    }
         | 
| 5326 5326 |  | 
| 5327 | 
            +
                    export interface SetPropertyRulePropertyNameRequest {
         | 
| 5328 | 
            +
                        styleSheetId: StyleSheetId;
         | 
| 5329 | 
            +
                        range: SourceRange;
         | 
| 5330 | 
            +
                        propertyName: string;
         | 
| 5331 | 
            +
                    }
         | 
| 5332 | 
            +
             | 
| 5333 | 
            +
                    export interface SetPropertyRulePropertyNameResponse {
         | 
| 5334 | 
            +
                        /**
         | 
| 5335 | 
            +
                         * The resulting key text after modification.
         | 
| 5336 | 
            +
                         */
         | 
| 5337 | 
            +
                        propertyName: Value;
         | 
| 5338 | 
            +
                    }
         | 
| 5339 | 
            +
             | 
| 5327 5340 | 
             
                    export interface SetKeyframeKeyRequest {
         | 
| 5328 5341 | 
             
                        styleSheetId: StyleSheetId;
         | 
| 5329 5342 | 
             
                        range: SourceRange;
         | 
| @@ -10429,12 +10442,12 @@ export namespace Protocol { | |
| 10429 10442 | 
             
                    /**
         | 
| 10430 10443 | 
             
                     * Types of reasons why a cookie may not be stored from a response.
         | 
| 10431 10444 | 
             
                     */
         | 
| 10432 | 
            -
                    export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyBlockedInFirstPartySet' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'SamePartyConflictsWithOtherAttributes' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter');
         | 
| 10445 | 
            +
                    export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'SamePartyConflictsWithOtherAttributes' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter' | 'NoCookieContent');
         | 
| 10433 10446 |  | 
| 10434 10447 | 
             
                    /**
         | 
| 10435 10448 | 
             
                     * Types of reasons why a cookie may not be sent with a request.
         | 
| 10436 10449 | 
             
                     */
         | 
| 10437 | 
            -
                    export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize');
         | 
| 10450 | 
            +
                    export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize');
         | 
| 10438 10451 |  | 
| 10439 10452 | 
             
                    /**
         | 
| 10440 10453 | 
             
                     * A cookie which was not stored from a response with the corresponding reason.
         | 
| @@ -17506,7 +17519,7 @@ export namespace Protocol { | |
| 17506 17519 | 
             
                    /**
         | 
| 17507 17520 | 
             
                     * List of FinalStatus reasons for Prerender2.
         | 
| 17508 17521 | 
             
                     */
         | 
| 17509 | 
            -
                    export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | ' | 
| 17522 | 
            +
                    export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'ResourceLoadBlockedByClient' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded');
         | 
| 17510 17523 |  | 
| 17511 17524 | 
             
                    /**
         | 
| 17512 17525 | 
             
                     * Preloading status values, see also PreloadingTriggeringOutcome. This
         |