devtools-protocol 0.0.1297943 → 0.0.1298513

Sign up to get free protection for your applications and to get access to all the features.
@@ -26182,6 +26182,28 @@
26182
26182
  "type": "string"
26183
26183
  }
26184
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
+ ]
26185
26207
  }
26186
26208
  ]
26187
26209
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1297943",
3
+ "version": "0.0.1298513",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -12371,3 +12371,15 @@ experimental domain PWA
12371
12371
  command uninstall
12372
12372
  parameters
12373
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
 
@@ -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