Skip to content

Commit

Permalink
Roll protocol to r1252439
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Jan 26, 2024
1 parent 45b7b51 commit b402173
Show file tree
Hide file tree
Showing 8 changed files with 166 additions and 21 deletions.
68 changes: 53 additions & 15 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,59 @@


## Roll protocol to r1252439 — _2024-01-26T04:26:56.000Z_
###### Diff: [`45b7b51...f8f84dc`](https://github.com/ChromeDevTools/devtools-protocol/compare/`45b7b51...f8f84dc`)

```diff
@@ browser_protocol.pdl:9546 @@ experimental domain Storage
started
configResolved

- # Enum of network fetches auctions can do.
- type InterestGroupAuctionFetchType extends string
- enum
- bidderJs
- bidderWasm
- sellerJs
- bidderTrustedSignals
- sellerTrustedSignals
-
# Ad advertising element inside an interest group.
type InterestGroupAd extends object
properties
@@ -9834,8 +9825,7 @@ experimental domain Storage
parameters
boolean enable

- # Enables/Disables issuing of interestGroupAuctionEventOccurred and
- # interestGroupAuctionNetworkRequestCreated.
+ # Enables/Disables issuing of interestGroupAuctionEvent events.
experimental command setInterestGroupAuctionTracking
parameters
boolean enable
@@ -9976,19 +9966,6 @@ experimental domain Storage
# Set for started and configResolved
optional object auctionConfig

- # Specifies which auctions a particular network fetch may be related to, and
- # in what role. Note that it is not ordered with respect to
- # Network.requestWillBeSent (but will happen before loadingFinished
- # loadingFailed).
- event interestGroupAuctionNetworkRequestCreated
- parameters
- InterestGroupAuctionFetchType type
- Network.RequestId requestId
- # This is the set of the auctions using the worklet that issued this
- # request. In the case of trusted signals, it's possible that only some of
- # them actually care about the keys being queried.
- array of InterestGroupAuctionId auctions
-
# Shared storage was accessed by the associated page.
# The following parameters are included in all events.
event sharedStorageAccessed
```

## Roll protocol to r1250650 — _2024-01-23T04:27:23.000Z_
###### Diff: [`fbf4551...57a59b2`](https://github.com/ChromeDevTools/devtools-protocol/compare/`fbf4551...57a59b2`)
###### Diff: [`fbf4551...45b7b51`](https://github.com/ChromeDevTools/devtools-protocol/compare/`fbf4551...45b7b51`)

```diff
@@ browser_protocol.pdl:9546 @@ experimental domain Storage
Expand Down Expand Up @@ -10811,18 +10863,4 @@ index bd277eb..09c420e 100644
magnetometer
microphone
midi
```

## Roll protocol to r931234 — _2021-10-13T21:15:26.000Z_
###### Diff: [`76bd05b...8bbdba3`](https://github.com/ChromeDevTools/devtools-protocol/compare/`76bd05b...8bbdba3`)

