devtools-protocol 0.0.1271979 → 0.0.1272579
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.
@@ -4583,6 +4583,30 @@
|
|
4583
4583
|
}
|
4584
4584
|
]
|
4585
4585
|
},
|
4586
|
+
{
|
4587
|
+
"name": "getLocationForSelector",
|
4588
|
+
"description": "Given a CSS selector text and a style sheet ID, getLocationForSelector\nreturns an array of locations of the CSS selector in the style sheet.",
|
4589
|
+
"experimental": true,
|
4590
|
+
"parameters": [
|
4591
|
+
{
|
4592
|
+
"name": "styleSheetId",
|
4593
|
+
"$ref": "StyleSheetId"
|
4594
|
+
},
|
4595
|
+
{
|
4596
|
+
"name": "selectorText",
|
4597
|
+
"type": "string"
|
4598
|
+
}
|
4599
|
+
],
|
4600
|
+
"returns": [
|
4601
|
+
{
|
4602
|
+
"name": "ranges",
|
4603
|
+
"type": "array",
|
4604
|
+
"items": {
|
4605
|
+
"$ref": "SourceRange"
|
4606
|
+
}
|
4607
|
+
}
|
4608
|
+
]
|
4609
|
+
},
|
4586
4610
|
{
|
4587
4611
|
"name": "trackComputedStyleUpdates",
|
4588
4612
|
"description": "Starts tracking the given computed styles for updates. The specified array of properties\nreplaces the one previously specified. Pass empty array to disable tracking.\nUse takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.\nThe changes to computed style properties are only tracked for nodes pushed to the front-end\nby the DOM agent. If no changes to the tracked properties occur after the node has been pushed\nto the front-end, no updates will be issued for the node.",
|
@@ -21075,6 +21099,38 @@
|
|
21075
21099
|
"reportWindowPassed",
|
21076
21100
|
"excessiveReports"
|
21077
21101
|
]
|
21102
|
+
},
|
21103
|
+
{
|
21104
|
+
"id": "RelatedWebsiteSet",
|
21105
|
+
"description": "A single Related Website Set object.",
|
21106
|
+
"experimental": true,
|
21107
|
+
"type": "object",
|
21108
|
+
"properties": [
|
21109
|
+
{
|
21110
|
+
"name": "primarySites",
|
21111
|
+
"description": "The primary site of this set, along with the ccTLDs if there is any.",
|
21112
|
+
"type": "array",
|
21113
|
+
"items": {
|
21114
|
+
"type": "string"
|
21115
|
+
}
|
21116
|
+
},
|
21117
|
+
{
|
21118
|
+
"name": "associatedSites",
|
21119
|
+
"description": "The associated sites of this set, along with the ccTLDs if there is any.",
|
21120
|
+
"type": "array",
|
21121
|
+
"items": {
|
21122
|
+
"type": "string"
|
21123
|
+
}
|
21124
|
+
},
|
21125
|
+
{
|
21126
|
+
"name": "serviceSites",
|
21127
|
+
"description": "The service sites of this set, along with the ccTLDs if there is any.",
|
21128
|
+
"type": "array",
|
21129
|
+
"items": {
|
21130
|
+
"type": "string"
|
21131
|
+
}
|
21132
|
+
}
|
21133
|
+
]
|
21078
21134
|
}
|
21079
21135
|
],
|
21080
21136
|
"commands": [
|
@@ -21570,6 +21626,20 @@
|
|
21570
21626
|
"type": "boolean"
|
21571
21627
|
}
|
21572
21628
|
]
|
21629
|
+
},
|
21630
|
+
{
|
21631
|
+
"name": "getRelatedWebsiteSets",
|
21632
|
+
"description": "Returns the effective Related Website Sets in use by this profile for the browser\nsession. The effective Related Website Sets will not change during a browser session.",
|
21633
|
+
"experimental": true,
|
21634
|
+
"returns": [
|
21635
|
+
{
|
21636
|
+
"name": "sets",
|
21637
|
+
"type": "array",
|
21638
|
+
"items": {
|
21639
|
+
"$ref": "RelatedWebsiteSet"
|
21640
|
+
}
|
21641
|
+
}
|
21642
|
+
]
|
21573
21643
|
}
|
21574
21644
|
],
|
21575
21645
|
"events": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -2165,6 +2165,15 @@ experimental domain CSS
|
|
2165
2165
|
returns
|
2166
2166
|
CSSLayerData rootLayer
|
2167
2167
|
|
2168
|
+
# Given a CSS selector text and a style sheet ID, getLocationForSelector
|
2169
|
+
# returns an array of locations of the CSS selector in the style sheet.
|
2170
|
+
experimental command getLocationForSelector
|
2171
|
+
parameters
|
2172
|
+
StyleSheetId styleSheetId
|
2173
|
+
string selectorText
|
2174
|
+
returns
|
2175
|
+
array of SourceRange ranges
|
2176
|
+
|
2168
2177
|
# Starts tracking the given computed styles for updates. The specified array of properties
|
2169
2178
|
# replaces the one previously specified. Pass empty array to disable tracking.
|
2170
2179
|
# Use takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.
|
@@ -10303,6 +10312,22 @@ experimental domain Storage
|
|
10303
10312
|
AttributionReportingEventLevelResult eventLevel
|
10304
10313
|
AttributionReportingAggregatableResult aggregatable
|
10305
10314
|
|
10315
|
+
# A single Related Website Set object.
|
10316
|
+
experimental type RelatedWebsiteSet extends object
|
10317
|
+
properties
|
10318
|
+
# The primary site of this set, along with the ccTLDs if there is any.
|
10319
|
+
array of string primarySites
|
10320
|
+
# The associated sites of this set, along with the ccTLDs if there is any.
|
10321
|
+
array of string associatedSites
|
10322
|
+
# The service sites of this set, along with the ccTLDs if there is any.
|
10323
|
+
array of string serviceSites
|
10324
|
+
|
10325
|
+
# Returns the effective Related Website Sets in use by this profile for the browser
|
10326
|
+
# session. The effective Related Website Sets will not change during a browser session.
|
10327
|
+
experimental command getRelatedWebsiteSets
|
10328
|
+
returns
|
10329
|
+
array of RelatedWebsiteSet sets
|
10330
|
+
|
10306
10331
|
# The SystemInfo domain defines methods and events for querying low-level system information.
|
10307
10332
|
experimental domain SystemInfo
|
10308
10333
|
|
@@ -1780,6 +1780,14 @@ export namespace ProtocolMapping {
|
|
1780
1780
|
paramsType: [Protocol.CSS.GetLayersForNodeRequest];
|
1781
1781
|
returnType: Protocol.CSS.GetLayersForNodeResponse;
|
1782
1782
|
};
|
1783
|
+
/**
|
1784
|
+
* Given a CSS selector text and a style sheet ID, getLocationForSelector
|
1785
|
+
* returns an array of locations of the CSS selector in the style sheet.
|
1786
|
+
*/
|
1787
|
+
'CSS.getLocationForSelector': {
|
1788
|
+
paramsType: [Protocol.CSS.GetLocationForSelectorRequest];
|
1789
|
+
returnType: Protocol.CSS.GetLocationForSelectorResponse;
|
1790
|
+
};
|
1783
1791
|
/**
|
1784
1792
|
* Starts tracking the given computed styles for updates. The specified array of properties
|
1785
1793
|
* replaces the one previously specified. Pass empty array to disable tracking.
|
@@ -4384,6 +4392,14 @@ export namespace ProtocolMapping {
|
|
4384
4392
|
paramsType: [Protocol.Storage.SetAttributionReportingTrackingRequest];
|
4385
4393
|
returnType: void;
|
4386
4394
|
};
|
4395
|
+
/**
|
4396
|
+
* Returns the effective Related Website Sets in use by this profile for the browser
|
4397
|
+
* session. The effective Related Website Sets will not change during a browser session.
|
4398
|
+
*/
|
4399
|
+
'Storage.getRelatedWebsiteSets': {
|
4400
|
+
paramsType: [];
|
4401
|
+
returnType: Protocol.Storage.GetRelatedWebsiteSetsResponse;
|
4402
|
+
};
|
4387
4403
|
/**
|
4388
4404
|
* Returns information about the system.
|
4389
4405
|
*/
|
@@ -1042,6 +1042,12 @@ export namespace ProtocolProxyApi {
|
|
1042
1042
|
*/
|
1043
1043
|
getLayersForNode(params: Protocol.CSS.GetLayersForNodeRequest): Promise<Protocol.CSS.GetLayersForNodeResponse>;
|
1044
1044
|
|
1045
|
+
/**
|
1046
|
+
* Given a CSS selector text and a style sheet ID, getLocationForSelector
|
1047
|
+
* returns an array of locations of the CSS selector in the style sheet.
|
1048
|
+
*/
|
1049
|
+
getLocationForSelector(params: Protocol.CSS.GetLocationForSelectorRequest): Promise<Protocol.CSS.GetLocationForSelectorResponse>;
|
1050
|
+
|
1045
1051
|
/**
|
1046
1052
|
* Starts tracking the given computed styles for updates. The specified array of properties
|
1047
1053
|
* replaces the one previously specified. Pass empty array to disable tracking.
|
@@ -3487,6 +3493,12 @@ export namespace ProtocolProxyApi {
|
|
3487
3493
|
*/
|
3488
3494
|
setAttributionReportingTracking(params: Protocol.Storage.SetAttributionReportingTrackingRequest): Promise<void>;
|
3489
3495
|
|
3496
|
+
/**
|
3497
|
+
* Returns the effective Related Website Sets in use by this profile for the browser
|
3498
|
+
* session. The effective Related Website Sets will not change during a browser session.
|
3499
|
+
*/
|
3500
|
+
getRelatedWebsiteSets(): Promise<Protocol.Storage.GetRelatedWebsiteSetsResponse>;
|
3501
|
+
|
3490
3502
|
/**
|
3491
3503
|
* A cache's contents have been modified.
|
3492
3504
|
*/
|
@@ -1108,6 +1108,12 @@ export namespace ProtocolTestsProxyApi {
|
|
1108
1108
|
*/
|
1109
1109
|
getLayersForNode(params: Protocol.CSS.GetLayersForNodeRequest): Promise<Protocol.CSS.GetLayersForNodeResponse>;
|
1110
1110
|
|
1111
|
+
/**
|
1112
|
+
* Given a CSS selector text and a style sheet ID, getLocationForSelector
|
1113
|
+
* returns an array of locations of the CSS selector in the style sheet.
|
1114
|
+
*/
|
1115
|
+
getLocationForSelector(params: Protocol.CSS.GetLocationForSelectorRequest): Promise<Protocol.CSS.GetLocationForSelectorResponse>;
|
1116
|
+
|
1111
1117
|
/**
|
1112
1118
|
* Starts tracking the given computed styles for updates. The specified array of properties
|
1113
1119
|
* replaces the one previously specified. Pass empty array to disable tracking.
|
@@ -3759,6 +3765,12 @@ export namespace ProtocolTestsProxyApi {
|
|
3759
3765
|
*/
|
3760
3766
|
setAttributionReportingTracking(params: Protocol.Storage.SetAttributionReportingTrackingRequest): Promise<void>;
|
3761
3767
|
|
3768
|
+
/**
|
3769
|
+
* Returns the effective Related Website Sets in use by this profile for the browser
|
3770
|
+
* session. The effective Related Website Sets will not change during a browser session.
|
3771
|
+
*/
|
3772
|
+
getRelatedWebsiteSets(): Promise<Protocol.Storage.GetRelatedWebsiteSetsResponse>;
|
3773
|
+
|
3762
3774
|
/**
|
3763
3775
|
* A cache's contents have been modified.
|
3764
3776
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -5403,6 +5403,15 @@ export namespace Protocol {
|
|
5403
5403
|
rootLayer: CSSLayerData;
|
5404
5404
|
}
|
5405
5405
|
|
5406
|
+
export interface GetLocationForSelectorRequest {
|
5407
|
+
styleSheetId: StyleSheetId;
|
5408
|
+
selectorText: string;
|
5409
|
+
}
|
5410
|
+
|
5411
|
+
export interface GetLocationForSelectorResponse {
|
5412
|
+
ranges: SourceRange[];
|
5413
|
+
}
|
5414
|
+
|
5406
5415
|
export interface TrackComputedStyleUpdatesRequest {
|
5407
5416
|
propertiesToTrack: CSSComputedStyleProperty[];
|
5408
5417
|
}
|
@@ -15609,6 +15618,24 @@ export namespace Protocol {
|
|
15609
15618
|
|
15610
15619
|
export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
|
15611
15620
|
|
15621
|
+
/**
|
15622
|
+
* A single Related Website Set object.
|
15623
|
+
*/
|
15624
|
+
export interface RelatedWebsiteSet {
|
15625
|
+
/**
|
15626
|
+
* The primary site of this set, along with the ccTLDs if there is any.
|
15627
|
+
*/
|
15628
|
+
primarySites: string[];
|
15629
|
+
/**
|
15630
|
+
* The associated sites of this set, along with the ccTLDs if there is any.
|
15631
|
+
*/
|
15632
|
+
associatedSites: string[];
|
15633
|
+
/**
|
15634
|
+
* The service sites of this set, along with the ccTLDs if there is any.
|
15635
|
+
*/
|
15636
|
+
serviceSites: string[];
|
15637
|
+
}
|
15638
|
+
|
15612
15639
|
export interface GetStorageKeyForFrameRequest {
|
15613
15640
|
frameId: Page.FrameId;
|
15614
15641
|
}
|
@@ -15876,6 +15903,10 @@ export namespace Protocol {
|
|
15876
15903
|
enable: boolean;
|
15877
15904
|
}
|
15878
15905
|
|
15906
|
+
export interface GetRelatedWebsiteSetsResponse {
|
15907
|
+
sets: RelatedWebsiteSet[];
|
15908
|
+
}
|
15909
|
+
|
15879
15910
|
/**
|
15880
15911
|
* A cache's contents have been modified.
|
15881
15912
|
*/
|