Skip to content

Commit

Permalink
Roll protocol to r1273222
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Mar 15, 2024
1 parent c804ef9 commit 4537bcb
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 45 deletions.
94 changes: 53 additions & 41 deletions changelog.md
@@ -1,7 +1,59 @@


## Roll protocol to r1273222 — _2024-03-15T04:26:20.000Z_
###### Diff: [`c804ef9...b067874`](https://github.com/ChromeDevTools/devtools-protocol/compare/c804ef9...b067874)

```diff
@@ browser_protocol.pdl:1944 @@ experimental domain CSS
CSSStyle style

# CSS position-fallback rule representation.
- type CSSPositionFallbackRule extends object
+ deprecated type CSSPositionFallbackRule extends object
properties
Value name
# List of keyframes.
array of CSSTryRule tryRules

+ # CSS @position-try rule representation.
+ type CSSPositionTryRule extends object
+ properties
+ # The prelude dashed-ident name
+ Value name
+ # The css style sheet identifier (absent for user agent stylesheet and user-specified
+ # stylesheet rules) this rule came from.
+ optional StyleSheetId styleSheetId
+ # Parent stylesheet's origin.
+ StyleSheetOrigin origin
+ # Associated style declaration.
+ CSSStyle style
+
# CSS keyframes rule representation.
type CSSKeyframesRule extends object
properties
@@ -2123,7 +2136,9 @@ experimental domain CSS
# A list of CSS keyframed animations matching this node.
optional array of CSSKeyframesRule cssKeyframesRules
# A list of CSS position fallbacks matching this node.
- optional array of CSSPositionFallbackRule cssPositionFallbackRules
+ deprecated optional array of CSSPositionFallbackRule cssPositionFallbackRules
+ # A list of CSS @position-try rules matching this node, based on the position-try-options property.
+ optional array of CSSPositionTryRule cssPositionTryRules
# A list of CSS at-property rules matching this node.
optional array of CSSPropertyRule cssPropertyRules
# A list of CSS property registrations matching this node.
@@ -9674,6 +9689,7 @@ experimental domain Storage
documentAppend
documentDelete
documentClear
+ documentGet
workletSet
workletAppend
workletDelete
```

## Roll protocol to r1272579 — _2024-03-14T04:25:42.000Z_
###### Diff: [`1af74d1...5b153d7`](https://github.com/ChromeDevTools/devtools-protocol/compare/1af74d1...5b153d7)
###### Diff: [`1af74d1...c804ef9`](https://github.com/ChromeDevTools/devtools-protocol/compare/1af74d1...c804ef9)

```diff
@@ browser_protocol.pdl:2165 @@ experimental domain CSS
Expand Down Expand Up @@ -11548,44 +11600,4 @@ index 09c420e..bd277eb 100644
# An object providing the result of a network resource load.
experimental type LoadNetworkResourcePageResult extends object
properties
```

## Roll protocol to r943026 — _2021-11-18T11:15:23.000Z_
###### Diff: [`22bc316...bee0143`](https://github.com/ChromeDevTools/devtools-protocol/compare/22bc316...bee0143)

