rebrowser-playwright-core 1.47.100 → 1.49.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/README.md +1 -1
- package/ThirdPartyNotices.txt +70 -384
- package/bin/reinstall_chrome_beta_linux.sh +10 -8
- package/bin/reinstall_chrome_stable_linux.sh +10 -8
- package/bin/reinstall_msedge_beta_linux.sh +11 -9
- package/bin/reinstall_msedge_dev_linux.sh +11 -9
- package/bin/reinstall_msedge_stable_linux.sh +11 -9
- package/browsers.json +24 -12
- package/lib/cli/program.js +49 -19
- package/lib/client/api.js +6 -0
- package/lib/client/browserContext.js +20 -2
- package/lib/client/channelOwner.js +6 -2
- package/lib/client/connection.js +3 -0
- package/lib/client/fetch.js +16 -21
- package/lib/client/jsHandle.js +0 -8
- package/lib/client/localUtils.js +1 -0
- package/lib/client/locator.js +7 -0
- package/lib/client/network.js +180 -17
- package/lib/client/page.js +25 -2
- package/lib/client/playwright.js +6 -3
- package/lib/client/tracing.js +29 -20
- package/lib/client/waiter.js +15 -11
- package/lib/generated/consoleApiSource.js +1 -1
- package/lib/generated/injectedScriptSource.js +1 -1
- package/lib/generated/pollingRecorderSource.js +7 -0
- package/lib/generated/webSocketMockSource.js +7 -0
- package/lib/protocol/validator.js +103 -17
- package/lib/server/ariaSnapshot.js +33 -0
- package/lib/server/bidi/bidiBrowser.js +23 -8
- package/lib/server/bidi/bidiChromium.js +124 -0
- package/lib/server/bidi/bidiConnection.js +1 -3
- package/lib/server/bidi/bidiExecutionContext.js +0 -6
- package/lib/server/bidi/bidiFirefox.js +15 -21
- package/lib/server/bidi/bidiInput.js +16 -32
- package/lib/server/bidi/bidiNetworkManager.js +39 -5
- package/lib/server/bidi/bidiOverCdp.js +103 -0
- package/lib/server/bidi/bidiPage.js +98 -25
- package/lib/server/bidi/bidiPdf.js +140 -0
- package/lib/server/bidi/third_party/firefoxPrefs.js +221 -0
- package/lib/server/browser.js +13 -2
- package/lib/server/browserContext.js +6 -23
- package/lib/server/browserType.js +43 -12
- package/lib/server/chromium/chromium.js +9 -17
- package/lib/server/chromium/chromiumSwitches.js +3 -1
- package/lib/server/chromium/crBrowser.js +4 -3
- package/lib/server/chromium/crConnection.js +153 -0
- package/lib/server/chromium/crExecutionContext.js +0 -20
- package/lib/server/chromium/crPage.js +13 -7
- package/lib/server/chromium/videoRecorder.js +1 -1
- package/lib/server/codegen/csharp.js +12 -17
- package/lib/server/codegen/java.js +5 -8
- package/lib/server/codegen/javascript.js +29 -7
- package/lib/server/codegen/language.js +14 -2
- package/lib/server/codegen/python.js +13 -17
- package/lib/server/cookieStore.js +73 -0
- package/lib/server/debugController.js +10 -7
- package/lib/server/deviceDescriptorsSource.json +127 -127
- package/lib/server/dialog.js +1 -0
- package/lib/server/dispatchers/androidDispatcher.js +13 -2
- package/lib/server/dispatchers/browserContextDispatcher.js +19 -2
- package/lib/server/dispatchers/debugControllerDispatcher.js +1 -1
- package/lib/server/dispatchers/dispatcher.js +1 -1
- package/lib/server/dispatchers/frameDispatcher.js +8 -1
- package/lib/server/dispatchers/jsHandleDispatcher.js +0 -5
- package/lib/server/dispatchers/pageDispatcher.js +9 -0
- package/lib/server/dispatchers/playwrightDispatcher.js +2 -1
- package/lib/server/dispatchers/tracingDispatcher.js +10 -0
- package/lib/server/dispatchers/webSocketRouteDispatcher.js +189 -0
- package/lib/server/dom.js +79 -36
- package/lib/server/download.js +9 -2
- package/lib/server/fetch.js +105 -96
- package/lib/server/firefox/ffBrowser.js +6 -4
- package/lib/server/firefox/ffExecutionContext.js +0 -15
- package/lib/server/firefox/ffNetworkManager.js +1 -1
- package/lib/server/firefox/ffPage.js +6 -3
- package/lib/server/firefox/firefox.js +2 -13
- package/lib/server/frameSelectors.js +1 -1
- package/lib/server/frames.js +68 -67
- package/lib/server/har/harTracer.js +11 -0
- package/lib/server/index.js +0 -6
- package/lib/server/input.js +0 -1
- package/lib/server/javascript.js +0 -13
- package/lib/server/page.js +53 -9
- package/lib/server/playwright.js +5 -2
- package/lib/server/progress.js +0 -3
- package/lib/server/recorder/contextRecorder.js +33 -50
- package/lib/server/recorder/recorderApp.js +22 -25
- package/lib/server/recorder/recorderCollection.js +68 -79
- package/lib/server/recorder/recorderInTraceViewer.js +144 -0
- package/lib/server/recorder/recorderRunner.js +75 -97
- package/lib/server/recorder/recorderUtils.js +48 -6
- package/lib/server/recorder.js +87 -47
- package/lib/server/registry/index.js +154 -26
- package/lib/server/registry/nativeDeps.js +6 -3
- package/lib/server/socksClientCertificatesInterceptor.js +15 -3
- package/lib/server/trace/recorder/snapshotter.js +2 -12
- package/lib/server/trace/recorder/snapshotterInjected.js +21 -3
- package/lib/server/trace/recorder/tracing.js +127 -17
- package/lib/server/trace/test/inMemorySnapshotter.js +4 -4
- package/lib/server/trace/viewer/traceViewer.js +4 -6
- package/lib/server/webkit/webkit.js +1 -1
- package/lib/server/webkit/wkBrowser.js +8 -7
- package/lib/server/webkit/wkExecutionContext.js +0 -16
- package/lib/server/webkit/wkPage.js +11 -4
- package/lib/utils/comparators.js +12 -30
- package/lib/utils/crypto.js +1 -4
- package/lib/utils/happy-eyeballs.js +13 -0
- package/lib/utils/hostPlatform.js +8 -2
- package/lib/utils/httpServer.js +1 -0
- package/lib/utils/isomorphic/ariaSnapshot.js +267 -0
- package/lib/utils/isomorphic/locatorGenerators.js +30 -21
- package/lib/utils/isomorphic/locatorParser.js +2 -2
- package/lib/utils/isomorphic/recorderUtils.js +227 -0
- package/lib/utils/isomorphic/stringUtils.js +30 -0
- package/lib/utils/isomorphic/urlMatch.js +5 -1
- package/lib/utils/network.js +1 -1
- package/lib/utils/sequence.js +64 -0
- package/lib/utils/stackTrace.js +16 -3
- package/lib/utils/zones.js +32 -23
- package/lib/utilsBundle.js +4 -5
- package/lib/utilsBundleImpl/index.js +190 -33
- package/lib/vite/htmlReport/index.html +19 -16
- package/lib/vite/recorder/assets/codeMirrorModule-AFvV6hAs.js +24 -0
- package/lib/vite/recorder/assets/index-_cTWgVuJ.js +184 -0
- package/lib/vite/recorder/assets/{index-B-MT5gKo.css → index-iA1aAGZg.css} +1 -1
- package/lib/vite/recorder/index.html +2 -2
- package/lib/vite/traceViewer/assets/codeMirrorModule-KatbITLF.js +24 -0
- package/lib/vite/traceViewer/assets/inspectorTab-DdpLd2bb.js +68 -0
- package/lib/vite/traceViewer/assets/workbench-CdYbzWFD.js +9 -0
- package/lib/vite/traceViewer/embedded.6m3UZh7r.js +2 -0
- package/lib/vite/traceViewer/embedded.html +5 -3
- package/lib/vite/traceViewer/index.WUV-8boJ.js +2 -0
- package/lib/vite/traceViewer/index.html +24 -5
- package/lib/vite/traceViewer/inspectorTab.DEOUW62d.css +1 -0
- package/lib/vite/traceViewer/recorder.B_SY1GJM.css +0 -0
- package/lib/vite/traceViewer/recorder.OT2tVHgn.js +2 -0
- package/lib/vite/traceViewer/recorder.html +17 -0
- package/lib/vite/traceViewer/sw.bundle.js +3 -3
- package/lib/vite/traceViewer/uiMode.BZBTyvGn.js +5 -0
- package/lib/vite/traceViewer/uiMode.html +6 -4
- package/lib/vite/traceViewer/{uiMode.D3cNFP6u.css → uiMode.voC1ZiOQ.css} +1 -1
- package/lib/vite/traceViewer/workbench.C-zR9ysA.css +1 -0
- package/package.json +1 -1
- package/types/protocol.d.ts +135 -16
- package/types/types.d.ts +2149 -965
- package/lib/generated/recorderSource.js +0 -7
- package/lib/third_party/diff_match_patch.js +0 -2222
- package/lib/vite/recorder/assets/codeMirrorModule-aW6Vz3gf.js +0 -24
- package/lib/vite/recorder/assets/index-DCpXOVIh.js +0 -47
- package/lib/vite/traceViewer/assets/codeMirrorModule-eFKCUIu2.js +0 -24
- package/lib/vite/traceViewer/assets/workbench-D0cirtfA.js +0 -72
- package/lib/vite/traceViewer/embedded.BkuvsLJp.js +0 -2
- package/lib/vite/traceViewer/index.C968kAiC.js +0 -2
- package/lib/vite/traceViewer/uiMode.BkFnr4V0.js +0 -10
- package/lib/vite/traceViewer/workbench.DjbIuxix.css +0 -1
- /package/lib/server/recorder/{recorderActions.js → recorderFrontend.js} +0 -0
package/types/protocol.d.ts
CHANGED
|
@@ -695,7 +695,7 @@ percentage [0 - 100] for scroll driven animations
|
|
|
695
695
|
frameId: Page.FrameId;
|
|
696
696
|
}
|
|
697
697
|
export type CookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeInvalidSameParty"|"ExcludeSamePartyCrossPartyContext"|"ExcludeDomainNonASCII"|"ExcludeThirdPartyCookieBlockedInFirstPartySet"|"ExcludeThirdPartyPhaseout";
|
|
698
|
-
export type CookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"|"WarnSameSiteNoneInsecure"|"WarnSameSiteUnspecifiedLaxAllowUnsafe"|"WarnSameSiteStrictLaxDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeLax"|"WarnSameSiteLaxCrossDowngradeStrict"|"WarnSameSiteLaxCrossDowngradeLax"|"WarnAttributeValueExceedsMaxSize"|"WarnDomainNonASCII"|"WarnThirdPartyPhaseout"|"WarnCrossSiteRedirectDowngradeChangesInclusion";
|
|
698
|
+
export type CookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"|"WarnSameSiteNoneInsecure"|"WarnSameSiteUnspecifiedLaxAllowUnsafe"|"WarnSameSiteStrictLaxDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeLax"|"WarnSameSiteLaxCrossDowngradeStrict"|"WarnSameSiteLaxCrossDowngradeLax"|"WarnAttributeValueExceedsMaxSize"|"WarnDomainNonASCII"|"WarnThirdPartyPhaseout"|"WarnCrossSiteRedirectDowngradeChangesInclusion"|"WarnDeprecationTrialMetadata"|"WarnThirdPartyCookieHeuristic";
|
|
699
699
|
export type CookieOperation = "SetCookie"|"ReadCookie";
|
|
700
700
|
/**
|
|
701
701
|
* This information is currently necessary, as the front-end has a difficult
|
|
@@ -840,7 +840,7 @@ CORS RFC1918 enforcement.
|
|
|
840
840
|
resourceIPAddressSpace?: Network.IPAddressSpace;
|
|
841
841
|
clientSecurityState?: Network.ClientSecurityState;
|
|
842
842
|
}
|
|
843
|
-
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport"|"NavigationRegistrationWithoutTransientUserActivation"|"InvalidInfoHeader"|"NoRegisterSourceHeader"|"NoRegisterTriggerHeader"|"NoRegisterOsSourceHeader"|"NoRegisterOsTriggerHeader";
|
|
843
|
+
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport"|"NavigationRegistrationWithoutTransientUserActivation"|"InvalidInfoHeader"|"NoRegisterSourceHeader"|"NoRegisterTriggerHeader"|"NoRegisterOsSourceHeader"|"NoRegisterOsTriggerHeader"|"NavigationRegistrationUniqueScopeAlreadySet";
|
|
844
844
|
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";
|
|
845
845
|
/**
|
|
846
846
|
* Details for issues around "Attribution Reporting API" usage.
|
|
@@ -934,7 +934,7 @@ Should be updated alongside RequestIdTokenStatus in
|
|
|
934
934
|
third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
|
935
935
|
all cases except for success.
|
|
936
936
|
*/
|
|
937
|
-
export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"ClientMetadataHttpNotFound"|"ClientMetadataNoResponse"|"ClientMetadataInvalidResponse"|"ClientMetadataInvalidContentType"|"IdpNotPotentiallyTrustworthy"|"DisabledInSettings"|"DisabledInFlags"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenIdpErrorResponse"|"IdTokenCrossSiteIdpErrorResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible"|"SilentMediationFailure"|"ThirdPartyCookiesBlocked"|"NotSignedInWithIdp"|"MissingTransientUserActivation"|"
|
|
937
|
+
export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"ClientMetadataHttpNotFound"|"ClientMetadataNoResponse"|"ClientMetadataInvalidResponse"|"ClientMetadataInvalidContentType"|"IdpNotPotentiallyTrustworthy"|"DisabledInSettings"|"DisabledInFlags"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenIdpErrorResponse"|"IdTokenCrossSiteIdpErrorResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible"|"SilentMediationFailure"|"ThirdPartyCookiesBlocked"|"NotSignedInWithIdp"|"MissingTransientUserActivation"|"ReplacedByActiveMode"|"InvalidFieldsSpecified"|"RelyingPartyOriginIsOpaque"|"TypeNotMatching";
|
|
938
938
|
export interface FederatedAuthUserInfoRequestIssueDetails {
|
|
939
939
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
|
940
940
|
}
|
|
@@ -1534,7 +1534,7 @@ events afterwards if enabled and recording.
|
|
|
1534
1534
|
*/
|
|
1535
1535
|
windowState?: WindowState;
|
|
1536
1536
|
}
|
|
1537
|
-
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";
|
|
1537
|
+
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";
|
|
1538
1538
|
export type PermissionSetting = "granted"|"denied"|"prompt";
|
|
1539
1539
|
/**
|
|
1540
1540
|
* Definition of PermissionDescriptor defined in the Permissions API:
|
|
@@ -3561,7 +3561,7 @@ front-end.
|
|
|
3561
3561
|
/**
|
|
3562
3562
|
* Pseudo element type.
|
|
3563
3563
|
*/
|
|
3564
|
-
export type PseudoType = "first-line"|"first-letter"|"before"|"after"|"marker"|"backdrop"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-next-button"|"scroll-prev-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-old"|"view-transition-new";
|
|
3564
|
+
export type PseudoType = "first-line"|"first-letter"|"before"|"after"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-next-button"|"scroll-prev-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"select-fallback-button"|"select-fallback-button-text"|"picker";
|
|
3565
3565
|
/**
|
|
3566
3566
|
* Shadow root type.
|
|
3567
3567
|
*/
|
|
@@ -3710,6 +3710,7 @@ The property is always undefined now.
|
|
|
3710
3710
|
isSVG?: boolean;
|
|
3711
3711
|
compatibilityMode?: CompatibilityMode;
|
|
3712
3712
|
assignedSlot?: BackendNode;
|
|
3713
|
+
isScrollable?: boolean;
|
|
3713
3714
|
}
|
|
3714
3715
|
/**
|
|
3715
3716
|
* A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
|
@@ -3954,6 +3955,19 @@ The property is always undefined now.
|
|
|
3954
3955
|
* Called when top layer elements are changed.
|
|
3955
3956
|
*/
|
|
3956
3957
|
export type topLayerElementsUpdatedPayload = void;
|
|
3958
|
+
/**
|
|
3959
|
+
* Fired when a node's scrollability state changes.
|
|
3960
|
+
*/
|
|
3961
|
+
export type scrollableFlagUpdatedPayload = {
|
|
3962
|
+
/**
|
|
3963
|
+
* The id of the node.
|
|
3964
|
+
*/
|
|
3965
|
+
nodeId: DOM.NodeId;
|
|
3966
|
+
/**
|
|
3967
|
+
* If the node is scrollable.
|
|
3968
|
+
*/
|
|
3969
|
+
isScrollable: boolean;
|
|
3970
|
+
}
|
|
3957
3971
|
/**
|
|
3958
3972
|
* Called when a pseudo element is removed from an element.
|
|
3959
3973
|
*/
|
|
@@ -5975,7 +5989,7 @@ Missing optional values will be filled in by the target with what it would norma
|
|
|
5975
5989
|
* Used to specify sensor types to emulate.
|
|
5976
5990
|
See https://w3c.github.io/sensors/#automation for more information.
|
|
5977
5991
|
*/
|
|
5978
|
-
export type SensorType = "absolute-orientation"|"accelerometer"|"ambient-light"|"gravity"|"gyroscope"|"linear-acceleration"|"magnetometer"|"
|
|
5992
|
+
export type SensorType = "absolute-orientation"|"accelerometer"|"ambient-light"|"gravity"|"gyroscope"|"linear-acceleration"|"magnetometer"|"relative-orientation";
|
|
5979
5993
|
export interface SensorMetadata {
|
|
5980
5994
|
available?: boolean;
|
|
5981
5995
|
minimumFrequency?: number;
|
|
@@ -8102,8 +8116,25 @@ or hexadecimal (0x prefixed) string.
|
|
|
8102
8116
|
*/
|
|
8103
8117
|
size: number;
|
|
8104
8118
|
}
|
|
8119
|
+
/**
|
|
8120
|
+
* DOM object counter data.
|
|
8121
|
+
*/
|
|
8122
|
+
export interface DOMCounter {
|
|
8123
|
+
/**
|
|
8124
|
+
* Object name. Note: object names should be presumed volatile and clients should not expect
|
|
8125
|
+
the returned names to be consistent across runs.
|
|
8126
|
+
*/
|
|
8127
|
+
name: string;
|
|
8128
|
+
/**
|
|
8129
|
+
* Object count.
|
|
8130
|
+
*/
|
|
8131
|
+
count: number;
|
|
8132
|
+
}
|
|
8105
8133
|
|
|
8106
8134
|
|
|
8135
|
+
/**
|
|
8136
|
+
* Retruns current DOM object counters.
|
|
8137
|
+
*/
|
|
8107
8138
|
export type getDOMCountersParameters = {
|
|
8108
8139
|
}
|
|
8109
8140
|
export type getDOMCountersReturnValue = {
|
|
@@ -8111,6 +8142,21 @@ or hexadecimal (0x prefixed) string.
|
|
|
8111
8142
|
nodes: number;
|
|
8112
8143
|
jsEventListeners: number;
|
|
8113
8144
|
}
|
|
8145
|
+
/**
|
|
8146
|
+
* Retruns DOM object counters after preparing renderer for leak detection.
|
|
8147
|
+
*/
|
|
8148
|
+
export type getDOMCountersForLeakDetectionParameters = {
|
|
8149
|
+
}
|
|
8150
|
+
export type getDOMCountersForLeakDetectionReturnValue = {
|
|
8151
|
+
/**
|
|
8152
|
+
* DOM object counters.
|
|
8153
|
+
*/
|
|
8154
|
+
counters: DOMCounter[];
|
|
8155
|
+
}
|
|
8156
|
+
/**
|
|
8157
|
+
* Prepares for leak detection by terminating workers, stopping spellcheckers,
|
|
8158
|
+
dropping non-essential internal caches, running garbage collections, etc.
|
|
8159
|
+
*/
|
|
8114
8160
|
export type prepareForLeakDetectionParameters = {
|
|
8115
8161
|
}
|
|
8116
8162
|
export type prepareForLeakDetectionReturnValue = {
|
|
@@ -8902,7 +8948,7 @@ This is a temporary ability and it will be removed in the future.
|
|
|
8902
8948
|
/**
|
|
8903
8949
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
|
8904
8950
|
*/
|
|
8905
|
-
export type CookieExemptionReason = "None"|"UserSetting"|"TPCDMetadata"|"TPCDDeprecationTrial"|"TPCDHeuristics"|"EnterprisePolicy"|"StorageAccess"|"TopLevelStorageAccess"|"
|
|
8951
|
+
export type CookieExemptionReason = "None"|"UserSetting"|"TPCDMetadata"|"TPCDDeprecationTrial"|"TopLevelTPCDDeprecationTrial"|"TPCDHeuristics"|"EnterprisePolicy"|"StorageAccess"|"TopLevelStorageAccess"|"Scheme";
|
|
8906
8952
|
/**
|
|
8907
8953
|
* A cookie which was not stored from a response with the corresponding reason.
|
|
8908
8954
|
*/
|
|
@@ -11351,7 +11397,7 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
|
|
|
11351
11397
|
export type setShowHitTestBordersReturnValue = {
|
|
11352
11398
|
}
|
|
11353
11399
|
/**
|
|
11354
|
-
*
|
|
11400
|
+
* Deprecated, no longer has any effect.
|
|
11355
11401
|
*/
|
|
11356
11402
|
export type setShowWebVitalsParameters = {
|
|
11357
11403
|
show: boolean;
|
|
@@ -11452,7 +11498,7 @@ as an ad.
|
|
|
11452
11498
|
* All Permissions Policy features. This enum should match the one defined
|
|
11453
11499
|
in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
|
11454
11500
|
*/
|
|
11455
|
-
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"|"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";
|
|
11501
|
+
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"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-private"|"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";
|
|
11456
11502
|
/**
|
|
11457
11503
|
* Reason for a permissions policy feature to be disabled.
|
|
11458
11504
|
*/
|
|
@@ -12040,7 +12086,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl
|
|
|
12040
12086
|
/**
|
|
12041
12087
|
* List of not restored reasons for back-forward cache.
|
|
12042
12088
|
*/
|
|
12043
|
-
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"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCSticky"|"WebTransportSticky"|"WebSocketSticky"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient";
|
|
12089
|
+
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"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCSticky"|"WebTransportSticky"|"WebSocketSticky"|"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";
|
|
12044
12090
|
/**
|
|
12045
12091
|
* Types of not restored reasons for back-forward cache.
|
|
12046
12092
|
*/
|
|
@@ -12151,6 +12197,16 @@ dependent on the reason:
|
|
|
12151
12197
|
frameId: FrameId;
|
|
12152
12198
|
reason: "remove"|"swap";
|
|
12153
12199
|
}
|
|
12200
|
+
/**
|
|
12201
|
+
* Fired before frame subtree is detached. Emitted before any frame of the
|
|
12202
|
+
subtree is actually detached.
|
|
12203
|
+
*/
|
|
12204
|
+
export type frameSubtreeWillBeDetachedPayload = {
|
|
12205
|
+
/**
|
|
12206
|
+
* Id of the frame that is the root of the subtree that will be detached.
|
|
12207
|
+
*/
|
|
12208
|
+
frameId: FrameId;
|
|
12209
|
+
}
|
|
12154
12210
|
/**
|
|
12155
12211
|
* Fired once navigation of the frame has completed. Frame is now associated with the new loader.
|
|
12156
12212
|
*/
|
|
@@ -14250,6 +14306,15 @@ int, only present for source registrations
|
|
|
14250
14306
|
debugData: AttributionReportingAggregatableDebugReportingData[];
|
|
14251
14307
|
aggregationCoordinatorOrigin?: string;
|
|
14252
14308
|
}
|
|
14309
|
+
export interface AttributionScopesData {
|
|
14310
|
+
values: string[];
|
|
14311
|
+
/**
|
|
14312
|
+
* number instead of integer because not all uint32 can be represented by
|
|
14313
|
+
int
|
|
14314
|
+
*/
|
|
14315
|
+
limit: number;
|
|
14316
|
+
maxEventStates: number;
|
|
14317
|
+
}
|
|
14253
14318
|
export interface AttributionReportingSourceRegistration {
|
|
14254
14319
|
time: Network.TimeSinceEpoch;
|
|
14255
14320
|
/**
|
|
@@ -14273,8 +14338,9 @@ int, only present for source registrations
|
|
|
14273
14338
|
triggerDataMatching: AttributionReportingTriggerDataMatching;
|
|
14274
14339
|
destinationLimitPriority: SignedInt64AsBase10;
|
|
14275
14340
|
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
|
14341
|
+
scopesData?: AttributionScopesData;
|
|
14276
14342
|
}
|
|
14277
|
-
export type AttributionReportingSourceRegistrationResult = "success"|"internalError"|"insufficientSourceCapacity"|"insufficientUniqueDestinationCapacity"|"excessiveReportingOrigins"|"prohibitedByBrowserPolicy"|"successNoised"|"destinationReportingLimitReached"|"destinationGlobalLimitReached"|"destinationBothLimitsReached"|"reportingOriginsPerSiteLimitReached"|"exceedsMaxChannelCapacity"|"exceedsMaxTriggerStateCardinality"|"destinationPerDayReportingLimitReached";
|
|
14343
|
+
export type AttributionReportingSourceRegistrationResult = "success"|"internalError"|"insufficientSourceCapacity"|"insufficientUniqueDestinationCapacity"|"excessiveReportingOrigins"|"prohibitedByBrowserPolicy"|"successNoised"|"destinationReportingLimitReached"|"destinationGlobalLimitReached"|"destinationBothLimitsReached"|"reportingOriginsPerSiteLimitReached"|"exceedsMaxChannelCapacity"|"exceedsMaxScopesChannelCapacity"|"exceedsMaxTriggerStateCardinality"|"exceedsMaxEventStatesLimit"|"destinationPerDayReportingLimitReached";
|
|
14278
14344
|
export type AttributionReportingSourceRegistrationTimeConfig = "include"|"exclude";
|
|
14279
14345
|
export interface AttributionReportingAggregatableValueDictEntry {
|
|
14280
14346
|
key: string;
|
|
@@ -14317,6 +14383,7 @@ int
|
|
|
14317
14383
|
sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
|
|
14318
14384
|
triggerContextId?: string;
|
|
14319
14385
|
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
|
14386
|
+
scopes: string[];
|
|
14320
14387
|
}
|
|
14321
14388
|
export type AttributionReportingEventLevelResult = "success"|"successDroppedLowerPriority"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"deduplicated"|"excessiveAttributions"|"priorityTooLow"|"neverAttributedSource"|"excessiveReportingOrigins"|"noMatchingSourceFilterData"|"prohibitedByBrowserPolicy"|"noMatchingConfigurations"|"excessiveReports"|"falselyAttributedSource"|"reportWindowPassed"|"notRegistered"|"reportWindowNotStarted"|"noMatchingTriggerData";
|
|
14322
14389
|
export type AttributionReportingAggregatableResult = "success"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"excessiveAttributions"|"excessiveReportingOrigins"|"noHistograms"|"insufficientBudget"|"noMatchingSourceFilterData"|"notRegistered"|"prohibitedByBrowserPolicy"|"deduplicated"|"reportWindowPassed"|"excessiveReports";
|
|
@@ -16567,6 +16634,17 @@ flag set to this value. Defaults to the authenticator's
|
|
|
16567
16634
|
defaultBackupState value.
|
|
16568
16635
|
*/
|
|
16569
16636
|
backupState?: boolean;
|
|
16637
|
+
/**
|
|
16638
|
+
* The credential's user.name property. Equivalent to empty if not set.
|
|
16639
|
+
https://w3c.github.io/webauthn/#dom-publickeycredentialentity-name
|
|
16640
|
+
*/
|
|
16641
|
+
userName?: string;
|
|
16642
|
+
/**
|
|
16643
|
+
* The credential's user.displayName property. Equivalent to empty if
|
|
16644
|
+
not set.
|
|
16645
|
+
https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
|
|
16646
|
+
*/
|
|
16647
|
+
userDisplayName?: string;
|
|
16570
16648
|
}
|
|
16571
16649
|
|
|
16572
16650
|
/**
|
|
@@ -16576,6 +16654,22 @@ defaultBackupState value.
|
|
|
16576
16654
|
authenticatorId: AuthenticatorId;
|
|
16577
16655
|
credential: Credential;
|
|
16578
16656
|
}
|
|
16657
|
+
/**
|
|
16658
|
+
* Triggered when a credential is deleted, e.g. through
|
|
16659
|
+
PublicKeyCredential.signalUnknownCredential().
|
|
16660
|
+
*/
|
|
16661
|
+
export type credentialDeletedPayload = {
|
|
16662
|
+
authenticatorId: AuthenticatorId;
|
|
16663
|
+
credentialId: binary;
|
|
16664
|
+
}
|
|
16665
|
+
/**
|
|
16666
|
+
* Triggered when a credential is updated, e.g. through
|
|
16667
|
+
PublicKeyCredential.signalCurrentUserDetails().
|
|
16668
|
+
*/
|
|
16669
|
+
export type credentialUpdatedPayload = {
|
|
16670
|
+
authenticatorId: AuthenticatorId;
|
|
16671
|
+
credential: Credential;
|
|
16672
|
+
}
|
|
16579
16673
|
/**
|
|
16580
16674
|
* Triggered when a credential is used in a webauthn assertion.
|
|
16581
16675
|
*/
|
|
@@ -17009,7 +17103,7 @@ possible for multiple rule sets and links to trigger a single attempt.
|
|
|
17009
17103
|
/**
|
|
17010
17104
|
* List of FinalStatus reasons for Prerender2.
|
|
17011
17105
|
*/
|
|
17012
|
-
export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"MemoryLimitExceeded"|"DataSaverEnabled"|"TriggerUrlHasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"|"CrossSiteRedirectInInitialNavigation"|"CrossSiteNavigationInInitialNavigation"|"SameSiteCrossOriginRedirectNotOptInInInitialNavigation"|"SameSiteCrossOriginNavigationNotOptInInInitialNavigation"|"ActivationNavigationParameterMismatch"|"ActivatedInBackground"|"EmbedderHostDisallowed"|"ActivationNavigationDestroyedBeforeSuccess"|"TabClosedByUserGesture"|"TabClosedWithoutUserGesture"|"PrimaryMainFrameRendererProcessCrashed"|"PrimaryMainFrameRendererProcessKilled"|"ActivationFramePolicyNotCompatible"|"PreloadingDisabled"|"BatterySaverEnabled"|"ActivatedDuringMainFrameNavigation"|"PreloadingUnsupportedByWebContents"|"CrossSiteRedirectInMainFrameNavigation"|"CrossSiteNavigationInMainFrameNavigation"|"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation"|"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"|"MemoryPressureOnTrigger"|"MemoryPressureAfterTriggered"|"PrerenderingDisabledByDevTools"|"SpeculationRuleRemoved"|"ActivatedWithAuxiliaryBrowsingContexts"|"MaxNumOfRunningEagerPrerendersExceeded"|"MaxNumOfRunningNonEagerPrerendersExceeded"|"MaxNumOfRunningEmbedderPrerendersExceeded"|"PrerenderingUrlHasEffectiveUrl"|"RedirectedPrerenderingUrlHasEffectiveUrl"|"ActivationUrlHasEffectiveUrl"|"JavaScriptInterfaceAdded"|"JavaScriptInterfaceRemoved"|"AllPrerenderingCanceled"|"WindowClosed"|"SlowNetwork"|"OtherPrerenderedPageActivated";
|
|
17106
|
+
export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"MemoryLimitExceeded"|"DataSaverEnabled"|"TriggerUrlHasEffectiveUrl"|"ActivatedBeforeStarted"|"InactivePageRestriction"|"StartFailed"|"TimeoutBackgrounded"|"CrossSiteRedirectInInitialNavigation"|"CrossSiteNavigationInInitialNavigation"|"SameSiteCrossOriginRedirectNotOptInInInitialNavigation"|"SameSiteCrossOriginNavigationNotOptInInInitialNavigation"|"ActivationNavigationParameterMismatch"|"ActivatedInBackground"|"EmbedderHostDisallowed"|"ActivationNavigationDestroyedBeforeSuccess"|"TabClosedByUserGesture"|"TabClosedWithoutUserGesture"|"PrimaryMainFrameRendererProcessCrashed"|"PrimaryMainFrameRendererProcessKilled"|"ActivationFramePolicyNotCompatible"|"PreloadingDisabled"|"BatterySaverEnabled"|"ActivatedDuringMainFrameNavigation"|"PreloadingUnsupportedByWebContents"|"CrossSiteRedirectInMainFrameNavigation"|"CrossSiteNavigationInMainFrameNavigation"|"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation"|"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"|"MemoryPressureOnTrigger"|"MemoryPressureAfterTriggered"|"PrerenderingDisabledByDevTools"|"SpeculationRuleRemoved"|"ActivatedWithAuxiliaryBrowsingContexts"|"MaxNumOfRunningEagerPrerendersExceeded"|"MaxNumOfRunningNonEagerPrerendersExceeded"|"MaxNumOfRunningEmbedderPrerendersExceeded"|"PrerenderingUrlHasEffectiveUrl"|"RedirectedPrerenderingUrlHasEffectiveUrl"|"ActivationUrlHasEffectiveUrl"|"JavaScriptInterfaceAdded"|"JavaScriptInterfaceRemoved"|"AllPrerenderingCanceled"|"WindowClosed"|"SlowNetwork"|"OtherPrerenderedPageActivated"|"V8OptimizerDisabled"|"PrerenderFailedDuringPrefetch";
|
|
17013
17107
|
/**
|
|
17014
17108
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
|
17015
17109
|
status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
|
@@ -17019,7 +17113,7 @@ status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
|
|
17019
17113
|
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
|
|
17020
17114
|
filter out the ones that aren't necessary to the developers.
|
|
17021
17115
|
*/
|
|
17022
|
-
export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"
|
|
17116
|
+
export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchEvictedAfterCandidateRemoved"|"PrefetchEvictedForNewerPrefetch"|"PrefetchHeldback"|"PrefetchIneligibleRetryAfter"|"PrefetchIsPrivacyDecoy"|"PrefetchIsStale"|"PrefetchNotEligibleBrowserContextOffTheRecord"|"PrefetchNotEligibleDataSaverEnabled"|"PrefetchNotEligibleExistingProxy"|"PrefetchNotEligibleHostIsNonUnique"|"PrefetchNotEligibleNonDefaultStoragePartition"|"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"|"PrefetchNotEligibleSchemeIsNotHttps"|"PrefetchNotEligibleUserHasCookies"|"PrefetchNotEligibleUserHasServiceWorker"|"PrefetchNotEligibleBatterySaverEnabled"|"PrefetchNotEligiblePreloadingDisabled"|"PrefetchNotFinishedInTime"|"PrefetchNotStarted"|"PrefetchNotUsedCookiesChanged"|"PrefetchProxyNotAvailable"|"PrefetchResponseUsed"|"PrefetchSuccessfulButNotUsed"|"PrefetchNotUsedProbeFailed";
|
|
17023
17117
|
/**
|
|
17024
17118
|
* Information of headers to be displayed when the header mismatch occurred.
|
|
17025
17119
|
*/
|
|
@@ -17684,7 +17778,7 @@ variables as its properties.
|
|
|
17684
17778
|
/**
|
|
17685
17779
|
* Type of the debug symbols.
|
|
17686
17780
|
*/
|
|
17687
|
-
type: "
|
|
17781
|
+
type: "SourceMap"|"EmbeddedDWARF"|"ExternalDWARF";
|
|
17688
17782
|
/**
|
|
17689
17783
|
* URL of the external symbol source.
|
|
17690
17784
|
*/
|
|
@@ -17888,9 +17982,9 @@ scripts upon enabling debugger.
|
|
|
17888
17982
|
*/
|
|
17889
17983
|
scriptLanguage?: Debugger.ScriptLanguage;
|
|
17890
17984
|
/**
|
|
17891
|
-
* If the scriptLanguage is
|
|
17985
|
+
* If the scriptLanguage is WebAssembly, the source of debug symbols for the module.
|
|
17892
17986
|
*/
|
|
17893
|
-
debugSymbols?: Debugger.DebugSymbols;
|
|
17987
|
+
debugSymbols?: Debugger.DebugSymbols[];
|
|
17894
17988
|
/**
|
|
17895
17989
|
* The name the embedder supplied for this script.
|
|
17896
17990
|
*/
|
|
@@ -18213,6 +18307,19 @@ call stacks (default).
|
|
|
18213
18307
|
}
|
|
18214
18308
|
export type setAsyncCallStackDepthReturnValue = {
|
|
18215
18309
|
}
|
|
18310
|
+
/**
|
|
18311
|
+
* Replace previous blackbox execution contexts with passed ones. Forces backend to skip
|
|
18312
|
+
stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
|
|
18313
|
+
performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
|
18314
|
+
*/
|
|
18315
|
+
export type setBlackboxExecutionContextsParameters = {
|
|
18316
|
+
/**
|
|
18317
|
+
* Array of execution context unique ids for the debugger to ignore.
|
|
18318
|
+
*/
|
|
18319
|
+
uniqueIds: string[];
|
|
18320
|
+
}
|
|
18321
|
+
export type setBlackboxExecutionContextsReturnValue = {
|
|
18322
|
+
}
|
|
18216
18323
|
/**
|
|
18217
18324
|
* Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
|
|
18218
18325
|
scripts with url matching one of the patterns. VM will try to leave blackboxed script by
|
|
@@ -18223,6 +18330,10 @@ performing 'step in' several times, finally resorting to 'step out' if unsuccess
|
|
|
18223
18330
|
* Array of regexps that will be used to check script url for blackbox state.
|
|
18224
18331
|
*/
|
|
18225
18332
|
patterns: string[];
|
|
18333
|
+
/**
|
|
18334
|
+
* If true, also ignore scripts with no source url.
|
|
18335
|
+
*/
|
|
18336
|
+
skipAnonymous?: boolean;
|
|
18226
18337
|
}
|
|
18227
18338
|
export type setBlackboxPatternsReturnValue = {
|
|
18228
18339
|
}
|
|
@@ -20115,6 +20226,7 @@ Error was thrown.
|
|
|
20115
20226
|
"DOM.inlineStyleInvalidated": DOM.inlineStyleInvalidatedPayload;
|
|
20116
20227
|
"DOM.pseudoElementAdded": DOM.pseudoElementAddedPayload;
|
|
20117
20228
|
"DOM.topLayerElementsUpdated": DOM.topLayerElementsUpdatedPayload;
|
|
20229
|
+
"DOM.scrollableFlagUpdated": DOM.scrollableFlagUpdatedPayload;
|
|
20118
20230
|
"DOM.pseudoElementRemoved": DOM.pseudoElementRemovedPayload;
|
|
20119
20231
|
"DOM.setChildNodes": DOM.setChildNodesPayload;
|
|
20120
20232
|
"DOM.shadowRootPopped": DOM.shadowRootPoppedPayload;
|
|
@@ -20173,6 +20285,7 @@ Error was thrown.
|
|
|
20173
20285
|
"Page.frameAttached": Page.frameAttachedPayload;
|
|
20174
20286
|
"Page.frameClearedScheduledNavigation": Page.frameClearedScheduledNavigationPayload;
|
|
20175
20287
|
"Page.frameDetached": Page.frameDetachedPayload;
|
|
20288
|
+
"Page.frameSubtreeWillBeDetached": Page.frameSubtreeWillBeDetachedPayload;
|
|
20176
20289
|
"Page.frameNavigated": Page.frameNavigatedPayload;
|
|
20177
20290
|
"Page.documentOpened": Page.documentOpenedPayload;
|
|
20178
20291
|
"Page.frameResized": Page.frameResizedPayload;
|
|
@@ -20241,6 +20354,8 @@ Error was thrown.
|
|
|
20241
20354
|
"WebAudio.nodeParamConnected": WebAudio.nodeParamConnectedPayload;
|
|
20242
20355
|
"WebAudio.nodeParamDisconnected": WebAudio.nodeParamDisconnectedPayload;
|
|
20243
20356
|
"WebAuthn.credentialAdded": WebAuthn.credentialAddedPayload;
|
|
20357
|
+
"WebAuthn.credentialDeleted": WebAuthn.credentialDeletedPayload;
|
|
20358
|
+
"WebAuthn.credentialUpdated": WebAuthn.credentialUpdatedPayload;
|
|
20244
20359
|
"WebAuthn.credentialAsserted": WebAuthn.credentialAssertedPayload;
|
|
20245
20360
|
"Media.playerPropertiesChanged": Media.playerPropertiesChangedPayload;
|
|
20246
20361
|
"Media.playerEventsAdded": Media.playerEventsAddedPayload;
|
|
@@ -20539,6 +20654,7 @@ Error was thrown.
|
|
|
20539
20654
|
"Log.startViolationsReport": Log.startViolationsReportParameters;
|
|
20540
20655
|
"Log.stopViolationsReport": Log.stopViolationsReportParameters;
|
|
20541
20656
|
"Memory.getDOMCounters": Memory.getDOMCountersParameters;
|
|
20657
|
+
"Memory.getDOMCountersForLeakDetection": Memory.getDOMCountersForLeakDetectionParameters;
|
|
20542
20658
|
"Memory.prepareForLeakDetection": Memory.prepareForLeakDetectionParameters;
|
|
20543
20659
|
"Memory.forciblyPurgeJavaScriptMemory": Memory.forciblyPurgeJavaScriptMemoryParameters;
|
|
20544
20660
|
"Memory.setPressureNotificationsSuppressed": Memory.setPressureNotificationsSuppressedParameters;
|
|
@@ -20827,6 +20943,7 @@ Error was thrown.
|
|
|
20827
20943
|
"Debugger.resume": Debugger.resumeParameters;
|
|
20828
20944
|
"Debugger.searchInContent": Debugger.searchInContentParameters;
|
|
20829
20945
|
"Debugger.setAsyncCallStackDepth": Debugger.setAsyncCallStackDepthParameters;
|
|
20946
|
+
"Debugger.setBlackboxExecutionContexts": Debugger.setBlackboxExecutionContextsParameters;
|
|
20830
20947
|
"Debugger.setBlackboxPatterns": Debugger.setBlackboxPatternsParameters;
|
|
20831
20948
|
"Debugger.setBlackboxedRanges": Debugger.setBlackboxedRangesParameters;
|
|
20832
20949
|
"Debugger.setBreakpoint": Debugger.setBreakpointParameters;
|
|
@@ -21148,6 +21265,7 @@ Error was thrown.
|
|
|
21148
21265
|
"Log.startViolationsReport": Log.startViolationsReportReturnValue;
|
|
21149
21266
|
"Log.stopViolationsReport": Log.stopViolationsReportReturnValue;
|
|
21150
21267
|
"Memory.getDOMCounters": Memory.getDOMCountersReturnValue;
|
|
21268
|
+
"Memory.getDOMCountersForLeakDetection": Memory.getDOMCountersForLeakDetectionReturnValue;
|
|
21151
21269
|
"Memory.prepareForLeakDetection": Memory.prepareForLeakDetectionReturnValue;
|
|
21152
21270
|
"Memory.forciblyPurgeJavaScriptMemory": Memory.forciblyPurgeJavaScriptMemoryReturnValue;
|
|
21153
21271
|
"Memory.setPressureNotificationsSuppressed": Memory.setPressureNotificationsSuppressedReturnValue;
|
|
@@ -21436,6 +21554,7 @@ Error was thrown.
|
|
|
21436
21554
|
"Debugger.resume": Debugger.resumeReturnValue;
|
|
21437
21555
|
"Debugger.searchInContent": Debugger.searchInContentReturnValue;
|
|
21438
21556
|
"Debugger.setAsyncCallStackDepth": Debugger.setAsyncCallStackDepthReturnValue;
|
|
21557
|
+
"Debugger.setBlackboxExecutionContexts": Debugger.setBlackboxExecutionContextsReturnValue;
|
|
21439
21558
|
"Debugger.setBlackboxPatterns": Debugger.setBlackboxPatternsReturnValue;
|
|
21440
21559
|
"Debugger.setBlackboxedRanges": Debugger.setBlackboxedRangesReturnValue;
|
|
21441
21560
|
"Debugger.setBreakpoint": Debugger.setBreakpointReturnValue;
|