devtools-protocol 0.0.1466870 → 0.0.1468520
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.
@@ -6290,6 +6290,7 @@
|
|
6290
6290
|
"view-transition",
|
6291
6291
|
"view-transition-group",
|
6292
6292
|
"view-transition-image-pair",
|
6293
|
+
"view-transition-group-children",
|
6293
6294
|
"view-transition-old",
|
6294
6295
|
"view-transition-new",
|
6295
6296
|
"placeholder",
|
@@ -18149,22 +18150,44 @@
|
|
18149
18150
|
},
|
18150
18151
|
{
|
18151
18152
|
"id": "AdScriptId",
|
18152
|
-
"description": "Identifies the
|
18153
|
+
"description": "Identifies the script which caused a script or frame to be labelled as an\nad.",
|
18153
18154
|
"experimental": true,
|
18154
18155
|
"type": "object",
|
18155
18156
|
"properties": [
|
18156
18157
|
{
|
18157
18158
|
"name": "scriptId",
|
18158
|
-
"description": "Script Id of the
|
18159
|
+
"description": "Script Id of the script which caused a script or frame to be labelled as\nan ad.",
|
18159
18160
|
"$ref": "Runtime.ScriptId"
|
18160
18161
|
},
|
18161
18162
|
{
|
18162
18163
|
"name": "debuggerId",
|
18163
|
-
"description": "Id of
|
18164
|
+
"description": "Id of scriptId's debugger.",
|
18164
18165
|
"$ref": "Runtime.UniqueDebuggerId"
|
18165
18166
|
}
|
18166
18167
|
]
|
18167
18168
|
},
|
18169
|
+
{
|
18170
|
+
"id": "AdScriptAncestry",
|
18171
|
+
"description": "Encapsulates the script ancestry and the root script filterlist rule that\ncaused the frame to be labelled as an ad. Only created when `ancestryChain`\nis not empty.",
|
18172
|
+
"experimental": true,
|
18173
|
+
"type": "object",
|
18174
|
+
"properties": [
|
18175
|
+
{
|
18176
|
+
"name": "ancestryChain",
|
18177
|
+
"description": "A chain of `AdScriptId`s representing the ancestry of an ad script that\nled to the creation of a frame. The chain is ordered from the script\nitself (lower level) up to its root ancestor that was flagged by\nfilterlist.",
|
18178
|
+
"type": "array",
|
18179
|
+
"items": {
|
18180
|
+
"$ref": "AdScriptId"
|
18181
|
+
}
|
18182
|
+
},
|
18183
|
+
{
|
18184
|
+
"name": "rootScriptFilterlistRule",
|
18185
|
+
"description": "The filterlist rule that caused the root (last) script in\n`ancestryChain` to be ad-tagged. Only populated if the rule is\navailable.",
|
18186
|
+
"optional": true,
|
18187
|
+
"type": "string"
|
18188
|
+
}
|
18189
|
+
]
|
18190
|
+
},
|
18168
18191
|
{
|
18169
18192
|
"id": "SecureContextType",
|
18170
18193
|
"description": "Indicates whether the frame is a secure context and why it is the case.",
|
@@ -20090,7 +20113,7 @@
|
|
20090
20113
|
]
|
20091
20114
|
},
|
20092
20115
|
{
|
20093
|
-
"name": "
|
20116
|
+
"name": "getAdScriptAncestry",
|
20094
20117
|
"experimental": true,
|
20095
20118
|
"parameters": [
|
20096
20119
|
{
|
@@ -20100,12 +20123,10 @@
|
|
20100
20123
|
],
|
20101
20124
|
"returns": [
|
20102
20125
|
{
|
20103
|
-
"name": "
|
20104
|
-
"description": "The ancestry chain of ad script identifiers leading to this frame's\ncreation, ordered from the most immediate script (in the frame creation\nstack) to more distant ancestors (that created the immediately preceding\nscript). Only sent if frame is labelled as an ad and ids are available.",
|
20105
|
-
"
|
20106
|
-
"
|
20107
|
-
"$ref": "AdScriptId"
|
20108
|
-
}
|
20126
|
+
"name": "adScriptAncestry",
|
20127
|
+
"description": "The ancestry chain of ad script identifiers leading to this frame's\ncreation, along with the root script's filterlist rule. The ancestry\nchain is ordered from the most immediate script (in the frame creation\nstack) to more distant ancestors (that created the immediately preceding\nscript). Only sent if frame is labelled as an ad and ids are available.",
|
20128
|
+
"optional": true,
|
20129
|
+
"$ref": "AdScriptAncestry"
|
20109
20130
|
}
|
20110
20131
|
]
|
20111
20132
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -3006,6 +3006,7 @@ domain DOM
|
|
3006
3006
|
view-transition
|
3007
3007
|
view-transition-group
|
3008
3008
|
view-transition-image-pair
|
3009
|
+
view-transition-group-children
|
3009
3010
|
view-transition-old
|
3010
3011
|
view-transition-new
|
3011
3012
|
placeholder
|
@@ -8513,16 +8514,31 @@ domain Page
|
|
8513
8514
|
AdFrameType adFrameType
|
8514
8515
|
optional array of AdFrameExplanation explanations
|
8515
8516
|
|
8516
|
-
# Identifies the
|
8517
|
-
#
|
8517
|
+
# Identifies the script which caused a script or frame to be labelled as an
|
8518
|
+
# ad.
|
8518
8519
|
experimental type AdScriptId extends object
|
8519
8520
|
properties
|
8520
|
-
# Script Id of the
|
8521
|
-
#
|
8521
|
+
# Script Id of the script which caused a script or frame to be labelled as
|
8522
|
+
# an ad.
|
8522
8523
|
Runtime.ScriptId scriptId
|
8523
|
-
# Id of
|
8524
|
+
# Id of scriptId's debugger.
|
8524
8525
|
Runtime.UniqueDebuggerId debuggerId
|
8525
8526
|
|
8527
|
+
# Encapsulates the script ancestry and the root script filterlist rule that
|
8528
|
+
# caused the frame to be labelled as an ad. Only created when `ancestryChain`
|
8529
|
+
# is not empty.
|
8530
|
+
experimental type AdScriptAncestry extends object
|
8531
|
+
properties
|
8532
|
+
# A chain of `AdScriptId`s representing the ancestry of an ad script that
|
8533
|
+
# led to the creation of a frame. The chain is ordered from the script
|
8534
|
+
# itself (lower level) up to its root ancestor that was flagged by
|
8535
|
+
# filterlist.
|
8536
|
+
array of AdScriptId ancestryChain
|
8537
|
+
# The filterlist rule that caused the root (last) script in
|
8538
|
+
# `ancestryChain` to be ad-tagged. Only populated if the rule is
|
8539
|
+
# available.
|
8540
|
+
optional string rootScriptFilterlistRule
|
8541
|
+
|
8526
8542
|
# Indicates whether the frame is a secure context and why it is the case.
|
8527
8543
|
experimental type SecureContextType extends string
|
8528
8544
|
enum
|
@@ -9290,15 +9306,16 @@ domain Page
|
|
9290
9306
|
# Recommendation for manifest's id attribute to match current id computed from start_url
|
9291
9307
|
optional string recommendedId
|
9292
9308
|
|
9293
|
-
experimental command
|
9309
|
+
experimental command getAdScriptAncestry
|
9294
9310
|
parameters
|
9295
9311
|
FrameId frameId
|
9296
9312
|
returns
|
9297
9313
|
# The ancestry chain of ad script identifiers leading to this frame's
|
9298
|
-
# creation,
|
9314
|
+
# creation, along with the root script's filterlist rule. The ancestry
|
9315
|
+
# chain is ordered from the most immediate script (in the frame creation
|
9299
9316
|
# stack) to more distant ancestors (that created the immediately preceding
|
9300
9317
|
# script). Only sent if frame is labelled as an ad and ids are available.
|
9301
|
-
|
9318
|
+
optional AdScriptAncestry adScriptAncestry
|
9302
9319
|
|
9303
9320
|
# Returns present frame tree structure.
|
9304
9321
|
command getFrameTree
|
@@ -4052,9 +4052,9 @@ export namespace ProtocolMapping {
|
|
4052
4052
|
paramsType: [];
|
4053
4053
|
returnType: Protocol.Page.GetAppIdResponse;
|
4054
4054
|
};
|
4055
|
-
'Page.
|
4056
|
-
paramsType: [Protocol.Page.
|
4057
|
-
returnType: Protocol.Page.
|
4055
|
+
'Page.getAdScriptAncestry': {
|
4056
|
+
paramsType: [Protocol.Page.GetAdScriptAncestryRequest];
|
4057
|
+
returnType: Protocol.Page.GetAdScriptAncestryResponse;
|
4058
4058
|
};
|
4059
4059
|
/**
|
4060
4060
|
* Returns present frame tree structure.
|
@@ -3101,7 +3101,7 @@ export namespace ProtocolProxyApi {
|
|
3101
3101
|
*/
|
3102
3102
|
getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
|
3103
3103
|
|
3104
|
-
|
3104
|
+
getAdScriptAncestry(params: Protocol.Page.GetAdScriptAncestryRequest): Promise<Protocol.Page.GetAdScriptAncestryResponse>;
|
3105
3105
|
|
3106
3106
|
/**
|
3107
3107
|
* Returns present frame tree structure.
|
@@ -3337,7 +3337,7 @@ export namespace ProtocolTestsProxyApi {
|
|
3337
3337
|
*/
|
3338
3338
|
getAppId(): Promise<{id: number, result: Protocol.Page.GetAppIdResponse, sessionId: string}>;
|
3339
3339
|
|
3340
|
-
|
3340
|
+
getAdScriptAncestry(params: Protocol.Page.GetAdScriptAncestryRequest): Promise<{id: number, result: Protocol.Page.GetAdScriptAncestryResponse, sessionId: string}>;
|
3341
3341
|
|
3342
3342
|
/**
|
3343
3343
|
* Returns present frame tree structure.
|
package/types/protocol.d.ts
CHANGED
@@ -6382,7 +6382,7 @@ export namespace Protocol {
|
|
6382
6382
|
/**
|
6383
6383
|
* Pseudo element type.
|
6384
6384
|
*/
|
6385
|
-
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-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon');
|
6385
|
+
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');
|
6386
6386
|
|
6387
6387
|
/**
|
6388
6388
|
* Shadow root type.
|
@@ -13985,21 +13985,42 @@ export namespace Protocol {
|
|
13985
13985
|
}
|
13986
13986
|
|
13987
13987
|
/**
|
13988
|
-
* Identifies the
|
13989
|
-
*
|
13988
|
+
* Identifies the script which caused a script or frame to be labelled as an
|
13989
|
+
* ad.
|
13990
13990
|
*/
|
13991
13991
|
export interface AdScriptId {
|
13992
13992
|
/**
|
13993
|
-
* Script Id of the
|
13994
|
-
*
|
13993
|
+
* Script Id of the script which caused a script or frame to be labelled as
|
13994
|
+
* an ad.
|
13995
13995
|
*/
|
13996
13996
|
scriptId: Runtime.ScriptId;
|
13997
13997
|
/**
|
13998
|
-
* Id of
|
13998
|
+
* Id of scriptId's debugger.
|
13999
13999
|
*/
|
14000
14000
|
debuggerId: Runtime.UniqueDebuggerId;
|
14001
14001
|
}
|
14002
14002
|
|
14003
|
+
/**
|
14004
|
+
* Encapsulates the script ancestry and the root script filterlist rule that
|
14005
|
+
* caused the frame to be labelled as an ad. Only created when `ancestryChain`
|
14006
|
+
* is not empty.
|
14007
|
+
*/
|
14008
|
+
export interface AdScriptAncestry {
|
14009
|
+
/**
|
14010
|
+
* A chain of `AdScriptId`s representing the ancestry of an ad script that
|
14011
|
+
* led to the creation of a frame. The chain is ordered from the script
|
14012
|
+
* itself (lower level) up to its root ancestor that was flagged by
|
14013
|
+
* filterlist.
|
14014
|
+
*/
|
14015
|
+
ancestryChain: AdScriptId[];
|
14016
|
+
/**
|
14017
|
+
* The filterlist rule that caused the root (last) script in
|
14018
|
+
* `ancestryChain` to be ad-tagged. Only populated if the rule is
|
14019
|
+
* available.
|
14020
|
+
*/
|
14021
|
+
rootScriptFilterlistRule?: string;
|
14022
|
+
}
|
14023
|
+
|
14003
14024
|
/**
|
14004
14025
|
* Indicates whether the frame is a secure context and why it is the case.
|
14005
14026
|
*/
|
@@ -14903,18 +14924,19 @@ export namespace Protocol {
|
|
14903
14924
|
recommendedId?: string;
|
14904
14925
|
}
|
14905
14926
|
|
14906
|
-
export interface
|
14927
|
+
export interface GetAdScriptAncestryRequest {
|
14907
14928
|
frameId: FrameId;
|
14908
14929
|
}
|
14909
14930
|
|
14910
|
-
export interface
|
14931
|
+
export interface GetAdScriptAncestryResponse {
|
14911
14932
|
/**
|
14912
14933
|
* The ancestry chain of ad script identifiers leading to this frame's
|
14913
|
-
* creation,
|
14934
|
+
* creation, along with the root script's filterlist rule. The ancestry
|
14935
|
+
* chain is ordered from the most immediate script (in the frame creation
|
14914
14936
|
* stack) to more distant ancestors (that created the immediately preceding
|
14915
14937
|
* script). Only sent if frame is labelled as an ad and ids are available.
|
14916
14938
|
*/
|
14917
|
-
|
14939
|
+
adScriptAncestry?: AdScriptAncestry;
|
14918
14940
|
}
|
14919
14941
|
|
14920
14942
|
export interface GetFrameTreeResponse {
|