devtools-protocol 0.0.1495237 → 0.0.1498010
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.
@@ -2089,7 +2089,8 @@
|
|
2089
2089
|
"type": "string",
|
2090
2090
|
"enum": [
|
2091
2091
|
"BlockedFrameNavigation",
|
2092
|
-
"BlockedSubresource"
|
2092
|
+
"BlockedSubresource",
|
2093
|
+
"NoisedCanvasReadback"
|
2093
2094
|
]
|
2094
2095
|
},
|
2095
2096
|
{
|
@@ -2106,6 +2107,12 @@
|
|
2106
2107
|
"description": "Applies to BlockedFrameNavigation and BlockedSubresource issue types.",
|
2107
2108
|
"optional": true,
|
2108
2109
|
"$ref": "AffectedRequest"
|
2110
|
+
},
|
2111
|
+
{
|
2112
|
+
"name": "sourceCodeLocation",
|
2113
|
+
"description": "Applies to NoisedCanvasReadback issue type.",
|
2114
|
+
"optional": true,
|
2115
|
+
"$ref": "SourceCodeLocation"
|
2109
2116
|
}
|
2110
2117
|
]
|
2111
2118
|
},
|
@@ -6338,6 +6345,7 @@
|
|
6338
6345
|
"before",
|
6339
6346
|
"after",
|
6340
6347
|
"picker-icon",
|
6348
|
+
"interest-hint",
|
6341
6349
|
"marker",
|
6342
6350
|
"backdrop",
|
6343
6351
|
"column",
|
@@ -21741,7 +21749,7 @@
|
|
21741
21749
|
},
|
21742
21750
|
{
|
21743
21751
|
"name": "compilationCacheProduced",
|
21744
|
-
"description": "Issued for every compilation cache generated.
|
21752
|
+
"description": "Issued for every compilation cache generated.",
|
21745
21753
|
"experimental": true,
|
21746
21754
|
"parameters": [
|
21747
21755
|
{
|
@@ -25634,6 +25642,25 @@
|
|
25634
25642
|
}
|
25635
25643
|
}
|
25636
25644
|
]
|
25645
|
+
},
|
25646
|
+
{
|
25647
|
+
"name": "openDevTools",
|
25648
|
+
"description": "Opens a DevTools window for the target.",
|
25649
|
+
"experimental": true,
|
25650
|
+
"parameters": [
|
25651
|
+
{
|
25652
|
+
"name": "targetId",
|
25653
|
+
"description": "This can be the page or tab target ID.",
|
25654
|
+
"$ref": "TargetID"
|
25655
|
+
}
|
25656
|
+
],
|
25657
|
+
"returns": [
|
25658
|
+
{
|
25659
|
+
"name": "targetId",
|
25660
|
+
"description": "The targetId of DevTools page target.",
|
25661
|
+
"$ref": "TargetID"
|
25662
|
+
}
|
25663
|
+
]
|
25637
25664
|
}
|
25638
25665
|
],
|
25639
25666
|
"events": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1096,6 +1096,7 @@ experimental domain Audits
|
|
1096
1096
|
enum
|
1097
1097
|
BlockedFrameNavigation
|
1098
1098
|
BlockedSubresource
|
1099
|
+
NoisedCanvasReadback
|
1099
1100
|
|
1100
1101
|
# This issue warns about uses of APIs that may be considered misuse to
|
1101
1102
|
# re-identify users.
|
@@ -1104,6 +1105,8 @@ experimental domain Audits
|
|
1104
1105
|
UserReidentificationIssueType type
|
1105
1106
|
# Applies to BlockedFrameNavigation and BlockedSubresource issue types.
|
1106
1107
|
optional AffectedRequest request
|
1108
|
+
# Applies to NoisedCanvasReadback issue type.
|
1109
|
+
optional SourceCodeLocation sourceCodeLocation
|
1107
1110
|
|
1108
1111
|
# A unique identifier for the type of issue. Each type may use one of the
|
1109
1112
|
# optional fields in InspectorIssueDetails to convey more specific
|
@@ -3016,6 +3019,7 @@ domain DOM
|
|
3016
3019
|
before
|
3017
3020
|
after
|
3018
3021
|
picker-icon
|
3022
|
+
interest-hint
|
3019
3023
|
marker
|
3020
3024
|
backdrop
|
3021
3025
|
column
|
@@ -10296,8 +10300,7 @@ domain Page
|
|
10296
10300
|
# Whether or not it was triggered by user gesture.
|
10297
10301
|
boolean userGesture
|
10298
10302
|
|
10299
|
-
# Issued for every compilation cache generated.
|
10300
|
-
# if Page.setGenerateCompilationCache is enabled.
|
10303
|
+
# Issued for every compilation cache generated.
|
10301
10304
|
experimental event compilationCacheProduced
|
10302
10305
|
parameters
|
10303
10306
|
string url
|
@@ -12097,6 +12100,15 @@ domain Target
|
|
12097
12100
|
parameters
|
12098
12101
|
TargetInfo targetInfo
|
12099
12102
|
|
12103
|
+
# Opens a DevTools window for the target.
|
12104
|
+
experimental command openDevTools
|
12105
|
+
parameters
|
12106
|
+
# This can be the page or tab target ID.
|
12107
|
+
TargetID targetId
|
12108
|
+
returns
|
12109
|
+
# The targetId of DevTools page target.
|
12110
|
+
TargetID targetId
|
12111
|
+
|
12100
12112
|
# The Tethering domain defines methods and events for browser port binding.
|
12101
12113
|
experimental domain Tethering
|
12102
12114
|
|
@@ -588,8 +588,7 @@ export namespace ProtocolMapping {
|
|
588
588
|
*/
|
589
589
|
'Page.windowOpen': [Protocol.Page.WindowOpenEvent];
|
590
590
|
/**
|
591
|
-
* Issued for every compilation cache generated.
|
592
|
-
* if Page.setGenerateCompilationCache is enabled.
|
591
|
+
* Issued for every compilation cache generated.
|
593
592
|
*/
|
594
593
|
'Page.compilationCacheProduced': [Protocol.Page.CompilationCacheProducedEvent];
|
595
594
|
/**
|
@@ -4964,6 +4963,13 @@ export namespace ProtocolMapping {
|
|
4964
4963
|
paramsType: [Protocol.Target.SetRemoteLocationsRequest];
|
4965
4964
|
returnType: void;
|
4966
4965
|
};
|
4966
|
+
/**
|
4967
|
+
* Opens a DevTools window for the target.
|
4968
|
+
*/
|
4969
|
+
'Target.openDevTools': {
|
4970
|
+
paramsType: [Protocol.Target.OpenDevToolsRequest];
|
4971
|
+
returnType: Protocol.Target.OpenDevToolsResponse;
|
4972
|
+
};
|
4967
4973
|
/**
|
4968
4974
|
* Request browser port binding.
|
4969
4975
|
*/
|
@@ -3801,8 +3801,7 @@ export namespace ProtocolProxyApi {
|
|
3801
3801
|
on(event: 'windowOpen', listener: (params: Protocol.Page.WindowOpenEvent) => void): void;
|
3802
3802
|
|
3803
3803
|
/**
|
3804
|
-
* Issued for every compilation cache generated.
|
3805
|
-
* if Page.setGenerateCompilationCache is enabled.
|
3804
|
+
* Issued for every compilation cache generated.
|
3806
3805
|
* @experimental
|
3807
3806
|
*/
|
3808
3807
|
on(event: 'compilationCacheProduced', listener: (params: Protocol.Page.CompilationCacheProducedEvent) => void): void;
|
@@ -4363,6 +4362,12 @@ export namespace ProtocolProxyApi {
|
|
4363
4362
|
*/
|
4364
4363
|
setRemoteLocations(params: Protocol.Target.SetRemoteLocationsRequest): Promise<void>;
|
4365
4364
|
|
4365
|
+
/**
|
4366
|
+
* Opens a DevTools window for the target.
|
4367
|
+
* @experimental
|
4368
|
+
*/
|
4369
|
+
openDevTools(params: Protocol.Target.OpenDevToolsRequest): Promise<Protocol.Target.OpenDevToolsResponse>;
|
4370
|
+
|
4366
4371
|
/**
|
4367
4372
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
4368
4373
|
* @experimental
|
@@ -4091,8 +4091,7 @@ export namespace ProtocolTestsProxyApi {
|
|
4091
4091
|
onceWindowOpen(eventMatcher?: (event: { params: Protocol.Page.WindowOpenEvent }) => boolean): Promise<{ params: Protocol.Page.WindowOpenEvent }>;
|
4092
4092
|
|
4093
4093
|
/**
|
4094
|
-
* Issued for every compilation cache generated.
|
4095
|
-
* if Page.setGenerateCompilationCache is enabled.
|
4094
|
+
* Issued for every compilation cache generated.
|
4096
4095
|
* @experimental
|
4097
4096
|
*/
|
4098
4097
|
onCompilationCacheProduced(listener: (event: { params: Protocol.Page.CompilationCacheProducedEvent }) => void): void;
|
@@ -4701,6 +4700,12 @@ export namespace ProtocolTestsProxyApi {
|
|
4701
4700
|
*/
|
4702
4701
|
setRemoteLocations(params: Protocol.Target.SetRemoteLocationsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4703
4702
|
|
4703
|
+
/**
|
4704
|
+
* Opens a DevTools window for the target.
|
4705
|
+
* @experimental
|
4706
|
+
*/
|
4707
|
+
openDevTools(params: Protocol.Target.OpenDevToolsRequest): Promise<{id: number, result: Protocol.Target.OpenDevToolsResponse, sessionId: string}>;
|
4708
|
+
|
4704
4709
|
/**
|
4705
4710
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
4706
4711
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
@@ -3851,7 +3851,7 @@ export namespace Protocol {
|
|
3851
3851
|
propertyValue?: string;
|
3852
3852
|
}
|
3853
3853
|
|
3854
|
-
export type UserReidentificationIssueType = ('BlockedFrameNavigation' | 'BlockedSubresource');
|
3854
|
+
export type UserReidentificationIssueType = ('BlockedFrameNavigation' | 'BlockedSubresource' | 'NoisedCanvasReadback');
|
3855
3855
|
|
3856
3856
|
/**
|
3857
3857
|
* This issue warns about uses of APIs that may be considered misuse to
|
@@ -3863,6 +3863,10 @@ export namespace Protocol {
|
|
3863
3863
|
* Applies to BlockedFrameNavigation and BlockedSubresource issue types.
|
3864
3864
|
*/
|
3865
3865
|
request?: AffectedRequest;
|
3866
|
+
/**
|
3867
|
+
* Applies to NoisedCanvasReadback issue type.
|
3868
|
+
*/
|
3869
|
+
sourceCodeLocation?: SourceCodeLocation;
|
3866
3870
|
}
|
3867
3871
|
|
3868
3872
|
/**
|
@@ -6568,7 +6572,7 @@ export namespace Protocol {
|
|
6568
6572
|
/**
|
6569
6573
|
* Pseudo element type.
|
6570
6574
|
*/
|
6571
|
-
export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'picker-icon' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon');
|
6575
|
+
export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'picker-icon' | 'interest-hint' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon');
|
6572
6576
|
|
6573
6577
|
/**
|
6574
6578
|
* Shadow root type.
|
@@ -16608,8 +16612,7 @@ export namespace Protocol {
|
|
16608
16612
|
}
|
16609
16613
|
|
16610
16614
|
/**
|
16611
|
-
* Issued for every compilation cache generated.
|
16612
|
-
* if Page.setGenerateCompilationCache is enabled.
|
16615
|
+
* Issued for every compilation cache generated.
|
16613
16616
|
* @experimental
|
16614
16617
|
*/
|
16615
16618
|
export interface CompilationCacheProducedEvent {
|
@@ -18899,6 +18902,20 @@ export namespace Protocol {
|
|
18899
18902
|
locations: RemoteLocation[];
|
18900
18903
|
}
|
18901
18904
|
|
18905
|
+
export interface OpenDevToolsRequest {
|
18906
|
+
/**
|
18907
|
+
* This can be the page or tab target ID.
|
18908
|
+
*/
|
18909
|
+
targetId: TargetID;
|
18910
|
+
}
|
18911
|
+
|
18912
|
+
export interface OpenDevToolsResponse {
|
18913
|
+
/**
|
18914
|
+
* The targetId of DevTools page target.
|
18915
|
+
*/
|
18916
|
+
targetId: TargetID;
|
18917
|
+
}
|
18918
|
+
|
18902
18919
|
/**
|
18903
18920
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
18904
18921
|
* @experimental
|