devtools-protocol 0.0.1207450 → 0.0.1209236
Sign up to get free protection for your applications and to get access to all the features.
@@ -15278,6 +15278,28 @@
|
|
15278
15278
|
}
|
15279
15279
|
]
|
15280
15280
|
},
|
15281
|
+
{
|
15282
|
+
"id": "WindowControlsOverlayConfig",
|
15283
|
+
"description": "Configuration for Window Controls Overlay",
|
15284
|
+
"type": "object",
|
15285
|
+
"properties": [
|
15286
|
+
{
|
15287
|
+
"name": "showCSS",
|
15288
|
+
"description": "Whether the title bar CSS should be shown when emulating the Window Controls Overlay.",
|
15289
|
+
"type": "boolean"
|
15290
|
+
},
|
15291
|
+
{
|
15292
|
+
"name": "selectedPlatform",
|
15293
|
+
"description": "Seleted platforms to show the overlay.",
|
15294
|
+
"type": "string"
|
15295
|
+
},
|
15296
|
+
{
|
15297
|
+
"name": "themeColor",
|
15298
|
+
"description": "The theme color defined in app manifest.",
|
15299
|
+
"type": "string"
|
15300
|
+
}
|
15301
|
+
]
|
15302
|
+
},
|
15281
15303
|
{
|
15282
15304
|
"id": "ContainerQueryHighlightConfig",
|
15283
15305
|
"type": "object",
|
@@ -15812,6 +15834,18 @@
|
|
15812
15834
|
}
|
15813
15835
|
}
|
15814
15836
|
]
|
15837
|
+
},
|
15838
|
+
{
|
15839
|
+
"name": "setShowWindowControlsOverlay",
|
15840
|
+
"description": "Show Window Controls Overlay for PWA",
|
15841
|
+
"parameters": [
|
15842
|
+
{
|
15843
|
+
"name": "windowControlsOverlayConfig",
|
15844
|
+
"description": "Window Controls Overlay data, null means hide Window Controls Overlay",
|
15845
|
+
"optional": true,
|
15846
|
+
"$ref": "WindowControlsOverlayConfig"
|
15847
|
+
}
|
15848
|
+
]
|
15815
15849
|
}
|
15816
15850
|
],
|
15817
15851
|
"events": [
|
@@ -24016,7 +24050,6 @@
|
|
24016
24050
|
"MemoryPressureOnTrigger",
|
24017
24051
|
"MemoryPressureAfterTriggered",
|
24018
24052
|
"PrerenderingDisabledByDevTools",
|
24019
|
-
"ResourceLoadBlockedByClient",
|
24020
24053
|
"SpeculationRuleRemoved",
|
24021
24054
|
"ActivatedWithAuxiliaryBrowsingContexts",
|
24022
24055
|
"MaxNumOfRunningEagerPrerendersExceeded",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -7111,6 +7111,16 @@ experimental domain Overlay
|
|
7111
7111
|
# The content box highlight outline color (default: transparent).
|
7112
7112
|
optional DOM.RGBA outlineColor
|
7113
7113
|
|
7114
|
+
# Configuration for Window Controls Overlay
|
7115
|
+
type WindowControlsOverlayConfig extends object
|
7116
|
+
properties
|
7117
|
+
# Whether the title bar CSS should be shown when emulating the Window Controls Overlay.
|
7118
|
+
boolean showCSS
|
7119
|
+
# Seleted platforms to show the overlay.
|
7120
|
+
string selectedPlatform
|
7121
|
+
# The theme color defined in app manifest.
|
7122
|
+
string themeColor
|
7123
|
+
|
7114
7124
|
type ContainerQueryHighlightConfig extends object
|
7115
7125
|
properties
|
7116
7126
|
# A descriptor for the highlight appearance of container query containers.
|
@@ -7361,6 +7371,12 @@ experimental domain Overlay
|
|
7361
7371
|
# An array of node identifiers and descriptors for the highlight appearance.
|
7362
7372
|
array of IsolatedElementHighlightConfig isolatedElementHighlightConfigs
|
7363
7373
|
|
7374
|
+
# Show Window Controls Overlay for PWA
|
7375
|
+
command setShowWindowControlsOverlay
|
7376
|
+
parameters
|
7377
|
+
# Window Controls Overlay data, null means hide Window Controls Overlay
|
7378
|
+
optional WindowControlsOverlayConfig windowControlsOverlayConfig
|
7379
|
+
|
7364
7380
|
# Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
7365
7381
|
# user manually inspects an element.
|
7366
7382
|
event inspectNodeRequested
|
@@ -11376,7 +11392,6 @@ experimental domain Preload
|
|
11376
11392
|
MemoryPressureOnTrigger
|
11377
11393
|
MemoryPressureAfterTriggered
|
11378
11394
|
PrerenderingDisabledByDevTools
|
11379
|
-
ResourceLoadBlockedByClient
|
11380
11395
|
SpeculationRuleRemoved
|
11381
11396
|
ActivatedWithAuxiliaryBrowsingContexts
|
11382
11397
|
MaxNumOfRunningEagerPrerendersExceeded
|
@@ -3536,6 +3536,13 @@ export namespace ProtocolMapping {
|
|
3536
3536
|
paramsType: [Protocol.Overlay.SetShowIsolatedElementsRequest];
|
3537
3537
|
returnType: void;
|
3538
3538
|
};
|
3539
|
+
/**
|
3540
|
+
* Show Window Controls Overlay for PWA
|
3541
|
+
*/
|
3542
|
+
'Overlay.setShowWindowControlsOverlay': {
|
3543
|
+
paramsType: [Protocol.Overlay.SetShowWindowControlsOverlayRequest?];
|
3544
|
+
returnType: void;
|
3545
|
+
};
|
3539
3546
|
/**
|
3540
3547
|
* Deprecated, please use addScriptToEvaluateOnNewDocument instead.
|
3541
3548
|
*/
|
@@ -2692,6 +2692,11 @@ export namespace ProtocolProxyApi {
|
|
2692
2692
|
*/
|
2693
2693
|
setShowIsolatedElements(params: Protocol.Overlay.SetShowIsolatedElementsRequest): Promise<void>;
|
2694
2694
|
|
2695
|
+
/**
|
2696
|
+
* Show Window Controls Overlay for PWA
|
2697
|
+
*/
|
2698
|
+
setShowWindowControlsOverlay(params: Protocol.Overlay.SetShowWindowControlsOverlayRequest): Promise<void>;
|
2699
|
+
|
2695
2700
|
/**
|
2696
2701
|
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
2697
2702
|
* user manually inspects an element.
|
package/types/protocol.d.ts
CHANGED
@@ -12355,6 +12355,24 @@ export namespace Protocol {
|
|
12355
12355
|
outlineColor?: DOM.RGBA;
|
12356
12356
|
}
|
12357
12357
|
|
12358
|
+
/**
|
12359
|
+
* Configuration for Window Controls Overlay
|
12360
|
+
*/
|
12361
|
+
export interface WindowControlsOverlayConfig {
|
12362
|
+
/**
|
12363
|
+
* Whether the title bar CSS should be shown when emulating the Window Controls Overlay.
|
12364
|
+
*/
|
12365
|
+
showCSS: boolean;
|
12366
|
+
/**
|
12367
|
+
* Seleted platforms to show the overlay.
|
12368
|
+
*/
|
12369
|
+
selectedPlatform: string;
|
12370
|
+
/**
|
12371
|
+
* The theme color defined in app manifest.
|
12372
|
+
*/
|
12373
|
+
themeColor: string;
|
12374
|
+
}
|
12375
|
+
|
12358
12376
|
export interface ContainerQueryHighlightConfig {
|
12359
12377
|
/**
|
12360
12378
|
* A descriptor for the highlight appearance of container query containers.
|
@@ -12683,6 +12701,13 @@ export namespace Protocol {
|
|
12683
12701
|
isolatedElementHighlightConfigs: IsolatedElementHighlightConfig[];
|
12684
12702
|
}
|
12685
12703
|
|
12704
|
+
export interface SetShowWindowControlsOverlayRequest {
|
12705
|
+
/**
|
12706
|
+
* Window Controls Overlay data, null means hide Window Controls Overlay
|
12707
|
+
*/
|
12708
|
+
windowControlsOverlayConfig?: WindowControlsOverlayConfig;
|
12709
|
+
}
|
12710
|
+
|
12686
12711
|
/**
|
12687
12712
|
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
12688
12713
|
* user manually inspects an element.
|
@@ -17515,7 +17540,7 @@ export namespace Protocol {
|
|
17515
17540
|
/**
|
17516
17541
|
* List of FinalStatus reasons for Prerender2.
|
17517
17542
|
*/
|
17518
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | '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' | '
|
17543
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | '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' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl');
|
17519
17544
|
|
17520
17545
|
/**
|
17521
17546
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|