devtools-protocol 0.0.1057312 → 0.0.1059612
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.
@@ -16641,6 +16641,24 @@
|
|
16641
16641
|
}
|
16642
16642
|
]
|
16643
16643
|
},
|
16644
|
+
{
|
16645
|
+
"name": "getAdScriptId",
|
16646
|
+
"experimental": true,
|
16647
|
+
"parameters": [
|
16648
|
+
{
|
16649
|
+
"name": "frameId",
|
16650
|
+
"$ref": "FrameId"
|
16651
|
+
}
|
16652
|
+
],
|
16653
|
+
"returns": [
|
16654
|
+
{
|
16655
|
+
"name": "adScriptId",
|
16656
|
+
"description": "Identifies the bottom-most script which caused the frame to be labelled\nas an ad. Only sent if frame is labelled as an ad and id is available.",
|
16657
|
+
"optional": true,
|
16658
|
+
"$ref": "AdScriptId"
|
16659
|
+
}
|
16660
|
+
]
|
16661
|
+
},
|
16644
16662
|
{
|
16645
16663
|
"name": "getCookies",
|
16646
16664
|
"description": "Returns all browser cookies for the page and all of its subframes. Depending\non the backend support, will return detailed cookie information in the\n`cookies` field.",
|
@@ -17588,8 +17606,9 @@
|
|
17588
17606
|
},
|
17589
17607
|
{
|
17590
17608
|
"name": "adScriptId",
|
17591
|
-
"description": "Identifies the bottom-most script which caused the frame to be labelled\nas an ad. Only sent if frame is labelled as an ad and id is available.",
|
17609
|
+
"description": "Identifies the bottom-most script which caused the frame to be labelled\nas an ad. Only sent if frame is labelled as an ad and id is available.\nDeprecated: use Page.getAdScriptId instead.",
|
17592
17610
|
"experimental": true,
|
17611
|
+
"deprecated": true,
|
17593
17612
|
"optional": true,
|
17594
17613
|
"$ref": "AdScriptId"
|
17595
17614
|
}
|
@@ -21078,7 +21097,7 @@
|
|
21078
21097
|
},
|
21079
21098
|
{
|
21080
21099
|
"name": "headers",
|
21081
|
-
"description": "If set, overrides the request headers.",
|
21100
|
+
"description": "If set, overrides the request headers. Note that the overrides do not\nextend to subsequent redirect hops, if a redirect happens. Another override\nmay be applied to a different request produced by a redirect.",
|
21082
21101
|
"optional": true,
|
21083
21102
|
"type": "array",
|
21084
21103
|
"items": {
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -7682,6 +7682,14 @@ domain Page
|
|
7682
7682
|
# Recommendation for manifest's id attribute to match current id computed from start_url
|
7683
7683
|
optional string recommendedId
|
7684
7684
|
|
7685
|
+
experimental command getAdScriptId
|
7686
|
+
parameters
|
7687
|
+
FrameId frameId
|
7688
|
+
returns
|
7689
|
+
# Identifies the bottom-most script which caused the frame to be labelled
|
7690
|
+
# as an ad. Only sent if frame is labelled as an ad and id is available.
|
7691
|
+
optional AdScriptId adScriptId
|
7692
|
+
|
7685
7693
|
# Returns all browser cookies for the page and all of its subframes. Depending
|
7686
7694
|
# on the backend support, will return detailed cookie information in the
|
7687
7695
|
# `cookies` field.
|
@@ -8129,7 +8137,8 @@ domain Page
|
|
8129
8137
|
optional Runtime.StackTrace stack
|
8130
8138
|
# Identifies the bottom-most script which caused the frame to be labelled
|
8131
8139
|
# as an ad. Only sent if frame is labelled as an ad and id is available.
|
8132
|
-
|
8140
|
+
# Deprecated: use Page.getAdScriptId instead.
|
8141
|
+
experimental deprecated optional AdScriptId adScriptId
|
8133
8142
|
|
8134
8143
|
# Fired when frame no longer has a scheduled navigation.
|
8135
8144
|
deprecated event frameClearedScheduledNavigation
|
@@ -9945,7 +9954,9 @@ domain Fetch
|
|
9945
9954
|
optional string method
|
9946
9955
|
# If set, overrides the post data in the request.
|
9947
9956
|
optional binary postData
|
9948
|
-
# If set, overrides the request headers.
|
9957
|
+
# If set, overrides the request headers. Note that the overrides do not
|
9958
|
+
# extend to subsequent redirect hops, if a redirect happens. Another override
|
9959
|
+
# may be applied to a different request produced by a redirect.
|
9949
9960
|
optional array of HeaderEntry headers
|
9950
9961
|
# If set, overrides response interception behavior for this request.
|
9951
9962
|
experimental optional boolean interceptResponse
|
@@ -3526,6 +3526,10 @@ export namespace ProtocolMapping {
|
|
3526
3526
|
paramsType: [];
|
3527
3527
|
returnType: Protocol.Page.GetAppIdResponse;
|
3528
3528
|
};
|
3529
|
+
'Page.getAdScriptId': {
|
3530
|
+
paramsType: [Protocol.Page.GetAdScriptIdRequest];
|
3531
|
+
returnType: Protocol.Page.GetAdScriptIdResponse;
|
3532
|
+
};
|
3529
3533
|
/**
|
3530
3534
|
* Returns all browser cookies for the page and all of its subframes. Depending
|
3531
3535
|
* on the backend support, will return detailed cookie information in the
|
@@ -2729,6 +2729,8 @@ export namespace ProtocolProxyApi {
|
|
2729
2729
|
*/
|
2730
2730
|
getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
|
2731
2731
|
|
2732
|
+
getAdScriptId(params: Protocol.Page.GetAdScriptIdRequest): Promise<Protocol.Page.GetAdScriptIdResponse>;
|
2733
|
+
|
2732
2734
|
/**
|
2733
2735
|
* Returns all browser cookies for the page and all of its subframes. Depending
|
2734
2736
|
* on the backend support, will return detailed cookie information in the
|
package/types/protocol.d.ts
CHANGED
@@ -12992,6 +12992,18 @@ export namespace Protocol {
|
|
12992
12992
|
recommendedId?: string;
|
12993
12993
|
}
|
12994
12994
|
|
12995
|
+
export interface GetAdScriptIdRequest {
|
12996
|
+
frameId: FrameId;
|
12997
|
+
}
|
12998
|
+
|
12999
|
+
export interface GetAdScriptIdResponse {
|
13000
|
+
/**
|
13001
|
+
* Identifies the bottom-most script which caused the frame to be labelled
|
13002
|
+
* as an ad. Only sent if frame is labelled as an ad and id is available.
|
13003
|
+
*/
|
13004
|
+
adScriptId?: AdScriptId;
|
13005
|
+
}
|
13006
|
+
|
12995
13007
|
export interface GetCookiesResponse {
|
12996
13008
|
/**
|
12997
13009
|
* Array of cookie objects.
|
@@ -13591,6 +13603,7 @@ export namespace Protocol {
|
|
13591
13603
|
/**
|
13592
13604
|
* Identifies the bottom-most script which caused the frame to be labelled
|
13593
13605
|
* as an ad. Only sent if frame is labelled as an ad and id is available.
|
13606
|
+
* Deprecated: use Page.getAdScriptId instead.
|
13594
13607
|
*/
|
13595
13608
|
adScriptId?: AdScriptId;
|
13596
13609
|
}
|
@@ -15824,7 +15837,9 @@ export namespace Protocol {
|
|
15824
15837
|
*/
|
15825
15838
|
postData?: string;
|
15826
15839
|
/**
|
15827
|
-
* If set, overrides the request headers.
|
15840
|
+
* If set, overrides the request headers. Note that the overrides do not
|
15841
|
+
* extend to subsequent redirect hops, if a redirect happens. Another override
|
15842
|
+
* may be applied to a different request produced by a redirect.
|
15828
15843
|
*/
|
15829
15844
|
headers?: HeaderEntry[];
|
15830
15845
|
/**
|