devtools-protocol 0.0.1297280 → 0.0.1298513
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.
@@ -25656,7 +25656,9 @@
|
|
25656
25656
|
"MaxNumOfRunningEmbedderPrerendersExceeded",
|
25657
25657
|
"PrerenderingUrlHasEffectiveUrl",
|
25658
25658
|
"RedirectedPrerenderingUrlHasEffectiveUrl",
|
25659
|
-
"ActivationUrlHasEffectiveUrl"
|
25659
|
+
"ActivationUrlHasEffectiveUrl",
|
25660
|
+
"JavaScriptInterfaceAdded",
|
25661
|
+
"JavaScriptInterfaceRemoved"
|
25660
25662
|
]
|
25661
25663
|
},
|
25662
25664
|
{
|
@@ -26180,6 +26182,28 @@
|
|
26180
26182
|
"type": "string"
|
26181
26183
|
}
|
26182
26184
|
]
|
26185
|
+
},
|
26186
|
+
{
|
26187
|
+
"name": "launch",
|
26188
|
+
"description": "Launches the installed web app, or an url in the same web app instead of the\ndefault start url if it is provided. Returns a tab / web contents based\nTarget.TargetID which can be used to attach to via Target.attachToTarget or\nsimilar APIs.",
|
26189
|
+
"parameters": [
|
26190
|
+
{
|
26191
|
+
"name": "manifestId",
|
26192
|
+
"type": "string"
|
26193
|
+
},
|
26194
|
+
{
|
26195
|
+
"name": "url",
|
26196
|
+
"optional": true,
|
26197
|
+
"type": "string"
|
26198
|
+
}
|
26199
|
+
],
|
26200
|
+
"returns": [
|
26201
|
+
{
|
26202
|
+
"name": "targetId",
|
26203
|
+
"description": "ID of the tab target created as a result.",
|
26204
|
+
"$ref": "Target.TargetID"
|
26205
|
+
}
|
26206
|
+
]
|
26183
26207
|
}
|
26184
26208
|
]
|
26185
26209
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -12125,6 +12125,8 @@ experimental domain Preload
|
|
12125
12125
|
PrerenderingUrlHasEffectiveUrl
|
12126
12126
|
RedirectedPrerenderingUrlHasEffectiveUrl
|
12127
12127
|
ActivationUrlHasEffectiveUrl
|
12128
|
+
JavaScriptInterfaceAdded
|
12129
|
+
JavaScriptInterfaceRemoved
|
12128
12130
|
|
12129
12131
|
# Fired when a preload enabled state is updated.
|
12130
12132
|
event preloadEnabledStateUpdated
|
@@ -12369,3 +12371,15 @@ experimental domain PWA
|
|
12369
12371
|
command uninstall
|
12370
12372
|
parameters
|
12371
12373
|
string manifestId
|
12374
|
+
|
12375
|
+
# Launches the installed web app, or an url in the same web app instead of the
|
12376
|
+
# default start url if it is provided. Returns a tab / web contents based
|
12377
|
+
# Target.TargetID which can be used to attach to via Target.attachToTarget or
|
12378
|
+
# similar APIs.
|
12379
|
+
command launch
|
12380
|
+
parameters
|
12381
|
+
string manifestId
|
12382
|
+
optional string url
|
12383
|
+
returns
|
12384
|
+
# ID of the tab target created as a result.
|
12385
|
+
Target.TargetID targetId
|
@@ -4982,6 +4982,16 @@ export namespace ProtocolMapping {
|
|
4982
4982
|
paramsType: [Protocol.PWA.UninstallRequest];
|
4983
4983
|
returnType: void;
|
4984
4984
|
};
|
4985
|
+
/**
|
4986
|
+
* Launches the installed web app, or an url in the same web app instead of the
|
4987
|
+
* default start url if it is provided. Returns a tab / web contents based
|
4988
|
+
* Target.TargetID which can be used to attach to via Target.attachToTarget or
|
4989
|
+
* similar APIs.
|
4990
|
+
*/
|
4991
|
+
'PWA.launch': {
|
4992
|
+
paramsType: [Protocol.PWA.LaunchRequest];
|
4993
|
+
returnType: Protocol.PWA.LaunchResponse;
|
4994
|
+
};
|
4985
4995
|
}
|
4986
4996
|
}
|
4987
4997
|
|
@@ -4253,6 +4253,14 @@ export namespace ProtocolProxyApi {
|
|
4253
4253
|
*/
|
4254
4254
|
uninstall(params: Protocol.PWA.UninstallRequest): Promise<void>;
|
4255
4255
|
|
4256
|
+
/**
|
4257
|
+
* Launches the installed web app, or an url in the same web app instead of the
|
4258
|
+
* default start url if it is provided. Returns a tab / web contents based
|
4259
|
+
* Target.TargetID which can be used to attach to via Target.attachToTarget or
|
4260
|
+
* similar APIs.
|
4261
|
+
*/
|
4262
|
+
launch(params: Protocol.PWA.LaunchRequest): Promise<Protocol.PWA.LaunchResponse>;
|
4263
|
+
|
4256
4264
|
}
|
4257
4265
|
}
|
4258
4266
|
|
@@ -4637,6 +4637,14 @@ export namespace ProtocolTestsProxyApi {
|
|
4637
4637
|
*/
|
4638
4638
|
uninstall(params: Protocol.PWA.UninstallRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4639
4639
|
|
4640
|
+
/**
|
4641
|
+
* Launches the installed web app, or an url in the same web app instead of the
|
4642
|
+
* default start url if it is provided. Returns a tab / web contents based
|
4643
|
+
* Target.TargetID which can be used to attach to via Target.attachToTarget or
|
4644
|
+
* similar APIs.
|
4645
|
+
*/
|
4646
|
+
launch(params: Protocol.PWA.LaunchRequest): Promise<{id: number, result: Protocol.PWA.LaunchResponse, sessionId: string}>;
|
4647
|
+
|
4640
4648
|
}
|
4641
4649
|
}
|
4642
4650
|
|
package/types/protocol.d.ts
CHANGED
@@ -18306,7 +18306,7 @@ export namespace Protocol {
|
|
18306
18306
|
/**
|
18307
18307
|
* List of FinalStatus reasons for Prerender2.
|
18308
18308
|
*/
|
18309
|
-
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');
|
18309
|
+
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' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved');
|
18310
18310
|
|
18311
18311
|
/**
|
18312
18312
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
@@ -18536,6 +18536,18 @@ export namespace Protocol {
|
|
18536
18536
|
export interface UninstallRequest {
|
18537
18537
|
manifestId: string;
|
18538
18538
|
}
|
18539
|
+
|
18540
|
+
export interface LaunchRequest {
|
18541
|
+
manifestId: string;
|
18542
|
+
url?: string;
|
18543
|
+
}
|
18544
|
+
|
18545
|
+
export interface LaunchResponse {
|
18546
|
+
/**
|
18547
|
+
* ID of the tab target created as a result.
|
18548
|
+
*/
|
18549
|
+
targetId: Target.TargetID;
|
18550
|
+
}
|
18539
18551
|
}
|
18540
18552
|
}
|
18541
18553
|
|