patchright-core 1.56.1 → 1.57.0
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.
- package/ThirdPartyNotices.txt +40 -381
- package/bin/install_webkit_wsl.ps1 +1 -3
- package/browsers.json +13 -13
- package/lib/cli/program.js +14 -57
- package/lib/client/api.js +0 -3
- package/lib/client/browserContext.js +22 -4
- package/lib/client/consoleMessage.js +5 -1
- package/lib/client/electron.js +1 -1
- package/lib/client/events.js +2 -1
- package/lib/client/locator.js +4 -1
- package/lib/client/page.js +2 -5
- package/lib/client/playwright.js +1 -5
- package/lib/client/tracing.js +6 -4
- package/lib/client/worker.js +22 -0
- package/lib/generated/clockSource.js +1 -1
- package/lib/generated/injectedScriptSource.js +1 -1
- package/lib/generated/pollingRecorderSource.js +1 -1
- package/lib/inProcessFactory.js +0 -2
- package/lib/protocol/validator.js +24 -46
- package/lib/server/android/android.js +1 -1
- package/lib/server/bidi/bidiBrowser.js +26 -11
- package/lib/server/bidi/bidiChromium.js +1 -1
- package/lib/server/bidi/bidiFirefox.js +1 -1
- package/lib/server/bidi/bidiPage.js +25 -5
- package/lib/server/browserContext.js +9 -10
- package/lib/server/chromium/chromium.js +12 -1
- package/lib/server/chromium/chromiumSwitches.js +10 -1
- package/lib/server/chromium/crBrowser.js +8 -0
- package/lib/server/chromium/crNetworkManager.js +15 -6
- package/lib/server/chromium/crPage.js +7 -9
- package/lib/server/chromium/crServiceWorker.js +14 -1
- package/lib/server/chromium/videoRecorder.js +14 -12
- package/lib/server/console.js +5 -1
- package/lib/server/deviceDescriptorsSource.json +56 -56
- package/lib/server/dispatchers/browserContextDispatcher.js +23 -6
- package/lib/server/dispatchers/pageDispatcher.js +10 -22
- package/lib/server/dispatchers/playwrightDispatcher.js +0 -4
- package/lib/server/electron/electron.js +1 -1
- package/lib/server/firefox/ffPage.js +3 -6
- package/lib/server/firefox/firefox.js +12 -1
- package/lib/server/frameSelectors.js +2 -4
- package/lib/server/frames.js +6 -1
- package/lib/server/input.js +7 -3
- package/lib/server/localUtils.js +4 -8
- package/lib/server/page.js +54 -38
- package/lib/server/playwright.js +2 -4
- package/lib/server/recorder/recorderApp.js +1 -1
- package/lib/server/recorder.js +3 -2
- package/lib/server/registry/index.js +114 -48
- package/lib/server/registry/oopDownloadBrowserMain.js +6 -2
- package/lib/server/socksClientCertificatesInterceptor.js +1 -1
- package/lib/server/trace/recorder/tracing.js +2 -0
- package/lib/server/trace/viewer/traceViewer.js +37 -36
- package/lib/server/utils/comparators.js +3 -25
- package/lib/server/utils/hostPlatform.js +15 -3
- package/lib/server/utils/imageUtils.js +141 -0
- package/lib/server/utils/network.js +22 -16
- package/lib/server/webkit/webkit.js +1 -10
- package/lib/server/webkit/wkPage.js +1 -5
- package/lib/server/webkit/wkWorkers.js +2 -1
- package/lib/utils/isomorphic/ariaSnapshot.js +5 -0
- package/lib/utils/isomorphic/locatorGenerators.js +24 -8
- package/lib/utils/isomorphic/mimeType.js +1 -1
- package/lib/utils/isomorphic/protocolFormatter.js +3 -0
- package/lib/utils/isomorphic/protocolMetainfo.js +2 -1
- package/lib/utils/isomorphic/urlMatch.js +19 -5
- package/lib/utils.js +2 -0
- package/lib/utilsBundle.js +6 -3
- package/lib/utilsBundleImpl/index.js +171 -171
- package/lib/vite/htmlReport/index.html +18 -18
- package/lib/vite/recorder/assets/codeMirrorModule-CBbSe-ZI.js +25 -0
- package/lib/vite/recorder/assets/{index-Y-X2TGJv.js → index-CpZVd2nA.js} +32 -32
- package/lib/vite/recorder/index.html +1 -1
- package/lib/vite/traceViewer/assets/codeMirrorModule-DHz0wP2C.js +25 -0
- package/lib/vite/traceViewer/assets/defaultSettingsView-WsZP88O6.js +266 -0
- package/lib/vite/traceViewer/defaultSettingsView.ConWv5KN.css +1 -0
- package/lib/vite/traceViewer/index.C4Y3Aw8n.css +1 -0
- package/lib/vite/traceViewer/index.C8xAeo93.js +2 -0
- package/lib/vite/traceViewer/index.html +6 -6
- package/lib/vite/traceViewer/manifest.webmanifest +16 -0
- package/lib/vite/traceViewer/snapshot.html +3 -3
- package/lib/vite/traceViewer/sw.bundle.js +3 -3
- package/lib/vite/traceViewer/{uiMode.B_CpmIpF.js → uiMode.BltraIJB.js} +3 -3
- package/lib/vite/traceViewer/uiMode.html +3 -3
- package/package.json +1 -1
- package/types/protocol.d.ts +213 -98
- package/types/types.d.ts +120 -117
- package/lib/client/accessibility.js +0 -49
- package/lib/server/accessibility.js +0 -69
- package/lib/server/chromium/crAccessibility.js +0 -263
- package/lib/server/firefox/ffAccessibility.js +0 -238
- package/lib/server/webkit/wkAccessibility.js +0 -237
- package/lib/server/webkit/wsl/webkit-wsl-transport-client.js +0 -74
- package/lib/server/webkit/wsl/webkit-wsl-transport-server.js +0 -113
- package/lib/vite/recorder/assets/codeMirrorModule-RJCXzfmE.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-rbQPefq7.js +0 -24
- package/lib/vite/traceViewer/assets/defaultSettingsView-CLbol9XR.js +0 -265
- package/lib/vite/traceViewer/defaultSettingsView.TQ8_7ybu.css +0 -1
- package/lib/vite/traceViewer/index.I8N9v4jT.css +0 -1
- package/lib/vite/traceViewer/index.zIVi6mN9.js +0 -2
package/types/protocol.d.ts
CHANGED
|
@@ -110,9 +110,10 @@ export module Protocol {
|
|
|
110
110
|
- from 'live' to 'root': attributes which apply to nodes in live regions
|
|
111
111
|
- from 'autocomplete' to 'valuetext': attributes which apply to widgets
|
|
112
112
|
- from 'checked' to 'selected': states which apply to widgets
|
|
113
|
-
- from 'activedescendant' to 'owns'
|
|
113
|
+
- from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling
|
|
114
|
+
- from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden
|
|
114
115
|
*/
|
|
115
|
-
export type AXPropertyName = "actions"|"busy"|"disabled"|"editable"|"focusable"|"focused"|"hidden"|"hiddenRoot"|"invalid"|"keyshortcuts"|"settable"|"roledescription"|"live"|"atomic"|"relevant"|"root"|"autocomplete"|"hasPopup"|"level"|"multiselectable"|"orientation"|"multiline"|"readonly"|"required"|"valuemin"|"valuemax"|"valuetext"|"checked"|"expanded"|"modal"|"pressed"|"selected"|"activedescendant"|"controls"|"describedby"|"details"|"errormessage"|"flowto"|"labelledby"|"owns"|"url";
|
|
116
|
+
export type AXPropertyName = "actions"|"busy"|"disabled"|"editable"|"focusable"|"focused"|"hidden"|"hiddenRoot"|"invalid"|"keyshortcuts"|"settable"|"roledescription"|"live"|"atomic"|"relevant"|"root"|"autocomplete"|"hasPopup"|"level"|"multiselectable"|"orientation"|"multiline"|"readonly"|"required"|"valuemin"|"valuemax"|"valuetext"|"checked"|"expanded"|"modal"|"pressed"|"selected"|"activedescendant"|"controls"|"describedby"|"details"|"errormessage"|"flowto"|"labelledby"|"owns"|"url"|"activeFullscreenElement"|"activeModalDialog"|"activeAriaModalDialog"|"ariaHiddenElement"|"ariaHiddenSubtree"|"emptyAlt"|"emptyText"|"inertElement"|"inertSubtree"|"labelContainer"|"labelFor"|"notRendered"|"notVisible"|"presentationalRole"|"probablyPresentational"|"inactiveCarouselTabContent"|"uninteresting";
|
|
116
117
|
/**
|
|
117
118
|
* A node in the accessibility tree.
|
|
118
119
|
*/
|
|
@@ -859,7 +860,7 @@ CORS RFC1918 enforcement.
|
|
|
859
860
|
clientSecurityState?: Network.ClientSecurityState;
|
|
860
861
|
}
|
|
861
862
|
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport"|"NavigationRegistrationWithoutTransientUserActivation"|"InvalidInfoHeader"|"NoRegisterSourceHeader"|"NoRegisterTriggerHeader"|"NoRegisterOsSourceHeader"|"NoRegisterOsTriggerHeader"|"NavigationRegistrationUniqueScopeAlreadySet";
|
|
862
|
-
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";
|
|
863
|
+
export type SharedDictionaryError = "UseErrorCrossOriginNoCorsRequest"|"UseErrorDictionaryLoadFailure"|"UseErrorMatchingDictionaryNotUsed"|"UseErrorUnexpectedContentDictionaryHeader"|"WriteErrorCossOriginNoCorsRequest"|"WriteErrorDisallowedBySettings"|"WriteErrorExpiredResponse"|"WriteErrorFeatureDisabled"|"WriteErrorInsufficientResources"|"WriteErrorInvalidMatchField"|"WriteErrorInvalidStructuredHeader"|"WriteErrorInvalidTTLField"|"WriteErrorNavigationRequest"|"WriteErrorNoMatchField"|"WriteErrorNonIntegerTTLField"|"WriteErrorNonListMatchDestField"|"WriteErrorNonSecureContext"|"WriteErrorNonStringIdField"|"WriteErrorNonStringInMatchDestList"|"WriteErrorNonStringMatchField"|"WriteErrorNonTokenTypeField"|"WriteErrorRequestAborted"|"WriteErrorShuttingDown"|"WriteErrorTooLongIdField"|"WriteErrorUnsupportedType";
|
|
863
864
|
export type SRIMessageSignatureError = "MissingSignatureHeader"|"MissingSignatureInputHeader"|"InvalidSignatureHeader"|"InvalidSignatureInputHeader"|"SignatureHeaderValueIsNotByteSequence"|"SignatureHeaderValueIsParameterized"|"SignatureHeaderValueIsIncorrectLength"|"SignatureInputHeaderMissingLabel"|"SignatureInputHeaderValueNotInnerList"|"SignatureInputHeaderValueMissingComponents"|"SignatureInputHeaderInvalidComponentType"|"SignatureInputHeaderInvalidComponentName"|"SignatureInputHeaderInvalidHeaderComponentParameter"|"SignatureInputHeaderInvalidDerivedComponentParameter"|"SignatureInputHeaderKeyIdLength"|"SignatureInputHeaderInvalidParameter"|"SignatureInputHeaderMissingRequiredParameters"|"ValidationFailedSignatureExpired"|"ValidationFailedInvalidLength"|"ValidationFailedSignatureMismatch"|"ValidationFailedIntegrityMismatch";
|
|
864
865
|
export type UnencodedDigestError = "MalformedDictionary"|"UnknownAlgorithm"|"IncorrectDigestType"|"IncorrectDigestLength";
|
|
865
866
|
/**
|
|
@@ -1230,6 +1231,8 @@ using Audits.issueAdded event.
|
|
|
1230
1231
|
export interface AddressField {
|
|
1231
1232
|
/**
|
|
1232
1233
|
* address field name, for example GIVEN_NAME.
|
|
1234
|
+
The full list of supported field names:
|
|
1235
|
+
https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38
|
|
1233
1236
|
*/
|
|
1234
1237
|
name: string;
|
|
1235
1238
|
/**
|
|
@@ -1332,9 +1335,13 @@ If the field and related form cannot be autofilled, returns an error.
|
|
|
1332
1335
|
*/
|
|
1333
1336
|
frameId?: Page.FrameId;
|
|
1334
1337
|
/**
|
|
1335
|
-
* Credit card information to fill out the form. Credit card data is not saved.
|
|
1338
|
+
* Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.
|
|
1336
1339
|
*/
|
|
1337
|
-
card
|
|
1340
|
+
card?: CreditCard;
|
|
1341
|
+
/**
|
|
1342
|
+
* Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.
|
|
1343
|
+
*/
|
|
1344
|
+
address?: Address;
|
|
1338
1345
|
}
|
|
1339
1346
|
export type triggerReturnValue = {
|
|
1340
1347
|
}
|
|
@@ -1913,7 +1920,7 @@ is guaranteed to exist.
|
|
|
1913
1920
|
}
|
|
1914
1921
|
|
|
1915
1922
|
/**
|
|
1916
|
-
* Set permission settings for given
|
|
1923
|
+
* Set permission settings for given embedding and embedded origins.
|
|
1917
1924
|
*/
|
|
1918
1925
|
export type setPermissionParameters = {
|
|
1919
1926
|
/**
|
|
@@ -1925,15 +1932,15 @@ is guaranteed to exist.
|
|
|
1925
1932
|
*/
|
|
1926
1933
|
setting: PermissionSetting;
|
|
1927
1934
|
/**
|
|
1928
|
-
*
|
|
1935
|
+
* Embedding origin the permission applies to, all origins if not specified.
|
|
1929
1936
|
*/
|
|
1930
1937
|
origin?: string;
|
|
1931
1938
|
/**
|
|
1932
|
-
*
|
|
1933
|
-
present and valid. If the
|
|
1934
|
-
|
|
1939
|
+
* Embedded origin the permission applies to. It is ignored unless the embedding origin is
|
|
1940
|
+
present and valid. If the embedding origin is provided but the embedded origin isn't, the
|
|
1941
|
+
embedding origin is used as the embedded origin.
|
|
1935
1942
|
*/
|
|
1936
|
-
|
|
1943
|
+
embeddedOrigin?: string;
|
|
1937
1944
|
/**
|
|
1938
1945
|
* Context to override. When omitted, default browser context is used.
|
|
1939
1946
|
*/
|
|
@@ -1942,7 +1949,8 @@ requesting origin is used as the embedding origin.
|
|
|
1942
1949
|
export type setPermissionReturnValue = {
|
|
1943
1950
|
}
|
|
1944
1951
|
/**
|
|
1945
|
-
* Grant specific permissions to the given origin and reject all others.
|
|
1952
|
+
* Grant specific permissions to the given origin and reject all others. Deprecated. Use
|
|
1953
|
+
setPermission instead.
|
|
1946
1954
|
*/
|
|
1947
1955
|
export type grantPermissionsParameters = {
|
|
1948
1956
|
permissions: PermissionType[];
|
|
@@ -2483,6 +2491,10 @@ stylesheet rules) this rule came from.
|
|
|
2483
2491
|
* Associated style declaration.
|
|
2484
2492
|
*/
|
|
2485
2493
|
style: CSSStyle;
|
|
2494
|
+
/**
|
|
2495
|
+
* The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
|
|
2496
|
+
*/
|
|
2497
|
+
originTreeScopeNodeId?: DOM.BackendNodeId;
|
|
2486
2498
|
/**
|
|
2487
2499
|
* Media list array (for rules involving media queries). The array enumerates media queries
|
|
2488
2500
|
starting with the innermost one, going outwards.
|
|
@@ -4276,6 +4288,7 @@ The property is always undefined now.
|
|
|
4276
4288
|
compatibilityMode?: CompatibilityMode;
|
|
4277
4289
|
assignedSlot?: BackendNode;
|
|
4278
4290
|
isScrollable?: boolean;
|
|
4291
|
+
affectedByStartingStyles?: boolean;
|
|
4279
4292
|
}
|
|
4280
4293
|
/**
|
|
4281
4294
|
* A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
|
@@ -4533,6 +4546,19 @@ The property is always undefined now.
|
|
|
4533
4546
|
*/
|
|
4534
4547
|
isScrollable: boolean;
|
|
4535
4548
|
}
|
|
4549
|
+
/**
|
|
4550
|
+
* Fired when a node's starting styles changes.
|
|
4551
|
+
*/
|
|
4552
|
+
export type affectedByStartingStylesFlagUpdatedPayload = {
|
|
4553
|
+
/**
|
|
4554
|
+
* The id of the node.
|
|
4555
|
+
*/
|
|
4556
|
+
nodeId: DOM.NodeId;
|
|
4557
|
+
/**
|
|
4558
|
+
* If the node has starting styles.
|
|
4559
|
+
*/
|
|
4560
|
+
affectedByStartingStyles: boolean;
|
|
4561
|
+
}
|
|
4536
4562
|
/**
|
|
4537
4563
|
* Called when a pseudo element is removed from an element.
|
|
4538
4564
|
*/
|
|
@@ -8441,9 +8467,9 @@ Security origin.
|
|
|
8441
8467
|
*/
|
|
8442
8468
|
objectStoreName: string;
|
|
8443
8469
|
/**
|
|
8444
|
-
* Index name,
|
|
8470
|
+
* Index name. If not specified, it performs an object store data request.
|
|
8445
8471
|
*/
|
|
8446
|
-
indexName
|
|
8472
|
+
indexName?: string;
|
|
8447
8473
|
/**
|
|
8448
8474
|
* Number of records to skip.
|
|
8449
8475
|
*/
|
|
@@ -9101,6 +9127,10 @@ for the preferred input type).
|
|
|
9101
9127
|
* Fired when debugging target has reloaded after crash
|
|
9102
9128
|
*/
|
|
9103
9129
|
export type targetReloadedAfterCrashPayload = void;
|
|
9130
|
+
/**
|
|
9131
|
+
* Fired on worker targets when main worker script and any imported scripts have been evaluated.
|
|
9132
|
+
*/
|
|
9133
|
+
export type workerScriptLoadedPayload = void;
|
|
9104
9134
|
|
|
9105
9135
|
/**
|
|
9106
9136
|
* Disables inspector domain notifications.
|
|
@@ -10056,6 +10086,10 @@ passed by the developer (e.g. via "fetch") as understood by the backend.
|
|
|
10056
10086
|
request corresponding to the main frame.
|
|
10057
10087
|
*/
|
|
10058
10088
|
isSameSite?: boolean;
|
|
10089
|
+
/**
|
|
10090
|
+
* True when the resource request is ad-related.
|
|
10091
|
+
*/
|
|
10092
|
+
isAdRelated?: boolean;
|
|
10059
10093
|
}
|
|
10060
10094
|
/**
|
|
10061
10095
|
* Details of a signed certificate timestamp (SCT).
|
|
@@ -10436,7 +10470,7 @@ If the opcode isn't 1, then payloadData is a base64 encoded string representing
|
|
|
10436
10470
|
/**
|
|
10437
10471
|
* Type of this initiator.
|
|
10438
10472
|
*/
|
|
10439
|
-
type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"other";
|
|
10473
|
+
type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"FedCM"|"other";
|
|
10440
10474
|
/**
|
|
10441
10475
|
* Initiator JavaScript stack trace, set for Script only.
|
|
10442
10476
|
Requires the Debugger domain to be enabled.
|
|
@@ -10498,6 +10532,9 @@ of the request to the endpoint that set the cookie.
|
|
|
10498
10532
|
path: string;
|
|
10499
10533
|
/**
|
|
10500
10534
|
* Cookie expiration date as the number of seconds since the UNIX epoch.
|
|
10535
|
+
The value is set to -1 if the expiry date is not set.
|
|
10536
|
+
The value can be null for values that cannot be represented in
|
|
10537
|
+
JSON (±Inf).
|
|
10501
10538
|
*/
|
|
10502
10539
|
expires: number;
|
|
10503
10540
|
/**
|
|
@@ -10864,6 +10901,54 @@ extra headers.
|
|
|
10864
10901
|
* List of content encodings supported by the backend.
|
|
10865
10902
|
*/
|
|
10866
10903
|
export type ContentEncoding = "deflate"|"gzip"|"br"|"zstd";
|
|
10904
|
+
export interface NetworkConditions {
|
|
10905
|
+
/**
|
|
10906
|
+
* Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
|
|
10907
|
+
syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
|
|
10908
|
+
matched (including p2p connections).
|
|
10909
|
+
*/
|
|
10910
|
+
urlPattern: string;
|
|
10911
|
+
/**
|
|
10912
|
+
* Minimum latency from request sent to response headers received (ms).
|
|
10913
|
+
*/
|
|
10914
|
+
latency: number;
|
|
10915
|
+
/**
|
|
10916
|
+
* Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.
|
|
10917
|
+
*/
|
|
10918
|
+
downloadThroughput: number;
|
|
10919
|
+
/**
|
|
10920
|
+
* Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
|
|
10921
|
+
*/
|
|
10922
|
+
uploadThroughput: number;
|
|
10923
|
+
/**
|
|
10924
|
+
* Connection type if known.
|
|
10925
|
+
*/
|
|
10926
|
+
connectionType?: ConnectionType;
|
|
10927
|
+
/**
|
|
10928
|
+
* WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
|
|
10929
|
+
*/
|
|
10930
|
+
packetLoss?: number;
|
|
10931
|
+
/**
|
|
10932
|
+
* WebRTC packet queue length (packet). 0 removes any queue length limitations.
|
|
10933
|
+
*/
|
|
10934
|
+
packetQueueLength?: number;
|
|
10935
|
+
/**
|
|
10936
|
+
* WebRTC packetReordering feature.
|
|
10937
|
+
*/
|
|
10938
|
+
packetReordering?: boolean;
|
|
10939
|
+
}
|
|
10940
|
+
export interface BlockPattern {
|
|
10941
|
+
/**
|
|
10942
|
+
* URL pattern to match. Patterns use the URLPattern constructor string syntax
|
|
10943
|
+
(https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `<example>`.
|
|
10944
|
+
*/
|
|
10945
|
+
urlPattern: string;
|
|
10946
|
+
/**
|
|
10947
|
+
* Whether or not to block the pattern. If false, a matching request will not be blocked even if it matches a later
|
|
10948
|
+
`BlockPattern`.
|
|
10949
|
+
*/
|
|
10950
|
+
block: boolean;
|
|
10951
|
+
}
|
|
10867
10952
|
export type DirectSocketDnsQueryType = "ipv4"|"ipv6";
|
|
10868
10953
|
export interface DirectTCPSocketOptions {
|
|
10869
10954
|
/**
|
|
@@ -11638,6 +11723,11 @@ the request and the ones not sent; the latter are distinguished by having blocke
|
|
|
11638
11723
|
* Whether the site has partitioned cookies stored in a partition different than the current one.
|
|
11639
11724
|
*/
|
|
11640
11725
|
siteHasCookieInOtherPartition?: boolean;
|
|
11726
|
+
/**
|
|
11727
|
+
* The network conditions id if this request was affected by network conditions configured via
|
|
11728
|
+
emulateNetworkConditionsByRule.
|
|
11729
|
+
*/
|
|
11730
|
+
appliedNetworkConditionsId?: string;
|
|
11641
11731
|
}
|
|
11642
11732
|
/**
|
|
11643
11733
|
* Fired when additional information about a responseReceived event is available from the network
|
|
@@ -11744,76 +11834,6 @@ preemptively (e.g. a cache hit).
|
|
|
11744
11834
|
* Fired once security policy has been updated.
|
|
11745
11835
|
*/
|
|
11746
11836
|
export type policyUpdatedPayload = void;
|
|
11747
|
-
/**
|
|
11748
|
-
* Fired once when parsing the .wbn file has succeeded.
|
|
11749
|
-
The event contains the information about the web bundle contents.
|
|
11750
|
-
*/
|
|
11751
|
-
export type subresourceWebBundleMetadataReceivedPayload = {
|
|
11752
|
-
/**
|
|
11753
|
-
* Request identifier. Used to match this information to another event.
|
|
11754
|
-
*/
|
|
11755
|
-
requestId: RequestId;
|
|
11756
|
-
/**
|
|
11757
|
-
* A list of URLs of resources in the subresource Web Bundle.
|
|
11758
|
-
*/
|
|
11759
|
-
urls: string[];
|
|
11760
|
-
}
|
|
11761
|
-
/**
|
|
11762
|
-
* Fired once when parsing the .wbn file has failed.
|
|
11763
|
-
*/
|
|
11764
|
-
export type subresourceWebBundleMetadataErrorPayload = {
|
|
11765
|
-
/**
|
|
11766
|
-
* Request identifier. Used to match this information to another event.
|
|
11767
|
-
*/
|
|
11768
|
-
requestId: RequestId;
|
|
11769
|
-
/**
|
|
11770
|
-
* Error message
|
|
11771
|
-
*/
|
|
11772
|
-
errorMessage: string;
|
|
11773
|
-
}
|
|
11774
|
-
/**
|
|
11775
|
-
* Fired when handling requests for resources within a .wbn file.
|
|
11776
|
-
Note: this will only be fired for resources that are requested by the webpage.
|
|
11777
|
-
*/
|
|
11778
|
-
export type subresourceWebBundleInnerResponseParsedPayload = {
|
|
11779
|
-
/**
|
|
11780
|
-
* Request identifier of the subresource request
|
|
11781
|
-
*/
|
|
11782
|
-
innerRequestId: RequestId;
|
|
11783
|
-
/**
|
|
11784
|
-
* URL of the subresource resource.
|
|
11785
|
-
*/
|
|
11786
|
-
innerRequestURL: string;
|
|
11787
|
-
/**
|
|
11788
|
-
* Bundle request identifier. Used to match this information to another event.
|
|
11789
|
-
This made be absent in case when the instrumentation was enabled only
|
|
11790
|
-
after webbundle was parsed.
|
|
11791
|
-
*/
|
|
11792
|
-
bundleRequestId?: RequestId;
|
|
11793
|
-
}
|
|
11794
|
-
/**
|
|
11795
|
-
* Fired when request for resources within a .wbn file failed.
|
|
11796
|
-
*/
|
|
11797
|
-
export type subresourceWebBundleInnerResponseErrorPayload = {
|
|
11798
|
-
/**
|
|
11799
|
-
* Request identifier of the subresource request
|
|
11800
|
-
*/
|
|
11801
|
-
innerRequestId: RequestId;
|
|
11802
|
-
/**
|
|
11803
|
-
* URL of the subresource resource.
|
|
11804
|
-
*/
|
|
11805
|
-
innerRequestURL: string;
|
|
11806
|
-
/**
|
|
11807
|
-
* Error message
|
|
11808
|
-
*/
|
|
11809
|
-
errorMessage: string;
|
|
11810
|
-
/**
|
|
11811
|
-
* Bundle request identifier. Used to match this information to another event.
|
|
11812
|
-
This made be absent in case when the instrumentation was enabled only
|
|
11813
|
-
after webbundle was parsed.
|
|
11814
|
-
*/
|
|
11815
|
-
bundleRequestId?: RequestId;
|
|
11816
|
-
}
|
|
11817
11837
|
/**
|
|
11818
11838
|
* Is sent whenever a new report is added.
|
|
11819
11839
|
And after 'enableReportingApi' for all existing reports.
|
|
@@ -11844,6 +11864,17 @@ or reason it is not active.
|
|
|
11844
11864
|
*/
|
|
11845
11865
|
status: IpProxyStatus;
|
|
11846
11866
|
}
|
|
11867
|
+
/**
|
|
11868
|
+
* Sets bypass IP Protection Proxy boolean.
|
|
11869
|
+
*/
|
|
11870
|
+
export type setIPProtectionProxyBypassEnabledParameters = {
|
|
11871
|
+
/**
|
|
11872
|
+
* Whether IP Proxy is being bypassed by devtools; false by default.
|
|
11873
|
+
*/
|
|
11874
|
+
enabled: boolean;
|
|
11875
|
+
}
|
|
11876
|
+
export type setIPProtectionProxyBypassEnabledReturnValue = {
|
|
11877
|
+
}
|
|
11847
11878
|
/**
|
|
11848
11879
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
|
11849
11880
|
*/
|
|
@@ -11992,7 +12023,8 @@ all partition key attributes match the cookie partition key attribute.
|
|
|
11992
12023
|
export type disableReturnValue = {
|
|
11993
12024
|
}
|
|
11994
12025
|
/**
|
|
11995
|
-
* Activates emulation of network conditions.
|
|
12026
|
+
* Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule
|
|
12027
|
+
and overrideNetworkState commands, which can be used together to the same effect.
|
|
11996
12028
|
*/
|
|
11997
12029
|
export type emulateNetworkConditionsParameters = {
|
|
11998
12030
|
/**
|
|
@@ -12030,6 +12062,57 @@ all partition key attributes match the cookie partition key attribute.
|
|
|
12030
12062
|
}
|
|
12031
12063
|
export type emulateNetworkConditionsReturnValue = {
|
|
12032
12064
|
}
|
|
12065
|
+
/**
|
|
12066
|
+
* Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated
|
|
12067
|
+
Network.emulateNetworkConditions this method does not affect `navigator` state. Use Network.overrideNetworkState to
|
|
12068
|
+
explicitly modify `navigator` behavior.
|
|
12069
|
+
*/
|
|
12070
|
+
export type emulateNetworkConditionsByRuleParameters = {
|
|
12071
|
+
/**
|
|
12072
|
+
* True to emulate internet disconnection.
|
|
12073
|
+
*/
|
|
12074
|
+
offline: boolean;
|
|
12075
|
+
/**
|
|
12076
|
+
* Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global
|
|
12077
|
+
conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are
|
|
12078
|
+
also applied for throttling of p2p connections.
|
|
12079
|
+
*/
|
|
12080
|
+
matchedNetworkConditions: NetworkConditions[];
|
|
12081
|
+
}
|
|
12082
|
+
export type emulateNetworkConditionsByRuleReturnValue = {
|
|
12083
|
+
/**
|
|
12084
|
+
* An id for each entry in matchedNetworkConditions. The id will be included in the requestWillBeSentExtraInfo for
|
|
12085
|
+
requests affected by a rule.
|
|
12086
|
+
*/
|
|
12087
|
+
ruleIds: string[];
|
|
12088
|
+
}
|
|
12089
|
+
/**
|
|
12090
|
+
* Override the state of navigator.onLine and navigator.connection.
|
|
12091
|
+
*/
|
|
12092
|
+
export type overrideNetworkStateParameters = {
|
|
12093
|
+
/**
|
|
12094
|
+
* True to emulate internet disconnection.
|
|
12095
|
+
*/
|
|
12096
|
+
offline: boolean;
|
|
12097
|
+
/**
|
|
12098
|
+
* Minimum latency from request sent to response headers received (ms).
|
|
12099
|
+
*/
|
|
12100
|
+
latency: number;
|
|
12101
|
+
/**
|
|
12102
|
+
* Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.
|
|
12103
|
+
*/
|
|
12104
|
+
downloadThroughput: number;
|
|
12105
|
+
/**
|
|
12106
|
+
* Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
|
|
12107
|
+
*/
|
|
12108
|
+
uploadThroughput: number;
|
|
12109
|
+
/**
|
|
12110
|
+
* Connection type if known.
|
|
12111
|
+
*/
|
|
12112
|
+
connectionType?: ConnectionType;
|
|
12113
|
+
}
|
|
12114
|
+
export type overrideNetworkStateReturnValue = {
|
|
12115
|
+
}
|
|
12033
12116
|
/**
|
|
12034
12117
|
* Enables network tracking, network events will now be delivered to the client.
|
|
12035
12118
|
*/
|
|
@@ -12211,10 +12294,15 @@ attribute, user, password.
|
|
|
12211
12294
|
* Blocks URLs from loading.
|
|
12212
12295
|
*/
|
|
12213
12296
|
export type setBlockedURLsParameters = {
|
|
12297
|
+
/**
|
|
12298
|
+
* Patterns to match in the order in which they are given. These patterns
|
|
12299
|
+
also take precedence over any wildcard patterns defined in `urls`.
|
|
12300
|
+
*/
|
|
12301
|
+
urlPatterns?: BlockPattern[];
|
|
12214
12302
|
/**
|
|
12215
12303
|
* URL patterns to block. Wildcards ('*') are allowed.
|
|
12216
12304
|
*/
|
|
12217
|
-
urls
|
|
12305
|
+
urls?: string[];
|
|
12218
12306
|
}
|
|
12219
12307
|
export type setBlockedURLsReturnValue = {
|
|
12220
12308
|
}
|
|
@@ -13351,7 +13439,8 @@ reinstallation.
|
|
|
13351
13439
|
|
|
13352
13440
|
To generate bundle id for proxy mode:
|
|
13353
13441
|
1. Generate 32 random bytes.
|
|
13354
|
-
2. Add a specific suffix
|
|
13442
|
+
2. Add a specific suffix at the end following the documentation
|
|
13443
|
+
https://github.com/WICG/isolated-web-apps/blob/main/Scheme.md#suffix
|
|
13355
13444
|
3. Encode the entire sequence using Base32 without padding.
|
|
13356
13445
|
|
|
13357
13446
|
If Chrome is not in IWA dev
|
|
@@ -13527,7 +13616,7 @@ available.
|
|
|
13527
13616
|
in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
|
13528
13617
|
LINT.IfChange(PermissionsPolicyFeature)
|
|
13529
13618
|
*/
|
|
13530
|
-
export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"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-high-entropy-values"|"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"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network-access"|"magnetometer"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"popins"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
|
|
13619
|
+
export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"aria-notify"|"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-high-entropy-values"|"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"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"device-attributes"|"digital-credentials-create"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-multicast"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"language-detector"|"language-model"|"local-fonts"|"local-network-access"|"magnetometer"|"media-playback-while-not-visible"|"microphone"|"midi"|"on-device-speech-recognition"|"otp-credentials"|"payment"|"picture-in-picture"|"popins"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"record-ad-auction-events"|"rewriter"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"summarizer"|"sync-xhr"|"translator"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"writer"|"xr-spatial-tracking";
|
|
13531
13620
|
/**
|
|
13532
13621
|
* Reason for a permissions policy feature to be disabled.
|
|
13533
13622
|
*/
|
|
@@ -14126,7 +14215,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
|
|
|
14126
14215
|
/**
|
|
14127
14216
|
* List of not restored reasons for back-forward cache.
|
|
14128
14217
|
*/
|
|
14129
|
-
export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";
|
|
14218
|
+
export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"SharedWorkerWithNoActiveClient"|"WebLocks"|"WebHID"|"WebBluetooth"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";
|
|
14130
14219
|
/**
|
|
14131
14220
|
* Types of not restored reasons for back-forward cache.
|
|
14132
14221
|
*/
|
|
@@ -15777,6 +15866,11 @@ See also:
|
|
|
15777
15866
|
* TODO(https://crbug.com/1425354): Replace this property with structured error.
|
|
15778
15867
|
*/
|
|
15779
15868
|
errorMessage?: string;
|
|
15869
|
+
/**
|
|
15870
|
+
* For more details, see:
|
|
15871
|
+
https://github.com/WICG/nav-speculation/blob/main/speculation-rules-tags.md
|
|
15872
|
+
*/
|
|
15873
|
+
tag?: string;
|
|
15780
15874
|
}
|
|
15781
15875
|
export type RuleSetErrorType = "SourceIsNotJsonObject"|"InvalidRulesSkipped"|"InvalidRulesetLevelTag";
|
|
15782
15876
|
/**
|
|
@@ -15784,7 +15878,7 @@ See also:
|
|
|
15784
15878
|
mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it
|
|
15785
15879
|
isn't being used by clients).
|
|
15786
15880
|
*/
|
|
15787
|
-
export type SpeculationAction = "Prefetch"|"Prerender";
|
|
15881
|
+
export type SpeculationAction = "Prefetch"|"Prerender"|"PrerenderUntilScript";
|
|
15788
15882
|
/**
|
|
15789
15883
|
* Corresponds to mojom::SpeculationTargetHint.
|
|
15790
15884
|
See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints
|
|
@@ -17003,6 +17097,7 @@ associated shared storage worklet.
|
|
|
17003
17097
|
|
|
17004
17098
|
/**
|
|
17005
17099
|
* Returns a storage key given a frame id.
|
|
17100
|
+
Deprecated. Please use Storage.getStorageKey instead.
|
|
17006
17101
|
*/
|
|
17007
17102
|
export type getStorageKeyForFrameParameters = {
|
|
17008
17103
|
frameId: Page.FrameId;
|
|
@@ -17010,6 +17105,16 @@ associated shared storage worklet.
|
|
|
17010
17105
|
export type getStorageKeyForFrameReturnValue = {
|
|
17011
17106
|
storageKey: SerializedStorageKey;
|
|
17012
17107
|
}
|
|
17108
|
+
/**
|
|
17109
|
+
* Returns storage key for the given frame. If no frame ID is provided,
|
|
17110
|
+
the storage key of the target executing this command is returned.
|
|
17111
|
+
*/
|
|
17112
|
+
export type getStorageKeyParameters = {
|
|
17113
|
+
frameId?: Page.FrameId;
|
|
17114
|
+
}
|
|
17115
|
+
export type getStorageKeyReturnValue = {
|
|
17116
|
+
storageKey: SerializedStorageKey;
|
|
17117
|
+
}
|
|
17013
17118
|
/**
|
|
17014
17119
|
* Clears storage for origin.
|
|
17015
17120
|
*/
|
|
@@ -20187,6 +20292,10 @@ $x functions).
|
|
|
20187
20292
|
default value is 32768 bytes.
|
|
20188
20293
|
*/
|
|
20189
20294
|
samplingInterval?: number;
|
|
20295
|
+
/**
|
|
20296
|
+
* Maximum stack depth. The default value is 128.
|
|
20297
|
+
*/
|
|
20298
|
+
stackDepth?: number;
|
|
20190
20299
|
/**
|
|
20191
20300
|
* By default, the sampling heap profiler reports only objects which are
|
|
20192
20301
|
still alive when the profile is returned via getSamplingProfile or
|
|
@@ -20594,7 +20703,7 @@ per value in the scope of one CDP call.
|
|
|
20594
20703
|
NOTE: If you change anything here, make sure to also update
|
|
20595
20704
|
`subtype` in `ObjectPreview` and `PropertyPreview` below.
|
|
20596
20705
|
*/
|
|
20597
|
-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
|
20706
|
+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue"|"trustedtype";
|
|
20598
20707
|
/**
|
|
20599
20708
|
* Object class (constructor) name. Specified for `object` type values only.
|
|
20600
20709
|
*/
|
|
@@ -20650,7 +20759,7 @@ The result value is json ML array.
|
|
|
20650
20759
|
/**
|
|
20651
20760
|
* Object subtype hint. Specified for `object` type values only.
|
|
20652
20761
|
*/
|
|
20653
|
-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
|
20762
|
+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue"|"trustedtype";
|
|
20654
20763
|
/**
|
|
20655
20764
|
* String representation of the object.
|
|
20656
20765
|
*/
|
|
@@ -20688,7 +20797,7 @@ The result value is json ML array.
|
|
|
20688
20797
|
/**
|
|
20689
20798
|
* Object subtype hint. Specified for `object` type values only.
|
|
20690
20799
|
*/
|
|
20691
|
-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
|
20800
|
+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue"|"trustedtype";
|
|
20692
20801
|
}
|
|
20693
20802
|
export interface EntryPreview {
|
|
20694
20803
|
/**
|
|
@@ -21661,6 +21770,7 @@ Error was thrown.
|
|
|
21661
21770
|
"DOM.pseudoElementAdded": DOM.pseudoElementAddedPayload;
|
|
21662
21771
|
"DOM.topLayerElementsUpdated": DOM.topLayerElementsUpdatedPayload;
|
|
21663
21772
|
"DOM.scrollableFlagUpdated": DOM.scrollableFlagUpdatedPayload;
|
|
21773
|
+
"DOM.affectedByStartingStylesFlagUpdated": DOM.affectedByStartingStylesFlagUpdatedPayload;
|
|
21664
21774
|
"DOM.pseudoElementRemoved": DOM.pseudoElementRemovedPayload;
|
|
21665
21775
|
"DOM.setChildNodes": DOM.setChildNodesPayload;
|
|
21666
21776
|
"DOM.shadowRootPopped": DOM.shadowRootPoppedPayload;
|
|
@@ -21679,6 +21789,7 @@ Error was thrown.
|
|
|
21679
21789
|
"Inspector.detached": Inspector.detachedPayload;
|
|
21680
21790
|
"Inspector.targetCrashed": Inspector.targetCrashedPayload;
|
|
21681
21791
|
"Inspector.targetReloadedAfterCrash": Inspector.targetReloadedAfterCrashPayload;
|
|
21792
|
+
"Inspector.workerScriptLoaded": Inspector.workerScriptLoadedPayload;
|
|
21682
21793
|
"LayerTree.layerPainted": LayerTree.layerPaintedPayload;
|
|
21683
21794
|
"LayerTree.layerTreeDidChange": LayerTree.layerTreeDidChangePayload;
|
|
21684
21795
|
"Log.entryAdded": Log.entryAddedPayload;
|
|
@@ -21724,10 +21835,6 @@ Error was thrown.
|
|
|
21724
21835
|
"Network.responseReceivedEarlyHints": Network.responseReceivedEarlyHintsPayload;
|
|
21725
21836
|
"Network.trustTokenOperationDone": Network.trustTokenOperationDonePayload;
|
|
21726
21837
|
"Network.policyUpdated": Network.policyUpdatedPayload;
|
|
21727
|
-
"Network.subresourceWebBundleMetadataReceived": Network.subresourceWebBundleMetadataReceivedPayload;
|
|
21728
|
-
"Network.subresourceWebBundleMetadataError": Network.subresourceWebBundleMetadataErrorPayload;
|
|
21729
|
-
"Network.subresourceWebBundleInnerResponseParsed": Network.subresourceWebBundleInnerResponseParsedPayload;
|
|
21730
|
-
"Network.subresourceWebBundleInnerResponseError": Network.subresourceWebBundleInnerResponseErrorPayload;
|
|
21731
21838
|
"Network.reportingApiReportAdded": Network.reportingApiReportAddedPayload;
|
|
21732
21839
|
"Network.reportingApiReportUpdated": Network.reportingApiReportUpdatedPayload;
|
|
21733
21840
|
"Network.reportingApiEndpointsChangedForOrigin": Network.reportingApiEndpointsChangedForOriginPayload;
|
|
@@ -22167,6 +22274,7 @@ Error was thrown.
|
|
|
22167
22274
|
"Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileParameters;
|
|
22168
22275
|
"Memory.getSamplingProfile": Memory.getSamplingProfileParameters;
|
|
22169
22276
|
"Network.getIPProtectionProxyStatus": Network.getIPProtectionProxyStatusParameters;
|
|
22277
|
+
"Network.setIPProtectionProxyBypassEnabled": Network.setIPProtectionProxyBypassEnabledParameters;
|
|
22170
22278
|
"Network.setAcceptedEncodings": Network.setAcceptedEncodingsParameters;
|
|
22171
22279
|
"Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideParameters;
|
|
22172
22280
|
"Network.canClearBrowserCache": Network.canClearBrowserCacheParameters;
|
|
@@ -22178,6 +22286,8 @@ Error was thrown.
|
|
|
22178
22286
|
"Network.deleteCookies": Network.deleteCookiesParameters;
|
|
22179
22287
|
"Network.disable": Network.disableParameters;
|
|
22180
22288
|
"Network.emulateNetworkConditions": Network.emulateNetworkConditionsParameters;
|
|
22289
|
+
"Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleParameters;
|
|
22290
|
+
"Network.overrideNetworkState": Network.overrideNetworkStateParameters;
|
|
22181
22291
|
"Network.enable": Network.enableParameters;
|
|
22182
22292
|
"Network.getAllCookies": Network.getAllCookiesParameters;
|
|
22183
22293
|
"Network.getCertificate": Network.getCertificateParameters;
|
|
@@ -22323,6 +22433,7 @@ Error was thrown.
|
|
|
22323
22433
|
"ServiceWorker.unregister": ServiceWorker.unregisterParameters;
|
|
22324
22434
|
"ServiceWorker.updateRegistration": ServiceWorker.updateRegistrationParameters;
|
|
22325
22435
|
"Storage.getStorageKeyForFrame": Storage.getStorageKeyForFrameParameters;
|
|
22436
|
+
"Storage.getStorageKey": Storage.getStorageKeyParameters;
|
|
22326
22437
|
"Storage.clearDataForOrigin": Storage.clearDataForOriginParameters;
|
|
22327
22438
|
"Storage.clearDataForStorageKey": Storage.clearDataForStorageKeyParameters;
|
|
22328
22439
|
"Storage.getCookies": Storage.getCookiesParameters;
|
|
@@ -22809,6 +22920,7 @@ Error was thrown.
|
|
|
22809
22920
|
"Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileReturnValue;
|
|
22810
22921
|
"Memory.getSamplingProfile": Memory.getSamplingProfileReturnValue;
|
|
22811
22922
|
"Network.getIPProtectionProxyStatus": Network.getIPProtectionProxyStatusReturnValue;
|
|
22923
|
+
"Network.setIPProtectionProxyBypassEnabled": Network.setIPProtectionProxyBypassEnabledReturnValue;
|
|
22812
22924
|
"Network.setAcceptedEncodings": Network.setAcceptedEncodingsReturnValue;
|
|
22813
22925
|
"Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideReturnValue;
|
|
22814
22926
|
"Network.canClearBrowserCache": Network.canClearBrowserCacheReturnValue;
|
|
@@ -22820,6 +22932,8 @@ Error was thrown.
|
|
|
22820
22932
|
"Network.deleteCookies": Network.deleteCookiesReturnValue;
|
|
22821
22933
|
"Network.disable": Network.disableReturnValue;
|
|
22822
22934
|
"Network.emulateNetworkConditions": Network.emulateNetworkConditionsReturnValue;
|
|
22935
|
+
"Network.emulateNetworkConditionsByRule": Network.emulateNetworkConditionsByRuleReturnValue;
|
|
22936
|
+
"Network.overrideNetworkState": Network.overrideNetworkStateReturnValue;
|
|
22823
22937
|
"Network.enable": Network.enableReturnValue;
|
|
22824
22938
|
"Network.getAllCookies": Network.getAllCookiesReturnValue;
|
|
22825
22939
|
"Network.getCertificate": Network.getCertificateReturnValue;
|
|
@@ -22965,6 +23079,7 @@ Error was thrown.
|
|
|
22965
23079
|
"ServiceWorker.unregister": ServiceWorker.unregisterReturnValue;
|
|
22966
23080
|
"ServiceWorker.updateRegistration": ServiceWorker.updateRegistrationReturnValue;
|
|
22967
23081
|
"Storage.getStorageKeyForFrame": Storage.getStorageKeyForFrameReturnValue;
|
|
23082
|
+
"Storage.getStorageKey": Storage.getStorageKeyReturnValue;
|
|
22968
23083
|
"Storage.clearDataForOrigin": Storage.clearDataForOriginReturnValue;
|
|
22969
23084
|
"Storage.clearDataForStorageKey": Storage.clearDataForStorageKeyReturnValue;
|
|
22970
23085
|
"Storage.getCookies": Storage.getCookiesReturnValue;
|