devtools-protocol 0.0.1346313 → 0.0.1347151
Sign up to get free protection for your applications and to get access to all the features.
@@ -1487,7 +1487,8 @@
|
|
1487
1487
|
"NoRegisterSourceHeader",
|
1488
1488
|
"NoRegisterTriggerHeader",
|
1489
1489
|
"NoRegisterOsSourceHeader",
|
1490
|
-
"NoRegisterOsTriggerHeader"
|
1490
|
+
"NoRegisterOsTriggerHeader",
|
1491
|
+
"NavigationRegistrationUniqueScopeAlreadySet"
|
1491
1492
|
]
|
1492
1493
|
},
|
1493
1494
|
{
|
@@ -12144,11 +12145,29 @@
|
|
12144
12145
|
"type": "number"
|
12145
12146
|
}
|
12146
12147
|
]
|
12148
|
+
},
|
12149
|
+
{
|
12150
|
+
"id": "DOMCounter",
|
12151
|
+
"description": "DOM object counter data.",
|
12152
|
+
"type": "object",
|
12153
|
+
"properties": [
|
12154
|
+
{
|
12155
|
+
"name": "name",
|
12156
|
+
"description": "Object name. Note: object names should be presumed volatile and clients should not expect\nthe returned names to be consistent across runs.",
|
12157
|
+
"type": "string"
|
12158
|
+
},
|
12159
|
+
{
|
12160
|
+
"name": "count",
|
12161
|
+
"description": "Object count.",
|
12162
|
+
"type": "integer"
|
12163
|
+
}
|
12164
|
+
]
|
12147
12165
|
}
|
12148
12166
|
],
|
12149
12167
|
"commands": [
|
12150
12168
|
{
|
12151
12169
|
"name": "getDOMCounters",
|
12170
|
+
"description": "Retruns current DOM object counters.",
|
12152
12171
|
"returns": [
|
12153
12172
|
{
|
12154
12173
|
"name": "documents",
|
@@ -12165,7 +12184,22 @@
|
|
12165
12184
|
]
|
12166
12185
|
},
|
12167
12186
|
{
|
12168
|
-
"name": "
|
12187
|
+
"name": "getDOMCountersForLeakDetection",
|
12188
|
+
"description": "Retruns DOM object counters after preparing renderer for leak detection.",
|
12189
|
+
"returns": [
|
12190
|
+
{
|
12191
|
+
"name": "counters",
|
12192
|
+
"description": "DOM object counters.",
|
12193
|
+
"type": "array",
|
12194
|
+
"items": {
|
12195
|
+
"$ref": "DOMCounter"
|
12196
|
+
}
|
12197
|
+
}
|
12198
|
+
]
|
12199
|
+
},
|
12200
|
+
{
|
12201
|
+
"name": "prepareForLeakDetection",
|
12202
|
+
"description": "Prepares for leak detection by terminating workers, stopping spellcheckers,\ndropping non-essential internal caches, running garbage collections, etc."
|
12169
12203
|
},
|
12170
12204
|
{
|
12171
12205
|
"name": "forciblyPurgeJavaScriptMemory",
|
@@ -13445,6 +13479,7 @@
|
|
13445
13479
|
"UserSetting",
|
13446
13480
|
"TPCDMetadata",
|
13447
13481
|
"TPCDDeprecationTrial",
|
13482
|
+
"TopLevelTPCDDeprecationTrial",
|
13448
13483
|
"TPCDHeuristics",
|
13449
13484
|
"EnterprisePolicy",
|
13450
13485
|
"StorageAccess",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -743,6 +743,7 @@ experimental domain Audits
|
|
743
743
|
NoRegisterTriggerHeader
|
744
744
|
NoRegisterOsSourceHeader
|
745
745
|
NoRegisterOsTriggerHeader
|
746
|
+
NavigationRegistrationUniqueScopeAlreadySet
|
746
747
|
|
747
748
|
type SharedDictionaryError extends string
|
748
749
|
enum
|
@@ -5523,12 +5524,21 @@ experimental domain Memory
|
|
5523
5524
|
moderate
|
5524
5525
|
critical
|
5525
5526
|
|
5527
|
+
# Retruns current DOM object counters.
|
5526
5528
|
command getDOMCounters
|
5527
5529
|
returns
|
5528
5530
|
integer documents
|
5529
5531
|
integer nodes
|
5530
5532
|
integer jsEventListeners
|
5531
5533
|
|
5534
|
+
# Retruns DOM object counters after preparing renderer for leak detection.
|
5535
|
+
command getDOMCountersForLeakDetection
|
5536
|
+
returns
|
5537
|
+
# DOM object counters.
|
5538
|
+
array of DOMCounter counters
|
5539
|
+
|
5540
|
+
# Prepares for leak detection by terminating workers, stopping spellcheckers,
|
5541
|
+
# dropping non-essential internal caches, running garbage collections, etc.
|
5532
5542
|
command prepareForLeakDetection
|
5533
5543
|
|
5534
5544
|
# Simulate OomIntervention by purging V8 memory.
|
@@ -5604,6 +5614,15 @@ experimental domain Memory
|
|
5604
5614
|
# Size of the module in bytes.
|
5605
5615
|
number size
|
5606
5616
|
|
5617
|
+
# DOM object counter data.
|
5618
|
+
type DOMCounter extends object
|
5619
|
+
properties
|
5620
|
+
# Object name. Note: object names should be presumed volatile and clients should not expect
|
5621
|
+
# the returned names to be consistent across runs.
|
5622
|
+
string name
|
5623
|
+
# Object count.
|
5624
|
+
integer count
|
5625
|
+
|
5607
5626
|
# Network domain allows tracking network activities of the page. It exposes information about http,
|
5608
5627
|
# file, data and other requests and responses, their headers, bodies, timing, etc.
|
5609
5628
|
domain Network
|
@@ -6341,6 +6360,8 @@ domain Network
|
|
6341
6360
|
TPCDMetadata
|
6342
6361
|
# The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
|
6343
6362
|
TPCDDeprecationTrial
|
6363
|
+
# The cookie should have been blocked by 3PCD but is exempted by Top-level Deprecation Trial mitigation.
|
6364
|
+
TopLevelTPCDDeprecationTrial
|
6344
6365
|
# The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
|
6345
6366
|
TPCDHeuristics
|
6346
6367
|
# The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
|
@@ -3199,10 +3199,24 @@ export namespace ProtocolMapping {
|
|
3199
3199
|
paramsType: [];
|
3200
3200
|
returnType: void;
|
3201
3201
|
};
|
3202
|
+
/**
|
3203
|
+
* Retruns current DOM object counters.
|
3204
|
+
*/
|
3202
3205
|
'Memory.getDOMCounters': {
|
3203
3206
|
paramsType: [];
|
3204
3207
|
returnType: Protocol.Memory.GetDOMCountersResponse;
|
3205
3208
|
};
|
3209
|
+
/**
|
3210
|
+
* Retruns DOM object counters after preparing renderer for leak detection.
|
3211
|
+
*/
|
3212
|
+
'Memory.getDOMCountersForLeakDetection': {
|
3213
|
+
paramsType: [];
|
3214
|
+
returnType: Protocol.Memory.GetDOMCountersForLeakDetectionResponse;
|
3215
|
+
};
|
3216
|
+
/**
|
3217
|
+
* Prepares for leak detection by terminating workers, stopping spellcheckers,
|
3218
|
+
* dropping non-essential internal caches, running garbage collections, etc.
|
3219
|
+
*/
|
3206
3220
|
'Memory.prepareForLeakDetection': {
|
3207
3221
|
paramsType: [];
|
3208
3222
|
returnType: void;
|
@@ -2290,8 +2290,20 @@ export namespace ProtocolProxyApi {
|
|
2290
2290
|
}
|
2291
2291
|
|
2292
2292
|
export interface MemoryApi {
|
2293
|
+
/**
|
2294
|
+
* Retruns current DOM object counters.
|
2295
|
+
*/
|
2293
2296
|
getDOMCounters(): Promise<Protocol.Memory.GetDOMCountersResponse>;
|
2294
2297
|
|
2298
|
+
/**
|
2299
|
+
* Retruns DOM object counters after preparing renderer for leak detection.
|
2300
|
+
*/
|
2301
|
+
getDOMCountersForLeakDetection(): Promise<Protocol.Memory.GetDOMCountersForLeakDetectionResponse>;
|
2302
|
+
|
2303
|
+
/**
|
2304
|
+
* Prepares for leak detection by terminating workers, stopping spellcheckers,
|
2305
|
+
* dropping non-essential internal caches, running garbage collections, etc.
|
2306
|
+
*/
|
2295
2307
|
prepareForLeakDetection(): Promise<void>;
|
2296
2308
|
|
2297
2309
|
/**
|
@@ -2428,8 +2428,20 @@ export namespace ProtocolTestsProxyApi {
|
|
2428
2428
|
}
|
2429
2429
|
|
2430
2430
|
export interface MemoryApi {
|
2431
|
+
/**
|
2432
|
+
* Retruns current DOM object counters.
|
2433
|
+
*/
|
2431
2434
|
getDOMCounters(): Promise<{id: number, result: Protocol.Memory.GetDOMCountersResponse, sessionId: string}>;
|
2432
2435
|
|
2436
|
+
/**
|
2437
|
+
* Retruns DOM object counters after preparing renderer for leak detection.
|
2438
|
+
*/
|
2439
|
+
getDOMCountersForLeakDetection(): Promise<{id: number, result: Protocol.Memory.GetDOMCountersForLeakDetectionResponse, sessionId: string}>;
|
2440
|
+
|
2441
|
+
/**
|
2442
|
+
* Prepares for leak detection by terminating workers, stopping spellcheckers,
|
2443
|
+
* dropping non-essential internal caches, running garbage collections, etc.
|
2444
|
+
*/
|
2433
2445
|
prepareForLeakDetection(): Promise<{id: number, result: void, sessionId: string}>;
|
2434
2446
|
|
2435
2447
|
/**
|
package/types/protocol.d.ts
CHANGED
@@ -3472,7 +3472,7 @@ export namespace Protocol {
|
|
3472
3472
|
clientSecurityState?: Network.ClientSecurityState;
|
3473
3473
|
}
|
3474
3474
|
|
3475
|
-
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation' | 'InvalidInfoHeader' | 'NoRegisterSourceHeader' | 'NoRegisterTriggerHeader' | 'NoRegisterOsSourceHeader' | 'NoRegisterOsTriggerHeader');
|
3475
|
+
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation' | 'InvalidInfoHeader' | 'NoRegisterSourceHeader' | 'NoRegisterTriggerHeader' | 'NoRegisterOsSourceHeader' | 'NoRegisterOsTriggerHeader' | 'NavigationRegistrationUniqueScopeAlreadySet');
|
3476
3476
|
|
3477
3477
|
export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
|
3478
3478
|
|
@@ -10147,12 +10147,34 @@ export namespace Protocol {
|
|
10147
10147
|
size: number;
|
10148
10148
|
}
|
10149
10149
|
|
10150
|
+
/**
|
10151
|
+
* DOM object counter data.
|
10152
|
+
*/
|
10153
|
+
export interface DOMCounter {
|
10154
|
+
/**
|
10155
|
+
* Object name. Note: object names should be presumed volatile and clients should not expect
|
10156
|
+
* the returned names to be consistent across runs.
|
10157
|
+
*/
|
10158
|
+
name: string;
|
10159
|
+
/**
|
10160
|
+
* Object count.
|
10161
|
+
*/
|
10162
|
+
count: integer;
|
10163
|
+
}
|
10164
|
+
|
10150
10165
|
export interface GetDOMCountersResponse {
|
10151
10166
|
documents: integer;
|
10152
10167
|
nodes: integer;
|
10153
10168
|
jsEventListeners: integer;
|
10154
10169
|
}
|
10155
10170
|
|
10171
|
+
export interface GetDOMCountersForLeakDetectionResponse {
|
10172
|
+
/**
|
10173
|
+
* DOM object counters.
|
10174
|
+
*/
|
10175
|
+
counters: DOMCounter[];
|
10176
|
+
}
|
10177
|
+
|
10156
10178
|
export interface SetPressureNotificationsSuppressedRequest {
|
10157
10179
|
/**
|
10158
10180
|
* If true, memory pressure notifications will be suppressed.
|
@@ -10964,7 +10986,7 @@ export namespace Protocol {
|
|
10964
10986
|
/**
|
10965
10987
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
10966
10988
|
*/
|
10967
|
-
export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'CorsOptIn' | 'Scheme');
|
10989
|
+
export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TopLevelTPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'CorsOptIn' | 'Scheme');
|
10968
10990
|
|
10969
10991
|
/**
|
10970
10992
|
* A cookie which was not stored from a response with the corresponding reason.
|