devtools-protocol 0.0.1345247 → 0.0.1347151
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.
@@ -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
|
{
|
@@ -2776,6 +2777,7 @@
|
|
2776
2777
|
"videoCapturePanTiltZoom",
|
2777
2778
|
"wakeLockScreen",
|
2778
2779
|
"wakeLockSystem",
|
2780
|
+
"webAppInstallation",
|
2779
2781
|
"windowManagement"
|
2780
2782
|
]
|
2781
2783
|
},
|
@@ -12143,11 +12145,29 @@
|
|
12143
12145
|
"type": "number"
|
12144
12146
|
}
|
12145
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
|
+
]
|
12146
12165
|
}
|
12147
12166
|
],
|
12148
12167
|
"commands": [
|
12149
12168
|
{
|
12150
12169
|
"name": "getDOMCounters",
|
12170
|
+
"description": "Retruns current DOM object counters.",
|
12151
12171
|
"returns": [
|
12152
12172
|
{
|
12153
12173
|
"name": "documents",
|
@@ -12164,7 +12184,22 @@
|
|
12164
12184
|
]
|
12165
12185
|
},
|
12166
12186
|
{
|
12167
|
-
"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."
|
12168
12203
|
},
|
12169
12204
|
{
|
12170
12205
|
"name": "forciblyPurgeJavaScriptMemory",
|
@@ -13444,6 +13479,7 @@
|
|
13444
13479
|
"UserSetting",
|
13445
13480
|
"TPCDMetadata",
|
13446
13481
|
"TPCDDeprecationTrial",
|
13482
|
+
"TopLevelTPCDDeprecationTrial",
|
13447
13483
|
"TPCDHeuristics",
|
13448
13484
|
"EnterprisePolicy",
|
13449
13485
|
"StorageAccess",
|
@@ -17172,6 +17208,7 @@
|
|
17172
17208
|
"usb",
|
17173
17209
|
"usb-unrestricted",
|
17174
17210
|
"vertical-scroll",
|
17211
|
+
"web-app-installation",
|
17175
17212
|
"web-printing",
|
17176
17213
|
"web-share",
|
17177
17214
|
"window-management",
|
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
|
@@ -1392,6 +1393,7 @@ domain Browser
|
|
1392
1393
|
videoCapturePanTiltZoom
|
1393
1394
|
wakeLockScreen
|
1394
1395
|
wakeLockSystem
|
1396
|
+
webAppInstallation
|
1395
1397
|
windowManagement
|
1396
1398
|
|
1397
1399
|
experimental type PermissionSetting extends string
|
@@ -5522,12 +5524,21 @@ experimental domain Memory
|
|
5522
5524
|
moderate
|
5523
5525
|
critical
|
5524
5526
|
|
5527
|
+
# Retruns current DOM object counters.
|
5525
5528
|
command getDOMCounters
|
5526
5529
|
returns
|
5527
5530
|
integer documents
|
5528
5531
|
integer nodes
|
5529
5532
|
integer jsEventListeners
|
5530
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.
|
5531
5542
|
command prepareForLeakDetection
|
5532
5543
|
|
5533
5544
|
# Simulate OomIntervention by purging V8 memory.
|
@@ -5603,6 +5614,15 @@ experimental domain Memory
|
|
5603
5614
|
# Size of the module in bytes.
|
5604
5615
|
number size
|
5605
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
|
+
|
5606
5626
|
# Network domain allows tracking network activities of the page. It exposes information about http,
|
5607
5627
|
# file, data and other requests and responses, their headers, bodies, timing, etc.
|
5608
5628
|
domain Network
|
@@ -6340,6 +6360,8 @@ domain Network
|
|
6340
6360
|
TPCDMetadata
|
6341
6361
|
# The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
|
6342
6362
|
TPCDDeprecationTrial
|
6363
|
+
# The cookie should have been blocked by 3PCD but is exempted by Top-level Deprecation Trial mitigation.
|
6364
|
+
TopLevelTPCDDeprecationTrial
|
6343
6365
|
# The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
|
6344
6366
|
TPCDHeuristics
|
6345
6367
|
# The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
|
@@ -8098,6 +8120,7 @@ domain Page
|
|
8098
8120
|
usb
|
8099
8121
|
usb-unrestricted
|
8100
8122
|
vertical-scroll
|
8123
|
+
web-app-installation
|
8101
8124
|
web-printing
|
8102
8125
|
web-share
|
8103
8126
|
window-management
|
@@ -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
|
|
@@ -4123,7 +4123,7 @@ export namespace Protocol {
|
|
4123
4123
|
windowState?: WindowState;
|
4124
4124
|
}
|
4125
4125
|
|
4126
|
-
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'capturedSurfaceControl' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'speakerSelection' | 'topLevelStorageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'windowManagement');
|
4126
|
+
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'capturedSurfaceControl' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'speakerSelection' | 'topLevelStorageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'webAppInstallation' | 'windowManagement');
|
4127
4127
|
|
4128
4128
|
export type PermissionSetting = ('granted' | 'denied' | 'prompt');
|
4129
4129
|
|
@@ -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.
|
@@ -13387,7 +13409,7 @@ export namespace Protocol {
|
|
13387
13409
|
* All Permissions Policy features. This enum should match the one defined
|
13388
13410
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
13389
13411
|
*/
|
13390
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'deferred-fetch' | 'digital-credentials-get' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13412
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'deferred-fetch' | 'digital-credentials-get' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13391
13413
|
|
13392
13414
|
/**
|
13393
13415
|
* Reason for a permissions policy feature to be disabled.
|