devtools-protocol 0.0.1297943 → 0.0.1299070

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.
@@ -25658,7 +25658,8 @@
25658
25658
  "RedirectedPrerenderingUrlHasEffectiveUrl",
25659
25659
  "ActivationUrlHasEffectiveUrl",
25660
25660
  "JavaScriptInterfaceAdded",
25661
- "JavaScriptInterfaceRemoved"
25661
+ "JavaScriptInterfaceRemoved",
25662
+ "AllPrerenderingCanceled"
25662
25663
  ]
25663
25664
  },
25664
25665
  {
@@ -26182,6 +26183,28 @@
26182
26183
  "type": "string"
26183
26184
  }
26184
26185
  ]
26186
+ },
26187
+ {
26188
+ "name": "launch",
26189
+ "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.",
26190
+ "parameters": [
26191
+ {
26192
+ "name": "manifestId",
26193
+ "type": "string"
26194
+ },
26195
+ {
26196
+ "name": "url",
26197
+ "optional": true,
26198
+ "type": "string"
26199
+ }
26200
+ ],
26201
+ "returns": [
26202
+ {
26203
+ "name": "targetId",
26204
+ "description": "ID of the tab target created as a result.",
26205
+ "$ref": "Target.TargetID"
26206
+ }
26207
+ ]
26185
26208
  }
26186
26209
  ]
26187
26210
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1297943",
3
+ "version": "0.0.1299070",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -12127,6 +12127,7 @@ experimental domain Preload
12127
12127
  ActivationUrlHasEffectiveUrl
12128
12128
  JavaScriptInterfaceAdded
12129
12129
  JavaScriptInterfaceRemoved
12130
+ AllPrerenderingCanceled
12130
12131
 
12131
12132
  # Fired when a preload enabled state is updated.
12132
12133
  event preloadEnabledStateUpdated
@@ -12371,3 +12372,15 @@ experimental domain PWA
12371
12372
  command uninstall
12372
12373
  parameters
12373
12374
  string manifestId
12375
+
12376
+ # Launches the installed web app, or an url in the same web app instead of the
12377
+ # default start url if it is provided. Returns a tab / web contents based
12378
+ # Target.TargetID which can be used to attach to via Target.attachToTarget or
12379
+ # similar APIs.
12380
+ command launch
12381
+ parameters
12382
+ string manifestId
12383
+ optional string url
12384
+ returns
12385
+ # ID of the tab target created as a result.
12386
+ 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
 
@@ -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' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved');
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' | 'AllPrerenderingCanceled');
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