```diff
@@ browser_protocol.pdl:5117 @@ domain Network
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
# This is a temporary ability and it will be removed in the future.
experimental integer sourcePort
+ # Cookie partition key. The site of the top-level URL the browser was visiting at the start
+ # of the request to the endpoint that set the cookie.
+ experimental optional string partitionKey
+ # True if cookie partition key is opaque.
+ experimental optional boolean partitionKeyOpaque

# Types of reasons why a cookie may not be stored from a response.
experimental type SetCookieBlockedReason extends string
@@ -5275,6 +5280,10 @@ domain Network
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
# This is a temporary ability and it will be removed in the future.
experimental optional integer sourcePort
+ # Cookie partition key. The site of the top-level URL the browser was visiting at the start
+ # of the request to the endpoint that set the cookie.
+ # If not set, the cookie will be set as not partitioned.
+ experimental optional string partitionKey

# Authorization challenge for HTTP status code 401 or 407.
experimental type AuthChallenge extends object
@@ -5645,6 +5654,10 @@ domain Network
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
# This is a temporary ability and it will be removed in the future.
experimental optional integer sourcePort
+ # Cookie partition key. The site of the top-level URL the browser was visiting at the start
+ # of the request to the endpoint that set the cookie.
+ # If not set, the cookie will be set as not partitioned.
+ experimental optional string partitionKey
returns
# Always set to true. If an error occurs, the response indicates protocol error.
deprecated boolean success
```
40 changes: 40 additions & 0 deletions json/browser_protocol.json
Expand Up @@ -4062,6 +4062,7 @@
{
"id": "CSSPositionFallbackRule",
"description": "CSS position-fallback rule representation.",
"deprecated": true,
"type": "object",
"properties": [
{
Expand All @@ -4078,6 +4079,34 @@
}
]
},
{
"id": "CSSPositionTryRule",
"description": "CSS @position-try rule representation.",
"type": "object",
"properties": [
{
"name": "name",
"description": "The prelude dashed-ident name",
"$ref": "Value"
},
{
"name": "styleSheetId",
"description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
"optional": true,
"$ref": "StyleSheetId"
},
{
"name": "origin",
"description": "Parent stylesheet's origin.",
"$ref": "StyleSheetOrigin"
},
{
"name": "style",
"description": "Associated style declaration.",
"$ref": "CSSStyle"
}
]
},
{
"id": "CSSKeyframesRule",
"description": "CSS keyframes rule representation.",
Expand Down Expand Up @@ -4477,12 +4506,22 @@
{
"name": "cssPositionFallbackRules",
"description": "A list of CSS position fallbacks matching this node.",
"deprecated": true,
"optional": true,
"type": "array",
"items": {
"$ref": "CSSPositionFallbackRule"
}
},
{
"name": "cssPositionTryRules",
"description": "A list of CSS @position-try rules matching this node, based on the position-try-options property.",
"optional": true,
"type": "array",
"items": {
"$ref": "CSSPositionTryRule"
}
},
{
"name": "cssPropertyRules",
"description": "A list of CSS at-property rules matching this node.",
Expand Down Expand Up @@ -20444,6 +20483,7 @@
"documentAppend",
"documentDelete",
"documentClear",
"documentGet",
"workletSet",
"workletAppend",
"workletDelete",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1272579",
"version": "0.0.1273222",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
20 changes: 18 additions & 2 deletions pdl/browser_protocol.pdl
Expand Up @@ -1944,12 +1944,25 @@ experimental domain CSS
CSSStyle style

# CSS position-fallback rule representation.
type CSSPositionFallbackRule extends object
deprecated type CSSPositionFallbackRule extends object
properties
Value name
# List of keyframes.
array of CSSTryRule tryRules

# CSS @position-try rule representation.
type CSSPositionTryRule extends object
properties
# The prelude dashed-ident name
Value name
# The css style sheet identifier (absent for user agent stylesheet and user-specified
# stylesheet rules) this rule came from.
optional StyleSheetId styleSheetId
# Parent stylesheet's origin.
StyleSheetOrigin origin
# Associated style declaration.
CSSStyle style

# CSS keyframes rule representation.
type CSSKeyframesRule extends object
properties
Expand Down Expand Up @@ -2123,7 +2136,9 @@ experimental domain CSS
# A list of CSS keyframed animations matching this node.
optional array of CSSKeyframesRule cssKeyframesRules
# A list of CSS position fallbacks matching this node.
optional array of CSSPositionFallbackRule cssPositionFallbackRules
deprecated optional array of CSSPositionFallbackRule cssPositionFallbackRules
# A list of CSS @position-try rules matching this node, based on the position-try-options property.
optional array of CSSPositionTryRule cssPositionTryRules
# A list of CSS at-property rules matching this node.
optional array of CSSPropertyRule cssPropertyRules
# A list of CSS property registrations matching this node.
Expand Down Expand Up @@ -9674,6 +9689,7 @@ experimental domain Storage
documentAppend
documentDelete
documentClear
documentGet
workletSet
workletAppend
workletDelete
Expand Down
29 changes: 28 additions & 1 deletion types/protocol.d.ts
Expand Up @@ -5086,6 +5086,29 @@ export namespace Protocol {
tryRules: CSSTryRule[];
}

/**
* CSS @position-try rule representation.
*/
export interface CSSPositionTryRule {
/**
* The prelude dashed-ident name
*/
name: Value;
/**
* The css style sheet identifier (absent for user agent stylesheet and user-specified
* stylesheet rules) this rule came from.
*/
styleSheetId?: StyleSheetId;
/**
* Parent stylesheet's origin.
*/
origin: StyleSheetOrigin;
/**
* Associated style declaration.
*/
style: CSSStyle;
}

/**
* CSS keyframes rule representation.
*/
Expand Down Expand Up @@ -5351,6 +5374,10 @@ export namespace Protocol {
* A list of CSS position fallbacks matching this node.
*/
cssPositionFallbackRules?: CSSPositionFallbackRule[];
/**
* A list of CSS @position-try rules matching this node, based on the position-try-options property.
*/
cssPositionTryRules?: CSSPositionTryRule[];
/**
* A list of CSS at-property rules matching this node.
*/
Expand Down Expand Up @@ -15352,7 +15379,7 @@ export namespace Protocol {
/**
* 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' | 'headerSet' | 'headerAppend' | 'headerDelete' | 'headerClear');
export type SharedStorageAccessType = ('documentAddModule' | 'documentSelectURL' | 'documentRun' | 'documentSet' | 'documentAppend' | 'documentDelete' | 'documentClear' | 'documentGet' | '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.
Expand Down

0 comments on commit 4537bcb

Please sign in to comment.