```diff
@@ browser_protocol.pdl:579 @@ experimental domain Audits
kURLViolation
kTrustedTypesSinkViolation
kTrustedTypesPolicyViolation
- kWasmEvalViolation

type SourceCodeLocation extends object
properties
```
36 changes: 35 additions & 1 deletion json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -20239,6 +20239,18 @@
"configResolved"
]
},
{
"id": "InterestGroupAuctionFetchType",
"description": "Enum of network fetches auctions can do.",
"type": "string",
"enum": [
"bidderJs",
"bidderWasm",
"sellerJs",
"bidderTrustedSignals",
"sellerTrustedSignals"
]
},
{
"id": "InterestGroupAd",
"description": "Ad advertising element inside an interest group.",
Expand Down Expand Up @@ -21274,7 +21286,7 @@
},
{
"name": "setInterestGroupAuctionTracking",
"description": "Enables/Disables issuing of interestGroupAuctionEvent events.",
"description": "Enables/Disables issuing of interestGroupAuctionEventOccurred and\ninterestGroupAuctionNetworkRequestCreated.",
"experimental": true,
"parameters": [
{
Expand Down Expand Up @@ -21632,6 +21644,28 @@
}
]
},
{
"name": "interestGroupAuctionNetworkRequestCreated",
"description": "Specifies which auctions a particular network fetch may be related to, and\nin what role. Note that it is not ordered with respect to\nNetwork.requestWillBeSent (but will happen before loadingFinished\nloadingFailed).",
"parameters": [
{
"name": "type",
"$ref": "InterestGroupAuctionFetchType"
},
{
"name": "requestId",
"$ref": "Network.RequestId"
},
{
"name": "auctions",
"description": "This is the set of the auctions using the worklet that issued this\nrequest. In the case of trusted signals, it's possible that only some of\nthem actually care about the keys being queried.",
"type": "array",
"items": {
"$ref": "InterestGroupAuctionId"
}
}
]
},
{
"name": "sharedStorageAccessed",
"description": "Shared storage was accessed by the associated page.\nThe following parameters are included in all events.",
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.1250650",
"version": "0.0.1252439",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
25 changes: 24 additions & 1 deletion pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -9546,6 +9546,15 @@ experimental domain Storage
started
configResolved

# Enum of network fetches auctions can do.
type InterestGroupAuctionFetchType extends string
enum
bidderJs
bidderWasm
sellerJs
bidderTrustedSignals
sellerTrustedSignals

# Ad advertising element inside an interest group.
type InterestGroupAd extends object
properties
Expand Down Expand Up @@ -9825,7 +9834,8 @@ experimental domain Storage
parameters
boolean enable

# Enables/Disables issuing of interestGroupAuctionEvent events.
# Enables/Disables issuing of interestGroupAuctionEventOccurred and
# interestGroupAuctionNetworkRequestCreated.
experimental command setInterestGroupAuctionTracking
parameters
boolean enable
Expand Down Expand Up @@ -9966,6 +9976,19 @@ experimental domain Storage
# Set for started and configResolved
optional object auctionConfig

# Specifies which auctions a particular network fetch may be related to, and
# in what role. Note that it is not ordered with respect to
# Network.requestWillBeSent (but will happen before loadingFinished
# loadingFailed).
event interestGroupAuctionNetworkRequestCreated
parameters
InterestGroupAuctionFetchType type
Network.RequestId requestId
# This is the set of the auctions using the worklet that issued this
# request. In the case of trusted signals, it's possible that only some of
# them actually care about the keys being queried.
array of InterestGroupAuctionId auctions

# Shared storage was accessed by the associated page.
# The following parameters are included in all events.
event sharedStorageAccessed
Expand Down
10 changes: 9 additions & 1 deletion types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,13 @@ export namespace ProtocolMapping {
* target-specific.
*/
'Storage.interestGroupAuctionEventOccurred': [Protocol.Storage.InterestGroupAuctionEventOccurredEvent];
/**
* Specifies which auctions a particular network fetch may be related to, and
* in what role. Note that it is not ordered with respect to
* Network.requestWillBeSent (but will happen before loadingFinished
* loadingFailed).
*/
'Storage.interestGroupAuctionNetworkRequestCreated': [Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent];
/**
* Shared storage was accessed by the associated page.
* The following parameters are included in all events.
Expand Down Expand Up @@ -4285,7 +4292,8 @@ export namespace ProtocolMapping {
returnType: void;
};
/**
* Enables/Disables issuing of interestGroupAuctionEvent events.
* Enables/Disables issuing of interestGroupAuctionEventOccurred and
* interestGroupAuctionNetworkRequestCreated.
*/
'Storage.setInterestGroupAuctionTracking': {
paramsType: [Protocol.Storage.SetInterestGroupAuctionTrackingRequest];
Expand Down
11 changes: 10 additions & 1 deletion types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3421,7 +3421,8 @@ export namespace ProtocolProxyApi {
setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest): Promise<void>;

/**
* Enables/Disables issuing of interestGroupAuctionEvent events.
* Enables/Disables issuing of interestGroupAuctionEventOccurred and
* interestGroupAuctionNetworkRequestCreated.
*/
setInterestGroupAuctionTracking(params: Protocol.Storage.SetInterestGroupAuctionTrackingRequest): Promise<void>;

Expand Down Expand Up @@ -3517,6 +3518,14 @@ export namespace ProtocolProxyApi {
*/
on(event: 'interestGroupAuctionEventOccurred', listener: (params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent) => void): void;

/**
* Specifies which auctions a particular network fetch may be related to, and
* in what role. Note that it is not ordered with respect to
* Network.requestWillBeSent (but will happen before loadingFinished
* loadingFailed).
*/
on(event: 'interestGroupAuctionNetworkRequestCreated', listener: (params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent) => void): void;

/**
* Shared storage was accessed by the associated page.
* The following parameters are included in all events.
Expand Down
13 changes: 12 additions & 1 deletion types/protocol-tests-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3693,7 +3693,8 @@ export namespace ProtocolTestsProxyApi {
setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest): Promise<void>;

/**
* Enables/Disables issuing of interestGroupAuctionEvent events.
* Enables/Disables issuing of interestGroupAuctionEventOccurred and
* interestGroupAuctionNetworkRequestCreated.
*/
setInterestGroupAuctionTracking(params: Protocol.Storage.SetInterestGroupAuctionTrackingRequest): Promise<void>;

Expand Down Expand Up @@ -3801,6 +3802,16 @@ export namespace ProtocolTestsProxyApi {
offInterestGroupAuctionEventOccurred(listener: (event: { params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent }) => void): void;
onceInterestGroupAuctionEventOccurred(eventMatcher?: (event: { params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent }) => boolean): Promise<{ params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent }>;

/**
* Specifies which auctions a particular network fetch may be related to, and
* in what role. Note that it is not ordered with respect to
* Network.requestWillBeSent (but will happen before loadingFinished
* loadingFailed).
*/
onInterestGroupAuctionNetworkRequestCreated(listener: (event: { params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent }) => void): void;
offInterestGroupAuctionNetworkRequestCreated(listener: (event: { params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent }) => void): void;
onceInterestGroupAuctionNetworkRequestCreated(eventMatcher?: (event: { params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent }) => boolean): Promise<{ params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent }>;

/**
* Shared storage was accessed by the associated page.
* The following parameters are included in all events.
Expand Down
22 changes: 22 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15231,6 +15231,11 @@ export namespace Protocol {
*/
export type InterestGroupAuctionEventType = ('started' | 'configResolved');

/**
* Enum of network fetches auctions can do.
*/
export type InterestGroupAuctionFetchType = ('bidderJs' | 'bidderWasm' | 'sellerJs' | 'bidderTrustedSignals' | 'sellerTrustedSignals');

/**
* Ad advertising element inside an interest group.
*/
Expand Down Expand Up @@ -15889,6 +15894,23 @@ export namespace Protocol {
auctionConfig?: any;
}

/**
* Specifies which auctions a particular network fetch may be related to, and
* in what role. Note that it is not ordered with respect to
* Network.requestWillBeSent (but will happen before loadingFinished
* loadingFailed).
*/
export interface InterestGroupAuctionNetworkRequestCreatedEvent {
type: InterestGroupAuctionFetchType;
requestId: Network.RequestId;
/**
* This is the set of the auctions using the worklet that issued this
* request. In the case of trusted signals, it's possible that only some of
* them actually care about the keys being queried.
*/
auctions: InterestGroupAuctionId[];
}

/**
* Shared storage was accessed by the associated page.
* The following parameters are included in all events.
Expand Down

0 comments on commit b402173

Please sign in to comment.