Skip to content

Commit

Permalink
Roll protocol to r1275388
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Mar 20, 2024
1 parent 8241e6c commit 6a229aa
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 17 deletions.
37 changes: 21 additions & 16 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@


## Roll protocol to r1275388 — _2024-03-20T04:26:38.000Z_
###### Diff: [`8241e6c...cf7df3d`](https://github.com/ChromeDevTools/devtools-protocol/compare/8241e6c...cf7df3d)

```diff
@@ browser_protocol.pdl:10148 @@ experimental domain Storage
parameters
boolean enable

+ # Sends all pending Attribution Reports immediately, regardless of their
+ # scheduled report time.
+ experimental command sendPendingAttributionReports
+ returns
+ # The number of reports that were sent.
+ integer numSent
+
experimental type AttributionReportingSourceType extends string
enum
navigation
```

## Roll protocol to r1273771 — _2024-03-16T04:26:55.000Z_
###### Diff: [`4537bcb...5071d2a`](https://github.com/ChromeDevTools/devtools-protocol/compare/4537bcb...5071d2a)
###### Diff: [`4537bcb...8241e6c`](https://github.com/ChromeDevTools/devtools-protocol/compare/4537bcb...8241e6c)

```diff
@@ browser_protocol.pdl:5539 @@ domain Network
Expand Down Expand Up @@ -11579,19 +11599,4 @@ index 09c420e..bd277eb 100644
optional array of string originsWithUniversalNetworkAccess

returns
```

## Roll protocol to r943687 — _2021-11-19T22:15:27.000Z_
###### Diff: [`946136a...15f524c`](https://github.com/ChromeDevTools/devtools-protocol/compare/946136a...15f524c)

```diff
@@ browser_protocol.pdl:8929 @@ domain Target
optional string proxyServer
# Proxy bypass list, similar to the one passed to --proxy-bypass-list
optional string proxyBypassList
+ # An optional list of origins to grant unlimited cross-origin access to.
+ optional array of string originsWithUniversalNetworkAccess

returns
# The id of the context created.
```
12 changes: 12 additions & 0 deletions json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -21668,6 +21668,18 @@
}
]
},
{
"name": "sendPendingAttributionReports",
"description": "Sends all pending Attribution Reports immediately, regardless of their\nscheduled report time.",
"experimental": true,
"returns": [
{
"name": "numSent",
"description": "The number of reports that were sent.",
"type": "integer"
}
]
},
{
"name": "getRelatedWebsiteSets",
"description": "Returns the effective Related Website Sets in use by this profile for the browser\nsession. The effective Related Website Sets will not change during a browser session.",
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.1273771",
"version": "0.0.1275388",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
7 changes: 7 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -10148,6 +10148,13 @@ experimental domain Storage
parameters
boolean enable

# Sends all pending Attribution Reports immediately, regardless of their
# scheduled report time.
experimental command sendPendingAttributionReports
returns
# The number of reports that were sent.
integer numSent

experimental type AttributionReportingSourceType extends string
enum
navigation
Expand Down
8 changes: 8 additions & 0 deletions types/protocol-mapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4392,6 +4392,14 @@ export namespace ProtocolMapping {
paramsType: [Protocol.Storage.SetAttributionReportingTrackingRequest];
returnType: void;
};
/**
* Sends all pending Attribution Reports immediately, regardless of their
* scheduled report time.
*/
'Storage.sendPendingAttributionReports': {
paramsType: [];
returnType: Protocol.Storage.SendPendingAttributionReportsResponse;
};
/**
* Returns the effective Related Website Sets in use by this profile for the browser
* session. The effective Related Website Sets will not change during a browser session.
Expand Down
6 changes: 6 additions & 0 deletions types/protocol-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3493,6 +3493,12 @@ export namespace ProtocolProxyApi {
*/
setAttributionReportingTracking(params: Protocol.Storage.SetAttributionReportingTrackingRequest): Promise<void>;

/**
* Sends all pending Attribution Reports immediately, regardless of their
* scheduled report time.
*/
sendPendingAttributionReports(): Promise<Protocol.Storage.SendPendingAttributionReportsResponse>;

/**
* Returns the effective Related Website Sets in use by this profile for the browser
* session. The effective Related Website Sets will not change during a browser session.
Expand Down
6 changes: 6 additions & 0 deletions types/protocol-tests-proxy-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3765,6 +3765,12 @@ export namespace ProtocolTestsProxyApi {
*/
setAttributionReportingTracking(params: Protocol.Storage.SetAttributionReportingTrackingRequest): Promise<void>;

/**
* Sends all pending Attribution Reports immediately, regardless of their
* scheduled report time.
*/
sendPendingAttributionReports(): Promise<Protocol.Storage.SendPendingAttributionReportsResponse>;

/**
* Returns the effective Related Website Sets in use by this profile for the browser
* session. The effective Related Website Sets will not change during a browser session.
Expand Down
7 changes: 7 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15931,6 +15931,13 @@ export namespace Protocol {
enable: boolean;
}

export interface SendPendingAttributionReportsResponse {
/**
* The number of reports that were sent.
*/
numSent: integer;
}

export interface GetRelatedWebsiteSetsResponse {
sets: RelatedWebsiteSet[];
}
Expand Down

0 comments on commit 6a229aa

Please sign in to comment.