Skip to content

Commit

Permalink
Roll protocol to r1420292
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Feb 14, 2025
1 parent 487cc35 commit 75e6043
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 5 deletions.
25 changes: 24 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@


## Roll protocol to r1420292 — _2025-02-14T04:29:03.000Z_
###### Diff: [`487cc35...9ee76e4`](https://github.com/ChromeDevTools/devtools-protocol/compare/487cc35...9ee76e4)

```diff
@@ browser_protocol.pdl:691 @@ experimental domain Audits
kInlineViolation
kEvalViolation
kURLViolation
+ kSRIViolation
kTrustedTypesSinkViolation
kTrustedTypesPolicyViolation
kWasmEvalViolation
@@ -3388,6 +3389,8 @@ domain DOM
# Get the popover target for a given element. In this case, this given
# element can only be an HTMLFormControlElement (<input>, <button>).
PopoverTarget
+ # Get the interest target for a given element.
+ InterestTarget
returns
# NodeId of the element matching the queried relation.
NodeId nodeId
```

## Roll protocol to r1419694 — _2025-02-13T04:29:06.000Z_
###### Diff: [`781a465...3563808`](https://github.com/ChromeDevTools/devtools-protocol/compare/781a465...3563808)
###### Diff: [`781a465...487cc35`](https://github.com/ChromeDevTools/devtools-protocol/compare/781a465...487cc35)

```diff
@@ browser_protocol.pdl:12675 @@ experimental domain Preload
Expand Down
4 changes: 3 additions & 1 deletion json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -1335,6 +1335,7 @@
"kInlineViolation",
"kEvalViolation",
"kURLViolation",
"kSRIViolation",
"kTrustedTypesSinkViolation",
"kTrustedTypesPolicyViolation",
"kWasmEvalViolation"
Expand Down Expand Up @@ -7158,7 +7159,8 @@
"description": "Type of relation to get.",
"type": "string",
"enum": [
"PopoverTarget"
"PopoverTarget",
"InterestTarget"
]
}
],
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.1419694",
"version": "0.0.1420292",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
3 changes: 3 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ experimental domain Audits
kInlineViolation
kEvalViolation
kURLViolation
kSRIViolation
kTrustedTypesSinkViolation
kTrustedTypesPolicyViolation
kWasmEvalViolation
Expand Down Expand Up @@ -3388,6 +3389,8 @@ domain DOM
# Get the popover target for a given element. In this case, this given
# element can only be an HTMLFormControlElement (<input>, <button>).
PopoverTarget
# Get the interest target for a given element.
InterestTarget
returns
# NodeId of the element matching the queried relation.
NodeId nodeId
Expand Down
5 changes: 3 additions & 2 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3475,7 +3475,7 @@ export namespace Protocol {
frame: AffectedFrame;
}

export type ContentSecurityPolicyViolationType = ('kInlineViolation' | 'kEvalViolation' | 'kURLViolation' | 'kTrustedTypesSinkViolation' | 'kTrustedTypesPolicyViolation' | 'kWasmEvalViolation');
export type ContentSecurityPolicyViolationType = ('kInlineViolation' | 'kEvalViolation' | 'kURLViolation' | 'kSRIViolation' | 'kTrustedTypesSinkViolation' | 'kTrustedTypesPolicyViolation' | 'kWasmEvalViolation');

export interface SourceCodeLocation {
scriptId?: Runtime.ScriptId;
Expand Down Expand Up @@ -6986,6 +6986,7 @@ export namespace Protocol {

export const enum GetElementByRelationRequestRelation {
PopoverTarget = 'PopoverTarget',
InterestTarget = 'InterestTarget',
}

export interface GetElementByRelationRequest {
Expand All @@ -6996,7 +6997,7 @@ export namespace Protocol {
/**
* Type of relation to get. (GetElementByRelationRequestRelation enum)
*/
relation: ('PopoverTarget');
relation: ('PopoverTarget' | 'InterestTarget');
}

export interface GetElementByRelationResponse {
Expand Down

0 comments on commit 75e6043

Please sign in to comment.