diff --git a/changelog.md b/changelog.md index 241298da0a..476c48381c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,106 @@ +## Roll protocol to r1271979 — _2024-03-13T04:25:43.000Z_ +###### Diff: [`08fa435...45b0f6d`](https://github.com/ChromeDevTools/devtools-protocol/compare/08fa435...45b0f6d) + +```diff +@@ browser_protocol.pdl:7735 @@ domain Page + ch-ua-platform + ch-ua-model + ch-ua-mobile +- ch-ua-form-factor ++ ch-ua-form-factors + ch-ua-full-version + ch-ua-full-version-list + ch-ua-platform-version +@@ -9655,28 +9655,6 @@ experimental domain Storage + bidderTrustedSignals + sellerTrustedSignals + +- # 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 +- Network.TimeSinceEpoch expirationTime +- string joiningOrigin +- optional string biddingLogicURL +- optional string biddingWasmHelperURL +- optional string updateURL +- optional string trustedBiddingSignalsURL +- array of string trustedBiddingSignalsKeys +- optional string userBiddingSignals +- array of InterestGroupAd ads +- array of InterestGroupAd adComponents +- + # Enum of shared storage access types. + type SharedStorageAccessType extends string + enum +@@ -9696,6 +9674,10 @@ experimental domain Storage + workletEntries + workletLength + workletRemainingBudget ++ headerSet ++ headerAppend ++ headerDelete ++ headerClear + + # Struct for a single key-value pair in an origin's shared storage. + type SharedStorageEntry extends object +@@ -9754,18 +9736,24 @@ experimental domain Storage + # SharedStorageAccessType.documentDelete, + # SharedStorageAccessType.workletSet, + # SharedStorageAccessType.workletAppend, +- # SharedStorageAccessType.workletDelete, and +- # SharedStorageAccessType.workletGet. ++ # SharedStorageAccessType.workletDelete, ++ # SharedStorageAccessType.workletGet, ++ # SharedStorageAccessType.headerSet, ++ # SharedStorageAccessType.headerAppend, and ++ # SharedStorageAccessType.headerDelete. + optional string key + # Value for a specific entry in an origin's shared storage. + # Present only for SharedStorageAccessType.documentSet, + # SharedStorageAccessType.documentAppend, +- # SharedStorageAccessType.workletSet, and +- # SharedStorageAccessType.workletAppend. ++ # SharedStorageAccessType.workletSet, ++ # SharedStorageAccessType.workletAppend, ++ # SharedStorageAccessType.headerSet, and ++ # SharedStorageAccessType.headerAppend. + optional string value + # Whether or not to set an entry for a key if that key is already present. +- # Present only for SharedStorageAccessType.documentSet and +- # SharedStorageAccessType.workletSet. ++ # Present only for SharedStorageAccessType.documentSet, ++ # SharedStorageAccessType.workletSet, and ++ # SharedStorageAccessType.headerSet. + optional boolean ignoreIfPresent + + type StorageBucketsDurability extends string +@@ -9933,7 +9921,11 @@ experimental domain Storage + string ownerOrigin + string name + returns +- InterestGroupDetails details ++ # This largely corresponds to: ++ # https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup ++ # but has absolute expirationTime instead of relative lifetimeMs and ++ # also adds joiningOrigin. ++ object details + + # Enables/Disables issuing of interestGroupAccessed events. + experimental command setInterestGroupTracking +``` + ## Roll protocol to r1271365 — _2024-03-12T04:27:11.000Z_ -###### Diff: [`d932e1e...a93a67b`](https://github.com/ChromeDevTools/devtools-protocol/compare/d932e1e...a93a67b) +###### Diff: [`d932e1e...08fa435`](https://github.com/ChromeDevTools/devtools-protocol/compare/d932e1e...08fa435) ```diff @@ browser_protocol.pdl:6356 @@ domain Network @@ -11471,28 +11570,4 @@ index 09c420e..bd277eb 100644 experimental domain Animation depends on Runtime depends on DOM -``` - -## Roll protocol to r940865 — _2021-11-11T19:15:26.000Z_ -###### Diff: [`a2c84e8...0308368`](https://github.com/ChromeDevTools/devtools-protocol/compare/a2c84e8...0308368) - -```diff -@@ browser_protocol.pdl:3383 @@ domain Emulation - experimental type UserAgentMetadata extends object - properties - optional array of UserAgentBrandVersion brands -- optional string fullVersion -+ optional array of UserAgentBrandVersion fullVersionList -+ deprecated optional string fullVersion - string platform - string platformVersion - string architecture -@@ -6767,6 +6768,7 @@ domain Page - ch-ua-model - ch-ua-mobile - ch-ua-full-version -+ ch-ua-full-version-list - ch-ua-platform-version - ch-ua-reduced - ch-viewport-height ``` \ No newline at end of file diff --git a/json/browser_protocol.json b/json/browser_protocol.json index 3aa36ff97e..37c4b876a1 100644 --- a/json/browser_protocol.json +++ b/json/browser_protocol.json @@ -16493,7 +16493,7 @@ "ch-ua-platform", "ch-ua-model", "ch-ua-mobile", - "ch-ua-form-factor", + "ch-ua-form-factors", "ch-ua-full-version", "ch-ua-full-version-list", "ch-ua-platform-version", @@ -20408,91 +20408,6 @@ "sellerTrustedSignals" ] }, - { - "id": "InterestGroupAd", - "description": "Ad advertising element inside an interest group.", - "type": "object", - "properties": [ - { - "name": "renderURL", - "type": "string" - }, - { - "name": "metadata", - "optional": true, - "type": "string" - } - ] - }, - { - "id": "InterestGroupDetails", - "description": "The full details of an interest group.", - "type": "object", - "properties": [ - { - "name": "ownerOrigin", - "type": "string" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "expirationTime", - "$ref": "Network.TimeSinceEpoch" - }, - { - "name": "joiningOrigin", - "type": "string" - }, - { - "name": "biddingLogicURL", - "optional": true, - "type": "string" - }, - { - "name": "biddingWasmHelperURL", - "optional": true, - "type": "string" - }, - { - "name": "updateURL", - "optional": true, - "type": "string" - }, - { - "name": "trustedBiddingSignalsURL", - "optional": true, - "type": "string" - }, - { - "name": "trustedBiddingSignalsKeys", - "type": "array", - "items": { - "type": "string" - } - }, - { - "name": "userBiddingSignals", - "optional": true, - "type": "string" - }, - { - "name": "ads", - "type": "array", - "items": { - "$ref": "InterestGroupAd" - } - }, - { - "name": "adComponents", - "type": "array", - "items": { - "$ref": "InterestGroupAd" - } - } - ] - }, { "id": "SharedStorageAccessType", "description": "Enum of shared storage access types.", @@ -20513,7 +20428,11 @@ "workletKeys", "workletEntries", "workletLength", - "workletRemainingBudget" + "workletRemainingBudget", + "headerSet", + "headerAppend", + "headerDelete", + "headerClear" ] }, { @@ -20627,19 +20546,19 @@ }, { "name": "key", - "description": "Key for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.documentAppend,\nSharedStorageAccessType.documentDelete,\nSharedStorageAccessType.workletSet,\nSharedStorageAccessType.workletAppend,\nSharedStorageAccessType.workletDelete, and\nSharedStorageAccessType.workletGet.", + "description": "Key for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.documentAppend,\nSharedStorageAccessType.documentDelete,\nSharedStorageAccessType.workletSet,\nSharedStorageAccessType.workletAppend,\nSharedStorageAccessType.workletDelete,\nSharedStorageAccessType.workletGet,\nSharedStorageAccessType.headerSet,\nSharedStorageAccessType.headerAppend, and\nSharedStorageAccessType.headerDelete.", "optional": true, "type": "string" }, { "name": "value", - "description": "Value for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.documentAppend,\nSharedStorageAccessType.workletSet, and\nSharedStorageAccessType.workletAppend.", + "description": "Value for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.documentAppend,\nSharedStorageAccessType.workletSet,\nSharedStorageAccessType.workletAppend,\nSharedStorageAccessType.headerSet, and\nSharedStorageAccessType.headerAppend.", "optional": true, "type": "string" }, { "name": "ignoreIfPresent", - "description": "Whether or not to set an entry for a key if that key is already present.\nPresent only for SharedStorageAccessType.documentSet and\nSharedStorageAccessType.workletSet.", + "description": "Whether or not to set an entry for a key if that key is already present.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.workletSet, and\nSharedStorageAccessType.headerSet.", "optional": true, "type": "boolean" } @@ -21452,7 +21371,8 @@ "returns": [ { "name": "details", - "$ref": "InterestGroupDetails" + "description": "This largely corresponds to:\nhttps://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup\nbut has absolute expirationTime instead of relative lifetimeMs and\nalso adds joiningOrigin.", + "type": "object" } ] }, diff --git a/package.json b/package.json index 6f09b86919..790f1a0191 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "devtools-protocol", - "version": "0.0.1271365", + "version": "0.0.1271979", "description": "The Chrome DevTools Protocol JSON", "repository": "https://github.com/ChromeDevTools/devtools-protocol", "author": "The Chromium Authors", diff --git a/pdl/browser_protocol.pdl b/pdl/browser_protocol.pdl index aba51cdbfa..a0da609305 100644 --- a/pdl/browser_protocol.pdl +++ b/pdl/browser_protocol.pdl @@ -7735,7 +7735,7 @@ domain Page ch-ua-platform ch-ua-model ch-ua-mobile - ch-ua-form-factor + ch-ua-form-factors ch-ua-full-version ch-ua-full-version-list ch-ua-platform-version @@ -9655,28 +9655,6 @@ experimental domain Storage bidderTrustedSignals sellerTrustedSignals - # 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 - Network.TimeSinceEpoch expirationTime - string joiningOrigin - optional string biddingLogicURL - optional string biddingWasmHelperURL - optional string updateURL - optional string trustedBiddingSignalsURL - array of string trustedBiddingSignalsKeys - optional string userBiddingSignals - array of InterestGroupAd ads - array of InterestGroupAd adComponents - # Enum of shared storage access types. type SharedStorageAccessType extends string enum @@ -9696,6 +9674,10 @@ experimental domain Storage workletEntries workletLength workletRemainingBudget + headerSet + headerAppend + headerDelete + headerClear # Struct for a single key-value pair in an origin's shared storage. type SharedStorageEntry extends object @@ -9754,18 +9736,24 @@ experimental domain Storage # SharedStorageAccessType.documentDelete, # SharedStorageAccessType.workletSet, # SharedStorageAccessType.workletAppend, - # SharedStorageAccessType.workletDelete, and - # SharedStorageAccessType.workletGet. + # SharedStorageAccessType.workletDelete, + # SharedStorageAccessType.workletGet, + # SharedStorageAccessType.headerSet, + # SharedStorageAccessType.headerAppend, and + # SharedStorageAccessType.headerDelete. optional string key # Value for a specific entry in an origin's shared storage. # Present only for SharedStorageAccessType.documentSet, # SharedStorageAccessType.documentAppend, - # SharedStorageAccessType.workletSet, and - # SharedStorageAccessType.workletAppend. + # SharedStorageAccessType.workletSet, + # SharedStorageAccessType.workletAppend, + # SharedStorageAccessType.headerSet, and + # SharedStorageAccessType.headerAppend. optional string value # Whether or not to set an entry for a key if that key is already present. - # Present only for SharedStorageAccessType.documentSet and - # SharedStorageAccessType.workletSet. + # Present only for SharedStorageAccessType.documentSet, + # SharedStorageAccessType.workletSet, and + # SharedStorageAccessType.headerSet. optional boolean ignoreIfPresent type StorageBucketsDurability extends string @@ -9933,7 +9921,11 @@ experimental domain Storage string ownerOrigin string name returns - InterestGroupDetails details + # This largely corresponds to: + # https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup + # but has absolute expirationTime instead of relative lifetimeMs and + # also adds joiningOrigin. + object details # Enables/Disables issuing of interestGroupAccessed events. experimental command setInterestGroupTracking diff --git a/types/protocol.d.ts b/types/protocol.d.ts index a00019c423..3f19e839e6 100644 --- a/types/protocol.d.ts +++ b/types/protocol.d.ts @@ -13058,7 +13058,7 @@ export namespace Protocol { * All Permissions Policy features. This enum should match the one defined * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5. */ - export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking'); + export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking'); /** * Reason for a permissions policy feature to be disabled. @@ -15340,36 +15340,10 @@ export namespace Protocol { */ export type InterestGroupAuctionFetchType = ('bidderJs' | 'bidderWasm' | 'sellerJs' | 'bidderTrustedSignals' | 'sellerTrustedSignals'); - /** - * Ad advertising element inside an interest group. - */ - export interface InterestGroupAd { - renderURL: string; - metadata?: string; - } - - /** - * The full details of an interest group. - */ - export interface InterestGroupDetails { - ownerOrigin: string; - name: string; - expirationTime: Network.TimeSinceEpoch; - joiningOrigin: string; - biddingLogicURL?: string; - biddingWasmHelperURL?: string; - updateURL?: string; - trustedBiddingSignalsURL?: string; - trustedBiddingSignalsKeys: string[]; - userBiddingSignals?: string; - ads: InterestGroupAd[]; - adComponents: InterestGroupAd[]; - } - /** * Enum of shared storage access types. */ - export type SharedStorageAccessType = ('documentAddModule' | 'documentSelectURL' | 'documentRun' | 'documentSet' | 'documentAppend' | 'documentDelete' | 'documentClear' | 'workletSet' | 'workletAppend' | 'workletDelete' | 'workletClear' | 'workletGet' | 'workletKeys' | 'workletEntries' | 'workletLength' | 'workletRemainingBudget'); + export type SharedStorageAccessType = ('documentAddModule' | 'documentSelectURL' | 'documentRun' | 'documentSet' | 'documentAppend' | 'documentDelete' | 'documentClear' | 'workletSet' | 'workletAppend' | 'workletDelete' | 'workletClear' | 'workletGet' | 'workletKeys' | 'workletEntries' | 'workletLength' | 'workletRemainingBudget' | 'headerSet' | 'headerAppend' | 'headerDelete' | 'headerClear'); /** * Struct for a single key-value pair in an origin's shared storage. @@ -15458,22 +15432,28 @@ export namespace Protocol { * SharedStorageAccessType.documentDelete, * SharedStorageAccessType.workletSet, * SharedStorageAccessType.workletAppend, - * SharedStorageAccessType.workletDelete, and - * SharedStorageAccessType.workletGet. + * SharedStorageAccessType.workletDelete, + * SharedStorageAccessType.workletGet, + * SharedStorageAccessType.headerSet, + * SharedStorageAccessType.headerAppend, and + * SharedStorageAccessType.headerDelete. */ key?: string; /** * Value for a specific entry in an origin's shared storage. * Present only for SharedStorageAccessType.documentSet, * SharedStorageAccessType.documentAppend, - * SharedStorageAccessType.workletSet, and - * SharedStorageAccessType.workletAppend. + * SharedStorageAccessType.workletSet, + * SharedStorageAccessType.workletAppend, + * SharedStorageAccessType.headerSet, and + * SharedStorageAccessType.headerAppend. */ value?: string; /** * Whether or not to set an entry for a key if that key is already present. - * Present only for SharedStorageAccessType.documentSet and - * SharedStorageAccessType.workletSet. + * Present only for SharedStorageAccessType.documentSet, + * SharedStorageAccessType.workletSet, and + * SharedStorageAccessType.headerSet. */ ignoreIfPresent?: boolean; } @@ -15811,7 +15791,13 @@ export namespace Protocol { } export interface GetInterestGroupDetailsResponse { - details: InterestGroupDetails; + /** + * This largely corresponds to: + * https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup + * but has absolute expirationTime instead of relative lifetimeMs and + * also adds joiningOrigin. + */ + details: any; } export interface SetInterestGroupTrackingRequest {