devtools-protocol 0.0.1479623 → 0.0.1483532
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.
@@ -7153,6 +7153,13 @@
|
|
7153
7153
|
"description": "JavaScript object id of the node wrapper.",
|
7154
7154
|
"optional": true,
|
7155
7155
|
"$ref": "Runtime.RemoteObjectId"
|
7156
|
+
},
|
7157
|
+
{
|
7158
|
+
"name": "includeShadowDOM",
|
7159
|
+
"description": "Include all shadow roots. Equals to false if not specified.",
|
7160
|
+
"experimental": true,
|
7161
|
+
"optional": true,
|
7162
|
+
"type": "boolean"
|
7156
7163
|
}
|
7157
7164
|
],
|
7158
7165
|
"returns": [
|
@@ -10491,6 +10498,19 @@
|
|
10491
10498
|
}
|
10492
10499
|
]
|
10493
10500
|
},
|
10501
|
+
{
|
10502
|
+
"name": "setDataSaverOverride",
|
10503
|
+
"description": "Override the value of navigator.connection.saveData",
|
10504
|
+
"experimental": true,
|
10505
|
+
"parameters": [
|
10506
|
+
{
|
10507
|
+
"name": "dataSaverEnabled",
|
10508
|
+
"description": "Override value. Omitting the parameter disables the override.",
|
10509
|
+
"optional": true,
|
10510
|
+
"type": "boolean"
|
10511
|
+
}
|
10512
|
+
]
|
10513
|
+
},
|
10494
10514
|
{
|
10495
10515
|
"name": "setHardwareConcurrencyOverride",
|
10496
10516
|
"experimental": true,
|
@@ -17610,7 +17630,6 @@
|
|
17610
17630
|
"searchForNode",
|
17611
17631
|
"searchForUAShadowDOM",
|
17612
17632
|
"captureAreaScreenshot",
|
17613
|
-
"showDistances",
|
17614
17633
|
"none"
|
17615
17634
|
]
|
17616
17635
|
}
|
@@ -22508,15 +22527,6 @@
|
|
22508
22527
|
{
|
22509
22528
|
"name": "enable"
|
22510
22529
|
},
|
22511
|
-
{
|
22512
|
-
"name": "inspectWorker",
|
22513
|
-
"parameters": [
|
22514
|
-
{
|
22515
|
-
"name": "versionId",
|
22516
|
-
"type": "string"
|
22517
|
-
}
|
22518
|
-
]
|
22519
|
-
},
|
22520
22530
|
{
|
22521
22531
|
"name": "setForceUpdateOnPageLoad",
|
22522
22532
|
"parameters": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -3386,6 +3386,8 @@ domain DOM
|
|
3386
3386
|
optional BackendNodeId backendNodeId
|
3387
3387
|
# JavaScript object id of the node wrapper.
|
3388
3388
|
optional Runtime.RemoteObjectId objectId
|
3389
|
+
# Include all shadow roots. Equals to false if not specified.
|
3390
|
+
experimental optional boolean includeShadowDOM
|
3389
3391
|
returns
|
3390
3392
|
# Outer HTML markup.
|
3391
3393
|
string outerHTML
|
@@ -4874,6 +4876,13 @@ domain Emulation
|
|
4874
4876
|
# Image types to disable.
|
4875
4877
|
array of DisabledImageType imageTypes
|
4876
4878
|
|
4879
|
+
|
4880
|
+
# Override the value of navigator.connection.saveData
|
4881
|
+
experimental command setDataSaverOverride
|
4882
|
+
parameters
|
4883
|
+
# Override value. Omitting the parameter disables the override.
|
4884
|
+
optional boolean dataSaverEnabled
|
4885
|
+
|
4877
4886
|
experimental command setHardwareConcurrencyOverride
|
4878
4887
|
parameters
|
4879
4888
|
# Hardware concurrency to report
|
@@ -8253,7 +8262,6 @@ experimental domain Overlay
|
|
8253
8262
|
searchForNode
|
8254
8263
|
searchForUAShadowDOM
|
8255
8264
|
captureAreaScreenshot
|
8256
|
-
showDistances
|
8257
8265
|
none
|
8258
8266
|
|
8259
8267
|
# Disables domain notifications.
|
@@ -10639,10 +10647,6 @@ experimental domain ServiceWorker
|
|
10639
10647
|
|
10640
10648
|
command enable
|
10641
10649
|
|
10642
|
-
command inspectWorker
|
10643
|
-
parameters
|
10644
|
-
string versionId
|
10645
|
-
|
10646
10650
|
command setForceUpdateOnPageLoad
|
10647
10651
|
parameters
|
10648
10652
|
boolean forceUpdateOnPageLoad
|
@@ -3062,6 +3062,13 @@ export namespace ProtocolMapping {
|
|
3062
3062
|
paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest];
|
3063
3063
|
returnType: void;
|
3064
3064
|
};
|
3065
|
+
/**
|
3066
|
+
* Override the value of navigator.connection.saveData
|
3067
|
+
*/
|
3068
|
+
'Emulation.setDataSaverOverride': {
|
3069
|
+
paramsType: [Protocol.Emulation.SetDataSaverOverrideRequest?];
|
3070
|
+
returnType: void;
|
3071
|
+
};
|
3065
3072
|
'Emulation.setHardwareConcurrencyOverride': {
|
3066
3073
|
paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest];
|
3067
3074
|
returnType: void;
|
@@ -4480,10 +4487,6 @@ export namespace ProtocolMapping {
|
|
4480
4487
|
paramsType: [];
|
4481
4488
|
returnType: void;
|
4482
4489
|
};
|
4483
|
-
'ServiceWorker.inspectWorker': {
|
4484
|
-
paramsType: [Protocol.ServiceWorker.InspectWorkerRequest];
|
4485
|
-
returnType: void;
|
4486
|
-
};
|
4487
4490
|
'ServiceWorker.setForceUpdateOnPageLoad': {
|
4488
4491
|
paramsType: [Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest];
|
4489
4492
|
returnType: void;
|
@@ -2067,6 +2067,11 @@ export namespace ProtocolProxyApi {
|
|
2067
2067
|
|
2068
2068
|
setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest): Promise<void>;
|
2069
2069
|
|
2070
|
+
/**
|
2071
|
+
* Override the value of navigator.connection.saveData
|
2072
|
+
*/
|
2073
|
+
setDataSaverOverride(params: Protocol.Emulation.SetDataSaverOverrideRequest): Promise<void>;
|
2074
|
+
|
2070
2075
|
setHardwareConcurrencyOverride(params: Protocol.Emulation.SetHardwareConcurrencyOverrideRequest): Promise<void>;
|
2071
2076
|
|
2072
2077
|
/**
|
@@ -3597,8 +3602,6 @@ export namespace ProtocolProxyApi {
|
|
3597
3602
|
|
3598
3603
|
enable(): Promise<void>;
|
3599
3604
|
|
3600
|
-
inspectWorker(params: Protocol.ServiceWorker.InspectWorkerRequest): Promise<void>;
|
3601
|
-
|
3602
3605
|
setForceUpdateOnPageLoad(params: Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest): Promise<void>;
|
3603
3606
|
|
3604
3607
|
skipWaiting(params: Protocol.ServiceWorker.SkipWaitingRequest): Promise<void>;
|
@@ -2191,6 +2191,11 @@ export namespace ProtocolTestsProxyApi {
|
|
2191
2191
|
|
2192
2192
|
setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2193
2193
|
|
2194
|
+
/**
|
2195
|
+
* Override the value of navigator.connection.saveData
|
2196
|
+
*/
|
2197
|
+
setDataSaverOverride(params: Protocol.Emulation.SetDataSaverOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2198
|
+
|
2194
2199
|
setHardwareConcurrencyOverride(params: Protocol.Emulation.SetHardwareConcurrencyOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2195
2200
|
|
2196
2201
|
/**
|
@@ -3899,8 +3904,6 @@ export namespace ProtocolTestsProxyApi {
|
|
3899
3904
|
|
3900
3905
|
enable(): Promise<{id: number, result: void, sessionId: string}>;
|
3901
3906
|
|
3902
|
-
inspectWorker(params: Protocol.ServiceWorker.InspectWorkerRequest): Promise<{id: number, result: void, sessionId: string}>;
|
3903
|
-
|
3904
3907
|
setForceUpdateOnPageLoad(params: Protocol.ServiceWorker.SetForceUpdateOnPageLoadRequest): Promise<{id: number, result: void, sessionId: string}>;
|
3905
3908
|
|
3906
3909
|
skipWaiting(params: Protocol.ServiceWorker.SkipWaitingRequest): Promise<{id: number, result: void, sessionId: string}>;
|
package/types/protocol.d.ts
CHANGED
@@ -6951,6 +6951,10 @@ export namespace Protocol {
|
|
6951
6951
|
* JavaScript object id of the node wrapper.
|
6952
6952
|
*/
|
6953
6953
|
objectId?: Runtime.RemoteObjectId;
|
6954
|
+
/**
|
6955
|
+
* Include all shadow roots. Equals to false if not specified.
|
6956
|
+
*/
|
6957
|
+
includeShadowDOM?: boolean;
|
6954
6958
|
}
|
6955
6959
|
|
6956
6960
|
export interface GetOuterHTMLResponse {
|
@@ -8967,6 +8971,13 @@ export namespace Protocol {
|
|
8967
8971
|
imageTypes: DisabledImageType[];
|
8968
8972
|
}
|
8969
8973
|
|
8974
|
+
export interface SetDataSaverOverrideRequest {
|
8975
|
+
/**
|
8976
|
+
* Override value. Omitting the parameter disables the override.
|
8977
|
+
*/
|
8978
|
+
dataSaverEnabled?: boolean;
|
8979
|
+
}
|
8980
|
+
|
8970
8981
|
export interface SetHardwareConcurrencyOverrideRequest {
|
8971
8982
|
/**
|
8972
8983
|
* Hardware concurrency to report
|
@@ -13657,7 +13668,7 @@ export namespace Protocol {
|
|
13657
13668
|
maskColor?: DOM.RGBA;
|
13658
13669
|
}
|
13659
13670
|
|
13660
|
-
export type InspectMode = ('searchForNode' | 'searchForUAShadowDOM' | 'captureAreaScreenshot' | '
|
13671
|
+
export type InspectMode = ('searchForNode' | 'searchForUAShadowDOM' | 'captureAreaScreenshot' | 'none');
|
13661
13672
|
|
13662
13673
|
export interface GetHighlightObjectForTestRequest {
|
13663
13674
|
/**
|
@@ -16501,10 +16512,6 @@ export namespace Protocol {
|
|
16501
16512
|
tag: string;
|
16502
16513
|
}
|
16503
16514
|
|
16504
|
-
export interface InspectWorkerRequest {
|
16505
|
-
versionId: string;
|
16506
|
-
}
|
16507
|
-
|
16508
16515
|
export interface SetForceUpdateOnPageLoadRequest {
|
16509
16516
|
forceUpdateOnPageLoad: boolean;
|
16510
16517
|
}
|