devtools-protocol 0.0.1005560 → 0.0.1005767
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.
@@ -8305,6 +8305,17 @@
|
|
8305
8305
|
}
|
8306
8306
|
]
|
8307
8307
|
},
|
8308
|
+
{
|
8309
|
+
"name": "setHardwareConcurrencyOverride",
|
8310
|
+
"experimental": true,
|
8311
|
+
"parameters": [
|
8312
|
+
{
|
8313
|
+
"name": "hardwareConcurrency",
|
8314
|
+
"description": "Hardware concurrency to report",
|
8315
|
+
"type": "integer"
|
8316
|
+
}
|
8317
|
+
]
|
8318
|
+
},
|
8308
8319
|
{
|
8309
8320
|
"name": "setUserAgentOverride",
|
8310
8321
|
"description": "Allows overriding user agent with the given string.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -3808,6 +3808,11 @@ domain Emulation
|
|
3808
3808
|
# Image types to disable.
|
3809
3809
|
array of DisabledImageType imageTypes
|
3810
3810
|
|
3811
|
+
experimental command setHardwareConcurrencyOverride
|
3812
|
+
parameters
|
3813
|
+
# Hardware concurrency to report
|
3814
|
+
integer hardwareConcurrency
|
3815
|
+
|
3811
3816
|
# Allows overriding user agent with the given string.
|
3812
3817
|
command setUserAgentOverride
|
3813
3818
|
parameters
|
@@ -2565,6 +2565,10 @@ export namespace ProtocolMapping {
|
|
2565
2565
|
paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest];
|
2566
2566
|
returnType: void;
|
2567
2567
|
};
|
2568
|
+
'Emulation.setHardwareConcurrencyOverride': {
|
2569
|
+
paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest];
|
2570
|
+
returnType: void;
|
2571
|
+
};
|
2568
2572
|
/**
|
2569
2573
|
* Allows overriding user agent with the given string.
|
2570
2574
|
*/
|
@@ -1782,6 +1782,8 @@ export namespace ProtocolProxyApi {
|
|
1782
1782
|
|
1783
1783
|
setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest): Promise<void>;
|
1784
1784
|
|
1785
|
+
setHardwareConcurrencyOverride(params: Protocol.Emulation.SetHardwareConcurrencyOverrideRequest): Promise<void>;
|
1786
|
+
|
1785
1787
|
/**
|
1786
1788
|
* Allows overriding user agent with the given string.
|
1787
1789
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -7611,6 +7611,13 @@ export namespace Protocol {
|
|
7611
7611
|
imageTypes: DisabledImageType[];
|
7612
7612
|
}
|
7613
7613
|
|
7614
|
+
export interface SetHardwareConcurrencyOverrideRequest {
|
7615
|
+
/**
|
7616
|
+
* Hardware concurrency to report
|
7617
|
+
*/
|
7618
|
+
hardwareConcurrency: integer;
|
7619
|
+
}
|
7620
|
+
|
7614
7621
|
export interface SetUserAgentOverrideRequest {
|
7615
7622
|
/**
|
7616
7623
|
* User agent to use.
|