Skip to content

Commit

Permalink
Roll protocol to r1298513
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed May 9, 2024
1 parent 2e6353a commit fd7b5be
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 88 deletions.
110 changes: 23 additions & 87 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@


## Roll protocol to r1298513 — _2024-05-09T04:28:16.000Z_
###### Diff: [`2e6353a...2a7ef6a`](https://github.com/ChromeDevTools/devtools-protocol/compare/2e6353a...2a7ef6a)

```diff
@@ browser_protocol.pdl:12371 @@ experimental domain PWA
command uninstall
parameters
string manifestId
+
+ # Launches the installed web app, or an url in the same web app instead of the
+ # default start url if it is provided. Returns a tab / web contents based
+ # Target.TargetID which can be used to attach to via Target.attachToTarget or
+ # similar APIs.
+ command launch
+ parameters
+ string manifestId
+ optional string url
+ returns
+ # ID of the tab target created as a result.
+ Target.TargetID targetId
```

## Roll protocol to r1297943 — _2024-05-08T04:25:54.000Z_
###### Diff: [`be37be1...86fcb5a`](https://github.com/ChromeDevTools/devtools-protocol/compare/be37be1...86fcb5a)
###### Diff: [`be37be1...2e6353a`](https://github.com/ChromeDevTools/devtools-protocol/compare/be37be1...2e6353a)

```diff
@@ browser_protocol.pdl:12125 @@ experimental domain Preload
Expand Down Expand Up @@ -11807,90 +11829,4 @@ index 09c420e..bd277eb 100644
# One of the interest groups was accessed by the associated page.
event interestGroupAccessed
parameters
```

## Roll protocol to r960453 — _2022-01-18T17:15:26.000Z_
###### Diff: [`87addc3...7572c21`](https://github.com/ChromeDevTools/devtools-protocol/compare/87addc3...7572c21)

```diff
@@ browser_protocol.pdl:8626 @@ experimental domain Storage
websql
service_workers
cache_storage
+ interest_groups
all
other

@@ -8643,6 +8644,37 @@ experimental domain Storage
properties
string issuerOrigin
number count
+
+ # Enum of interest group access types.
+ type InterestGroupAccessType extends string
+ enum
+ join
+ leave
+ update
+ bid
+ win
+
+ # Ad advertising element inside an interest group.
+ type InterestGroupAd extends object
+ properties
+ string renderUrl
+ optional string metadata
+
+ # The full details of an interest group.
+ type InterestGroupDetails extends object
+ properties
+ string ownerOrigin
+ string name
+ number expirationTime
+ string joiningOrigin
+ optional string biddingUrl
+ optional string biddingWasmHelperUrl
+ optional string updateUrl
+ optional string trustedBiddingSignalsUrl
+ array of string trustedBiddingSignalsKeys
+ optional string userBiddingSignals
+ array of InterestGroupAd ads
+ array of InterestGroupAd adComponents

# Clears storage for origin.
command clearDataForOrigin
@@ -8743,6 +8775,19 @@ experimental domain Storage
# True if any tokens were deleted, false otherwise.
boolean didDeleteTokens

+ # Gets details for a named interest group.
+ experimental command getInterestGroupDetails
+ parameters
+ string ownerOrigin
+ string name
+ returns
+ InterestGroupDetails details
+
+ # Enables/Disables issuing of interestGroupAccessed events.
+ experimental command setInterestGroupTracking
+ parameters
+ boolean enable
+
# A cache's contents have been modified.
event cacheStorageContentUpdated
parameters
@@ -8772,6 +8817,13 @@ experimental domain Storage
parameters
# Origin to update.
string origin
+
+ # One of the interest groups was accessed by the associated page.
+ event interestGroupAccessed
+ parameters
+ InterestGroupAccessType type
+ string ownerOrigin
+ string name

# The SystemInfo domain defines methods and events for querying low-level system information.
experimental domain SystemInfo
```
22 changes: 22 additions & 0 deletions json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -26182,6 +26182,28 @@
"type": "string"
}
]
},
{
"name": "launch",
"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.",
"parameters": [
{
"name": "manifestId",
"type": "string"
},
{
"name": "url",
"optional": true,
"type": "string"
}
],
"returns": [
{
"name": "targetId",
"description": "ID of the tab target created as a result.",
"$ref": "Target.TargetID"
}
]
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1297943",
"version": "0.0.1298513",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
12 changes: 12 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -12371,3 +12371,15 @@ experimental domain PWA
command uninstall
parameters
string manifestId

# Launches the installed web app, or an url in the same web app instead of the
# default start url if it is provided. Returns a tab / web contents based
# Target.TargetID which can be used to attach to via Target.attachToTarget or
# similar APIs.
command launch
parameters
string manifestId
optional string url
returns
# ID of the tab target created as a result.
Target.TargetID targetId
10 changes: 10 additions & 0 deletions types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4982,6 +4982,16 @@ export namespace ProtocolMapping {
paramsType: [Protocol.PWA.UninstallRequest];
returnType: void;
};
/**
* Launches the installed web app, or an url in the same web app instead of the
* default start url if it is provided. Returns a tab / web contents based
* Target.TargetID which can be used to attach to via Target.attachToTarget or
* similar APIs.
*/
'PWA.launch': {
paramsType: [Protocol.PWA.LaunchRequest];
returnType: Protocol.PWA.LaunchResponse;
};
}
}

Expand Down
8 changes: 8 additions & 0 deletions types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4253,6 +4253,14 @@ export namespace ProtocolProxyApi {
*/
uninstall(params: Protocol.PWA.UninstallRequest): Promise<void>;

/**
* Launches the installed web app, or an url in the same web app instead of the
* default start url if it is provided. Returns a tab / web contents based
* Target.TargetID which can be used to attach to via Target.attachToTarget or
* similar APIs.
*/
launch(params: Protocol.PWA.LaunchRequest): Promise<Protocol.PWA.LaunchResponse>;

}
}

Expand Down
8 changes: 8 additions & 0 deletions types/protocol-tests-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4637,6 +4637,14 @@ export namespace ProtocolTestsProxyApi {
*/
uninstall(params: Protocol.PWA.UninstallRequest): Promise<{id: number, result: void, sessionId: string}>;

/**
* Launches the installed web app, or an url in the same web app instead of the
* default start url if it is provided. Returns a tab / web contents based
* Target.TargetID which can be used to attach to via Target.attachToTarget or
* similar APIs.
*/
launch(params: Protocol.PWA.LaunchRequest): Promise<{id: number, result: Protocol.PWA.LaunchResponse, sessionId: string}>;

}
}

Expand Down
12 changes: 12 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18536,6 +18536,18 @@ export namespace Protocol {
export interface UninstallRequest {
manifestId: string;
}

export interface LaunchRequest {
manifestId: string;
url?: string;
}

export interface LaunchResponse {
/**
* ID of the tab target created as a result.
*/
targetId: Target.TargetID;
}
}
}

Expand Down

0 comments on commit fd7b5be

Please sign in to comment.