devtools-protocol 0.0.1419694 → 0.0.1420292
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1335,6 +1335,7 @@
|
|
1335
1335
|
"kInlineViolation",
|
1336
1336
|
"kEvalViolation",
|
1337
1337
|
"kURLViolation",
|
1338
|
+
"kSRIViolation",
|
1338
1339
|
"kTrustedTypesSinkViolation",
|
1339
1340
|
"kTrustedTypesPolicyViolation",
|
1340
1341
|
"kWasmEvalViolation"
|
@@ -7158,7 +7159,8 @@
|
|
7158
7159
|
"description": "Type of relation to get.",
|
7159
7160
|
"type": "string",
|
7160
7161
|
"enum": [
|
7161
|
-
"PopoverTarget"
|
7162
|
+
"PopoverTarget",
|
7163
|
+
"InterestTarget"
|
7162
7164
|
]
|
7163
7165
|
}
|
7164
7166
|
],
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -691,6 +691,7 @@ experimental domain Audits
|
|
691
691
|
kInlineViolation
|
692
692
|
kEvalViolation
|
693
693
|
kURLViolation
|
694
|
+
kSRIViolation
|
694
695
|
kTrustedTypesSinkViolation
|
695
696
|
kTrustedTypesPolicyViolation
|
696
697
|
kWasmEvalViolation
|
@@ -3388,6 +3389,8 @@ domain DOM
|
|
3388
3389
|
# Get the popover target for a given element. In this case, this given
|
3389
3390
|
# element can only be an HTMLFormControlElement (<input>, <button>).
|
3390
3391
|
PopoverTarget
|
3392
|
+
# Get the interest target for a given element.
|
3393
|
+
InterestTarget
|
3391
3394
|
returns
|
3392
3395
|
# NodeId of the element matching the queried relation.
|
3393
3396
|
NodeId nodeId
|
package/types/protocol.d.ts
CHANGED
@@ -3475,7 +3475,7 @@ export namespace Protocol {
|
|
3475
3475
|
frame: AffectedFrame;
|
3476
3476
|
}
|
3477
3477
|
|
3478
|
-
export type ContentSecurityPolicyViolationType = ('kInlineViolation' | 'kEvalViolation' | 'kURLViolation' | 'kTrustedTypesSinkViolation' | 'kTrustedTypesPolicyViolation' | 'kWasmEvalViolation');
|
3478
|
+
export type ContentSecurityPolicyViolationType = ('kInlineViolation' | 'kEvalViolation' | 'kURLViolation' | 'kSRIViolation' | 'kTrustedTypesSinkViolation' | 'kTrustedTypesPolicyViolation' | 'kWasmEvalViolation');
|
3479
3479
|
|
3480
3480
|
export interface SourceCodeLocation {
|
3481
3481
|
scriptId?: Runtime.ScriptId;
|
@@ -6986,6 +6986,7 @@ export namespace Protocol {
|
|
6986
6986
|
|
6987
6987
|
export const enum GetElementByRelationRequestRelation {
|
6988
6988
|
PopoverTarget = 'PopoverTarget',
|
6989
|
+
InterestTarget = 'InterestTarget',
|
6989
6990
|
}
|
6990
6991
|
|
6991
6992
|
export interface GetElementByRelationRequest {
|
@@ -6996,7 +6997,7 @@ export namespace Protocol {
|
|
6996
6997
|
/**
|
6997
6998
|
* Type of relation to get. (GetElementByRelationRequestRelation enum)
|
6998
6999
|
*/
|
6999
|
-
relation: ('PopoverTarget');
|
7000
|
+
relation: ('PopoverTarget' | 'InterestTarget');
|
7000
7001
|
}
|
7001
7002
|
|
7002
7003
|
export interface GetElementByRelationResponse {
|