devtools-protocol 0.0.1450379 → 0.0.1451615
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.
@@ -19837,7 +19837,7 @@
|
|
19837
19837
|
]
|
19838
19838
|
},
|
19839
19839
|
{
|
19840
|
-
"name": "
|
19840
|
+
"name": "getAdScriptAncestryIds",
|
19841
19841
|
"experimental": true,
|
19842
19842
|
"parameters": [
|
19843
19843
|
{
|
@@ -19847,10 +19847,12 @@
|
|
19847
19847
|
],
|
19848
19848
|
"returns": [
|
19849
19849
|
{
|
19850
|
-
"name": "
|
19851
|
-
"description": "
|
19852
|
-
"
|
19853
|
-
"
|
19850
|
+
"name": "adScriptAncestryIds",
|
19851
|
+
"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.",
|
19852
|
+
"type": "array",
|
19853
|
+
"items": {
|
19854
|
+
"$ref": "AdScriptId"
|
19855
|
+
}
|
19854
19856
|
}
|
19855
19857
|
]
|
19856
19858
|
},
|
@@ -21088,6 +21090,12 @@
|
|
21088
21090
|
"name": "javascriptDialogClosed",
|
21089
21091
|
"description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been\nclosed.",
|
21090
21092
|
"parameters": [
|
21093
|
+
{
|
21094
|
+
"name": "frameId",
|
21095
|
+
"description": "Frame id.",
|
21096
|
+
"experimental": true,
|
21097
|
+
"$ref": "FrameId"
|
21098
|
+
},
|
21091
21099
|
{
|
21092
21100
|
"name": "result",
|
21093
21101
|
"description": "Whether dialog was confirmed.",
|
@@ -21109,6 +21117,12 @@
|
|
21109
21117
|
"description": "Frame url.",
|
21110
21118
|
"type": "string"
|
21111
21119
|
},
|
21120
|
+
{
|
21121
|
+
"name": "frameId",
|
21122
|
+
"description": "Frame id.",
|
21123
|
+
"experimental": true,
|
21124
|
+
"$ref": "FrameId"
|
21125
|
+
},
|
21112
21126
|
{
|
21113
21127
|
"name": "message",
|
21114
21128
|
"description": "Message that will be displayed by the dialog.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -9186,13 +9186,15 @@ domain Page
|
|
9186
9186
|
# Recommendation for manifest's id attribute to match current id computed from start_url
|
9187
9187
|
optional string recommendedId
|
9188
9188
|
|
9189
|
-
experimental command
|
9189
|
+
experimental command getAdScriptAncestryIds
|
9190
9190
|
parameters
|
9191
9191
|
FrameId frameId
|
9192
9192
|
returns
|
9193
|
-
#
|
9194
|
-
#
|
9195
|
-
|
9193
|
+
# The ancestry chain of ad script identifiers leading to this frame's
|
9194
|
+
# creation, ordered from the most immediate script (in the frame creation
|
9195
|
+
# stack) to more distant ancestors (that created the immediately preceding
|
9196
|
+
# script). Only sent if frame is labelled as an ad and ids are available.
|
9197
|
+
array of AdScriptId adScriptAncestryIds
|
9196
9198
|
|
9197
9199
|
# Returns present frame tree structure.
|
9198
9200
|
command getFrameTree
|
@@ -9804,6 +9806,8 @@ domain Page
|
|
9804
9806
|
# closed.
|
9805
9807
|
event javascriptDialogClosed
|
9806
9808
|
parameters
|
9809
|
+
# Frame id.
|
9810
|
+
experimental FrameId frameId
|
9807
9811
|
# Whether dialog was confirmed.
|
9808
9812
|
boolean result
|
9809
9813
|
# User input in case of prompt.
|
@@ -9815,6 +9819,8 @@ domain Page
|
|
9815
9819
|
parameters
|
9816
9820
|
# Frame url.
|
9817
9821
|
string url
|
9822
|
+
# Frame id.
|
9823
|
+
experimental FrameId frameId
|
9818
9824
|
# Message that will be displayed by the dialog.
|
9819
9825
|
string message
|
9820
9826
|
# Dialog type.
|
@@ -4009,9 +4009,9 @@ export namespace ProtocolMapping {
|
|
4009
4009
|
paramsType: [];
|
4010
4010
|
returnType: Protocol.Page.GetAppIdResponse;
|
4011
4011
|
};
|
4012
|
-
'Page.
|
4013
|
-
paramsType: [Protocol.Page.
|
4014
|
-
returnType: Protocol.Page.
|
4012
|
+
'Page.getAdScriptAncestryIds': {
|
4013
|
+
paramsType: [Protocol.Page.GetAdScriptAncestryIdsRequest];
|
4014
|
+
returnType: Protocol.Page.GetAdScriptAncestryIdsResponse;
|
4015
4015
|
};
|
4016
4016
|
/**
|
4017
4017
|
* Returns present frame tree structure.
|
@@ -3073,7 +3073,7 @@ export namespace ProtocolProxyApi {
|
|
3073
3073
|
*/
|
3074
3074
|
getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
|
3075
3075
|
|
3076
|
-
|
3076
|
+
getAdScriptAncestryIds(params: Protocol.Page.GetAdScriptAncestryIdsRequest): Promise<Protocol.Page.GetAdScriptAncestryIdsResponse>;
|
3077
3077
|
|
3078
3078
|
/**
|
3079
3079
|
* Returns present frame tree structure.
|
@@ -3299,7 +3299,7 @@ export namespace ProtocolTestsProxyApi {
|
|
3299
3299
|
*/
|
3300
3300
|
getAppId(): Promise<{id: number, result: Protocol.Page.GetAppIdResponse, sessionId: string}>;
|
3301
3301
|
|
3302
|
-
|
3302
|
+
getAdScriptAncestryIds(params: Protocol.Page.GetAdScriptAncestryIdsRequest): Promise<{id: number, result: Protocol.Page.GetAdScriptAncestryIdsResponse, sessionId: string}>;
|
3303
3303
|
|
3304
3304
|
/**
|
3305
3305
|
* Returns present frame tree structure.
|
package/types/protocol.d.ts
CHANGED
@@ -14787,16 +14787,18 @@ export namespace Protocol {
|
|
14787
14787
|
recommendedId?: string;
|
14788
14788
|
}
|
14789
14789
|
|
14790
|
-
export interface
|
14790
|
+
export interface GetAdScriptAncestryIdsRequest {
|
14791
14791
|
frameId: FrameId;
|
14792
14792
|
}
|
14793
14793
|
|
14794
|
-
export interface
|
14794
|
+
export interface GetAdScriptAncestryIdsResponse {
|
14795
14795
|
/**
|
14796
|
-
*
|
14797
|
-
*
|
14796
|
+
* The ancestry chain of ad script identifiers leading to this frame's
|
14797
|
+
* creation, ordered from the most immediate script (in the frame creation
|
14798
|
+
* stack) to more distant ancestors (that created the immediately preceding
|
14799
|
+
* script). Only sent if frame is labelled as an ad and ids are available.
|
14798
14800
|
*/
|
14799
|
-
|
14801
|
+
adScriptAncestryIds: AdScriptId[];
|
14800
14802
|
}
|
14801
14803
|
|
14802
14804
|
export interface GetFrameTreeResponse {
|
@@ -15635,6 +15637,10 @@ export namespace Protocol {
|
|
15635
15637
|
* closed.
|
15636
15638
|
*/
|
15637
15639
|
export interface JavascriptDialogClosedEvent {
|
15640
|
+
/**
|
15641
|
+
* Frame id.
|
15642
|
+
*/
|
15643
|
+
frameId: FrameId;
|
15638
15644
|
/**
|
15639
15645
|
* Whether dialog was confirmed.
|
15640
15646
|
*/
|
@@ -15654,6 +15660,10 @@ export namespace Protocol {
|
|
15654
15660
|
* Frame url.
|
15655
15661
|
*/
|
15656
15662
|
url: string;
|
15663
|
+
/**
|
15664
|
+
* Frame id.
|
15665
|
+
*/
|
15666
|
+
frameId: FrameId;
|
15657
15667
|
/**
|
15658
15668
|
* Message that will be displayed by the dialog.
|
15659
15669
|
*/
|