feat(chromium): roll to r1066 (#23433)

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Playwright Service 2023-06-01 07:03:49 -07:00 committed by GitHub
parent fff4e048a8
commit 3e73906027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 538 additions and 154 deletions

View File

@ -1,6 +1,6 @@
# 🎭 Playwright
[![npm version](https://img.shields.io/npm/v/playwright.svg)](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-114.0.5735.45-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-113.0-blue.svg?logo=firefoxbrowser)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-16.4-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->
[![npm version](https://img.shields.io/npm/v/playwright.svg)](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-115.0.5790.13-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-113.0-blue.svg?logo=firefoxbrowser)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-16.4-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright)
@ -8,7 +8,7 @@ Playwright is a framework for Web Testing and Automation. It allows testing [Chr
| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->114.0.5735.45<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Chromium <!-- GEN:chromium-version -->115.0.5790.13<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit <!-- GEN:webkit-version -->16.4<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->113.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |

View File

@ -3,15 +3,15 @@
"browsers": [
{
"name": "chromium",
"revision": "1065",
"revision": "1066",
"installByDefault": true,
"browserVersion": "114.0.5735.45"
"browserVersion": "115.0.5790.13"
},
{
"name": "chromium-with-symbols",
"revision": "1065",
"revision": "1066",
"installByDefault": false,
"browserVersion": "114.0.5735.45"
"browserVersion": "115.0.5790.13"
},
{
"name": "chromium-tip-of-tree",

View File

@ -770,25 +770,6 @@ transferred to a context that is not cross-origin isolated.
isWarning: boolean;
type: SharedArrayBufferIssueType;
}
export type TwaQualityEnforcementViolationType = "kHttpError"|"kUnavailableOffline"|"kDigitalAssetLinks";
export interface TrustedWebActivityIssueDetails {
/**
* The url that triggers the violation.
*/
url: string;
violationType: TwaQualityEnforcementViolationType;
httpStatusCode?: number;
/**
* The package name of the Trusted Web Activity client app. This field is
only used when violation type is kDigitalAssetLinks.
*/
packageName?: string;
/**
* The signature of the Trusted Web Activity client app. This field is only
used when violation type is kDigitalAssetLinks.
*/
signature?: string;
}
export interface LowTextContrastIssueDetails {
violatingNodeId: DOM.BackendNodeId;
violatingNodeSelector: string;
@ -811,7 +792,7 @@ CORS RFC1918 enforcement.
resourceIPAddressSpace?: Network.IPAddressSpace;
clientSecurityState?: Network.ClientSecurityState;
}
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"InvalidEligibleHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport";
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport";
/**
* Details for issues around "Attribution Reporting API" usage.
Explainer: https://github.com/WICG/attribution-reporting-api
@ -886,7 +867,7 @@ Should be updated alongside RequestIdTokenStatus in
third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
all cases except for success.
*/
export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"ClientMetadataHttpNotFound"|"ClientMetadataNoResponse"|"ClientMetadataInvalidResponse"|"ClientMetadataInvalidContentType"|"DisabledInSettings"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible";
export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"ClientMetadataHttpNotFound"|"ClientMetadataNoResponse"|"ClientMetadataInvalidResponse"|"ClientMetadataInvalidContentType"|"DisabledInSettings"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible"|"SilentMediationFailure";
/**
* This issue tracks client hints related issues. It's used to deprecate old
features, encourage the use of new ones, and provide general guidance.
@ -900,7 +881,7 @@ features, encourage the use of new ones, and provide general guidance.
optional fields in InspectorIssueDetails to convey more specific
information about the kind of issue.
*/
export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue";
export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue";
/**
* This struct holds a list of optional fields with additional information
specific to the kind of issue. When adding a new issue code, please also
@ -913,7 +894,6 @@ add a new optional field to this type.
heavyAdIssueDetails?: HeavyAdIssueDetails;
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
corsIssueDetails?: CorsIssueDetails;
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
@ -1010,6 +990,65 @@ using Audits.issueAdded event.
}
export type checkContrastReturnValue = {
}
/**
* Runs the form issues check for the target page. Found issues are reported
using Audits.issueAdded event.
*/
export type checkFormsIssuesParameters = {
}
export type checkFormsIssuesReturnValue = {
formIssues: GenericIssueDetails[];
}
}
/**
* Defines commands and events for Autofill.
*/
export module Autofill {
export interface CreditCard {
/**
* 16-digit credit card number.
*/
number: string;
/**
* Name of the credit card owner.
*/
name: string;
/**
* 2-digit expiry month.
*/
expiryMonth: string;
/**
* 4-digit expiry year.
*/
expiryYear: string;
/**
* 3-digit card verification code.
*/
cvc: string;
}
/**
* Trigger autofill on a form identified by the fieldId.
If the field and related form cannot be autofilled, returns an error.
*/
export type triggerParameters = {
/**
* Identifies a field that serves as an anchor for autofill.
*/
fieldId: DOM.BackendNodeId;
/**
* Identifies the frame that field belongs to.
*/
frameId?: Page.FrameId;
/**
* Credit card information to fill out the form. Credit card data is not saved.
*/
card: CreditCard;
}
export type triggerReturnValue = {
}
}
/**
@ -1528,6 +1567,15 @@ with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
}
export type executeBrowserCommandReturnValue = {
}
/**
* Allows a site to use privacy sandbox features that require enrollment
without the site actually being enrolled. Only supported on page targets.
*/
export type addPrivacySandboxEnrollmentOverrideParameters = {
url: string;
}
export type addPrivacySandboxEnrollmentOverrideReturnValue = {
}
}
/**
@ -1610,6 +1658,29 @@ inspector" rules), "regular" for regular stylesheets.
* Value range in the underlying resource (if available).
*/
range?: SourceRange;
/**
* Specificity of the selector.
*/
specificity?: Specificity;
}
/**
* Specificity:
https://drafts.csswg.org/selectors/#specificity-rules
*/
export interface Specificity {
/**
* The a component, which represents the number of ID selectors.
*/
a: number;
/**
* The b component, which represents the number of class selectors, attributes selectors, and
pseudo-classes.
*/
b: number;
/**
* The c component, which represents the number of type selectors and pseudo-elements.
*/
c: number;
}
/**
* Selector list data.
@ -2756,6 +2827,10 @@ instrumentation).
* Storage key of the cache.
*/
storageKey: string;
/**
* Storage bucket of the cache.
*/
storageBucket?: Storage.StorageBucket;
/**
* The name of the cache.
*/
@ -2807,7 +2882,7 @@ instrumentation).
*/
export type requestCacheNamesParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -2815,6 +2890,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
}
export type requestCacheNamesReturnValue = {
/**
@ -6050,7 +6129,7 @@ requires the version number to be 'unsigned long long')
*/
export type clearObjectStoreParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6058,6 +6137,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6074,7 +6157,7 @@ Security origin.
*/
export type deleteDatabaseParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6082,6 +6165,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6094,7 +6181,7 @@ Security origin.
*/
export type deleteObjectStoreEntriesParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6102,6 +6189,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
databaseName: string;
objectStoreName: string;
/**
@ -6130,7 +6221,7 @@ Security origin.
*/
export type requestDataParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6138,6 +6229,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6178,7 +6273,7 @@ Security origin.
*/
export type getMetadataParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6186,6 +6281,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6212,7 +6311,7 @@ is true.
*/
export type requestDatabaseParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6220,6 +6319,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6236,7 +6339,7 @@ Security origin.
*/
export type requestDatabaseNamesParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6244,6 +6347,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
}
export type requestDatabaseNamesReturnValue = {
/**
@ -12978,11 +13085,16 @@ SharedStorageAccessType.workletSet.
ignoreIfPresent?: boolean;
}
export type StorageBucketsDurability = "relaxed"|"strict";
export interface StorageBucketInfo {
export interface StorageBucket {
storageKey: SerializedStorageKey;
/**
* If not specified, it is the default bucket of the storageKey.
*/
name?: string;
}
export interface StorageBucketInfo {
bucket: StorageBucket;
id: string;
name: string;
isDefault: boolean;
expiration: Network.TimeSinceEpoch;
/**
* Storage quota (bytes).
@ -13004,6 +13116,10 @@ SharedStorageAccessType.workletSet.
* Storage key to update.
*/
storageKey: string;
/**
* Storage bucket to update.
*/
bucketId: string;
/**
* Name of cache in origin.
*/
@ -13021,6 +13137,10 @@ SharedStorageAccessType.workletSet.
* Storage key to update.
*/
storageKey: string;
/**
* Storage bucket to update.
*/
bucketId: string;
}
/**
* The origin's IndexedDB object store has been modified.
@ -13034,6 +13154,10 @@ SharedStorageAccessType.workletSet.
* Storage key to update.
*/
storageKey: string;
/**
* Storage bucket to update.
*/
bucketId: string;
/**
* Database to update.
*/
@ -13055,6 +13179,10 @@ SharedStorageAccessType.workletSet.
* Storage key to update.
*/
storageKey: string;
/**
* Storage bucket to update.
*/
bucketId: string;
}
/**
* One of the interest groups was accessed by the associated page.
@ -13093,7 +13221,7 @@ presence/absence depends on `type`.
params: SharedStorageAccessParams;
}
export type storageBucketCreatedOrUpdatedPayload = {
bucket: StorageBucketInfo;
bucketInfo: StorageBucketInfo;
}
export type storageBucketDeletedPayload = {
bucketId: string;
@ -13434,8 +13562,7 @@ Leaves other stored data, including the issuer's Redemption Records, intact.
* Deletes the Storage Bucket with the given storage key and bucket name.
*/
export type deleteStorageBucketParameters = {
storageKey: string;
bucketName: string;
bucket: StorageBucket;
}
export type deleteStorageBucketReturnValue = {
}
@ -15422,6 +15549,21 @@ See also:
- https://github.com/WICG/nav-speculation/blob/main/triggers.md
*/
sourceText: string;
/**
* A speculation rule set is either added through an inline
<script> tag or through an external resource via the
'Speculation-Rules' HTTP header. For the first case, we include
the BackendNodeId of the relevant <script> tag. For the second
case, we include the external URL where the rule set was loaded
from, and also RequestId if Network domain is enabled.
See also:
- https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script
- https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
*/
backendNodeId?: DOM.BackendNodeId;
url?: string;
requestId?: Network.RequestId;
/**
* Error information
`errorMessage` is null iff `errorType` is null.
@ -15474,12 +15616,16 @@ possible for mulitple rule sets and links to trigger a single attempt.
* List of FinalStatus reasons for Prerender2.
*/
export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"InProgressNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"MaxNumOfRunningPrerendersExceeded"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"EmbedderTriggeredAndCrossOriginRedirected"|"MemoryLimitExceeded"|"FailToGetMemoryUsage"|"DataSaverEnabled"|"HasEffectiveUrl"|"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";
export type PreloadEnabledState = "Enabled"|"DisabledByDataSaver"|"DisabledByBatterySaver"|"DisabledByPreference"|"NotSupported";
/**
* Preloading status values, see also PreloadingTriggeringOutcome. This
status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
*/
export type PreloadingStatus = "Pending"|"Running"|"Ready"|"Success"|"Failure"|"NotSupported";
/**
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
filter out the ones that aren't necessary to the developers.
*/
export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchFailedPerPageLimitExceeded"|"PrefetchEvicted"|"PrefetchHeldback"|"PrefetchIneligibleRetryAfter"|"PrefetchIsPrivacyDecoy"|"PrefetchIsStale"|"PrefetchNotEligibleBrowserContextOffTheRecord"|"PrefetchNotEligibleDataSaverEnabled"|"PrefetchNotEligibleExistingProxy"|"PrefetchNotEligibleHostIsNonUnique"|"PrefetchNotEligibleNonDefaultStoragePartition"|"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"|"PrefetchNotEligibleSchemeIsNotHttps"|"PrefetchNotEligibleUserHasCookies"|"PrefetchNotEligibleUserHasServiceWorker"|"PrefetchNotEligibleBatterySaverEnabled"|"PrefetchNotEligiblePreloadingDisabled"|"PrefetchNotFinishedInTime"|"PrefetchNotStarted"|"PrefetchNotUsedCookiesChanged"|"PrefetchProxyNotAvailable"|"PrefetchResponseUsed"|"PrefetchSuccessfulButNotUsed"|"PrefetchNotUsedProbeFailed";
/**
* Upsert. Currently, it is only emitted when a rule set added.
@ -15511,7 +15657,9 @@ that is incompatible with prerender and has caused the cancellation of the attem
* Fired when a preload enabled state is updated.
*/
export type preloadEnabledStateUpdatedPayload = {
state: PreloadEnabledState;
disabledByPreference: boolean;
disabledByDataSaver: boolean;
disabledByBatterySaver: boolean;
}
/**
* Fired when a prefetch attempt is updated.
@ -15524,18 +15672,15 @@ that is incompatible with prerender and has caused the cancellation of the attem
initiatingFrameId: Page.FrameId;
prefetchUrl: string;
status: PreloadingStatus;
prefetchStatus: PrefetchStatus;
}
/**
* Fired when a prerender attempt is updated.
*/
export type prerenderStatusUpdatedPayload = {
key: PreloadingAttemptKey;
/**
* The frame id of the frame initiating prerender.
*/
initiatingFrameId: Page.FrameId;
prerenderingUrl: string;
status: PreloadingStatus;
prerenderStatus?: PrerenderFinalStatus;
}
/**
* Send a list of sources for all preloading attempts in a document.
@ -15564,6 +15709,10 @@ that is incompatible with prerender and has caused the cancellation of the attem
whether this account has ever been used to sign in to this RP before.
*/
export type LoginState = "SignIn"|"SignUp";
/**
* Whether the dialog shown is an account chooser or an auto re-authentication dialog.
*/
export type DialogType = "AccountChooser"|"AutoReauthn";
/**
* Corresponds to IdentityRequestAccount
*/
@ -15585,6 +15734,7 @@ whether this account has ever been used to sign in to this RP before.
export type dialogShownPayload = {
dialogId: string;
dialogType: DialogType;
accounts: Account[];
/**
* These exist primarily so that the caller can verify the
@ -17188,13 +17338,29 @@ other objects in their object group.
*/
export type ScriptId = string;
/**
* Represents the value serialiazed by the WebDriver BiDi specification
https://w3c.github.io/webdriver-bidi.
* Represents options for serialization. Overrides `generatePreview`, `returnByValue` and
`generateWebDriverValue`.
*/
export interface WebDriverValue {
export interface SerializationOptions {
serialization: "deep"|"json"|"idOnly";
/**
* Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode.
*/
maxDepth?: number;
}
/**
* Represents deep serialized value.
*/
export interface DeepSerializedValue {
type: "undefined"|"null"|"string"|"number"|"boolean"|"bigint"|"regexp"|"date"|"symbol"|"array"|"object"|"function"|"map"|"set"|"weakmap"|"weakset"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"node"|"window";
value?: any;
objectId?: string;
/**
* Set if value reference met more then once during serialization. In such
case, value is provided only to one of the serialized values. Unique
per value in the scope of one CDP call.
*/
weakLocalObjectReference?: number;
}
/**
* Unique object identifier.
@ -17237,9 +17403,13 @@ property.
*/
description?: string;
/**
* WebDriver BiDi representation of the value.
* Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
*/
webDriverValue?: WebDriverValue;
webDriverValue?: DeepSerializedValue;
/**
* Deep serialized value.
*/
deepSerializedValue?: DeepSerializedValue;
/**
* Unique object identifier (for non-primitive values).
*/
@ -17734,6 +17904,7 @@ execution. Overrides `setPauseOnException` state.
silent?: boolean;
/**
* Whether the result is expected to be a JSON object which should be sent by value.
Can be overriden by `serializationOptions`.
*/
returnByValue?: boolean;
/**
@ -17773,11 +17944,17 @@ This is mutually exclusive with `executionContextId`.
*/
uniqueContextId?: string;
/**
* Whether the result should contain `webDriverValue`, serialized according to
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
Whether the result should contain `webDriverValue`, serialized according to
https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
resulting `objectId` is still provided.
*/
generateWebDriverValue?: boolean;
/**
* Specifies the result serialization. If provided, overrides
`returnByValue` and `generateWebDriverValue`.
*/
serializationOptions?: SerializationOptions;
}
export type callFunctionOnReturnValue = {
/**
@ -17926,9 +18103,18 @@ This is mutually exclusive with `contextId`.
*/
uniqueContextId?: string;
/**
* Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
Whether the result should contain `webDriverValue`, serialized
according to
https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
resulting `objectId` is still provided.
*/
generateWebDriverValue?: boolean;
/**
* Specifies the result serialization. If provided, overrides
`returnByValue` and `generateWebDriverValue`.
*/
serializationOptions?: SerializationOptions;
}
export type evaluateReturnValue = {
/**
@ -18450,6 +18636,8 @@ Error was thrown.
"Audits.disable": Audits.disableParameters;
"Audits.enable": Audits.enableParameters;
"Audits.checkContrast": Audits.checkContrastParameters;
"Audits.checkFormsIssues": Audits.checkFormsIssuesParameters;
"Autofill.trigger": Autofill.triggerParameters;
"BackgroundService.startObserving": BackgroundService.startObservingParameters;
"BackgroundService.stopObserving": BackgroundService.stopObservingParameters;
"BackgroundService.setRecording": BackgroundService.setRecordingParameters;
@ -18471,6 +18659,7 @@ Error was thrown.
"Browser.setWindowBounds": Browser.setWindowBoundsParameters;
"Browser.setDockTile": Browser.setDockTileParameters;
"Browser.executeBrowserCommand": Browser.executeBrowserCommandParameters;
"Browser.addPrivacySandboxEnrollmentOverride": Browser.addPrivacySandboxEnrollmentOverrideParameters;
"CSS.addRule": CSS.addRuleParameters;
"CSS.collectClassNames": CSS.collectClassNamesParameters;
"CSS.createStyleSheet": CSS.createStyleSheetParameters;
@ -19012,6 +19201,8 @@ Error was thrown.
"Audits.disable": Audits.disableReturnValue;
"Audits.enable": Audits.enableReturnValue;
"Audits.checkContrast": Audits.checkContrastReturnValue;
"Audits.checkFormsIssues": Audits.checkFormsIssuesReturnValue;
"Autofill.trigger": Autofill.triggerReturnValue;
"BackgroundService.startObserving": BackgroundService.startObservingReturnValue;
"BackgroundService.stopObserving": BackgroundService.stopObservingReturnValue;
"BackgroundService.setRecording": BackgroundService.setRecordingReturnValue;
@ -19033,6 +19224,7 @@ Error was thrown.
"Browser.setWindowBounds": Browser.setWindowBoundsReturnValue;
"Browser.setDockTile": Browser.setDockTileReturnValue;
"Browser.executeBrowserCommand": Browser.executeBrowserCommandReturnValue;
"Browser.addPrivacySandboxEnrollmentOverride": Browser.addPrivacySandboxEnrollmentOverrideReturnValue;
"CSS.addRule": CSS.addRuleReturnValue;
"CSS.collectClassNames": CSS.collectClassNamesReturnValue;
"CSS.createStyleSheet": CSS.createStyleSheetReturnValue;

View File

@ -110,7 +110,7 @@
"defaultBrowserType": "webkit"
},
"Galaxy S5": {
"userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@ -121,7 +121,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S5 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@ -132,7 +132,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S8": {
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 740
@ -143,7 +143,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S8 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 740,
"height": 360
@ -154,7 +154,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S9+": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 320,
"height": 658
@ -165,7 +165,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S9+ landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 658,
"height": 320
@ -176,7 +176,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy Tab S4": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36",
"viewport": {
"width": 712,
"height": 1138
@ -187,7 +187,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy Tab S4 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36",
"viewport": {
"width": 1138,
"height": 712
@ -836,7 +836,7 @@
"defaultBrowserType": "webkit"
},
"LG Optimus L70": {
"userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 384,
"height": 640
@ -847,7 +847,7 @@
"defaultBrowserType": "chromium"
},
"LG Optimus L70 landscape": {
"userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 384
@ -858,7 +858,7 @@
"defaultBrowserType": "chromium"
},
"Microsoft Lumia 550": {
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36 Edge/14.14263",
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 640,
"height": 360
@ -869,7 +869,7 @@
"defaultBrowserType": "chromium"
},
"Microsoft Lumia 550 landscape": {
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36 Edge/14.14263",
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 360,
"height": 640
@ -880,7 +880,7 @@
"defaultBrowserType": "chromium"
},
"Microsoft Lumia 950": {
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36 Edge/14.14263",
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 360,
"height": 640
@ -891,7 +891,7 @@
"defaultBrowserType": "chromium"
},
"Microsoft Lumia 950 landscape": {
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36 Edge/14.14263",
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 640,
"height": 360
@ -902,7 +902,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 10": {
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36",
"viewport": {
"width": 800,
"height": 1280
@ -913,7 +913,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 10 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36",
"viewport": {
"width": 1280,
"height": 800
@ -924,7 +924,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 4": {
"userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 384,
"height": 640
@ -935,7 +935,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 4 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 384
@ -946,7 +946,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5": {
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@ -957,7 +957,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@ -968,7 +968,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5X": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@ -979,7 +979,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5X landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@ -990,7 +990,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 6": {
"userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@ -1001,7 +1001,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 6 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@ -1012,7 +1012,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 6P": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@ -1023,7 +1023,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 6P landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@ -1034,7 +1034,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 7": {
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36",
"viewport": {
"width": 600,
"height": 960
@ -1045,7 +1045,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 7 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36",
"viewport": {
"width": 960,
"height": 600
@ -1100,7 +1100,7 @@
"defaultBrowserType": "webkit"
},
"Pixel 2": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 411,
"height": 731
@ -1111,7 +1111,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 2 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 731,
"height": 411
@ -1122,7 +1122,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 2 XL": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 411,
"height": 823
@ -1133,7 +1133,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 2 XL landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 823,
"height": 411
@ -1144,7 +1144,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 3": {
"userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 393,
"height": 786
@ -1155,7 +1155,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 3 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 786,
"height": 393
@ -1166,7 +1166,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4": {
"userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 353,
"height": 745
@ -1177,7 +1177,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 745,
"height": 353
@ -1188,7 +1188,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4a (5G)": {
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"screen": {
"width": 412,
"height": 892
@ -1203,7 +1203,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4a (5G) landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"screen": {
"height": 892,
"width": 412
@ -1218,7 +1218,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 5": {
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"screen": {
"width": 393,
"height": 851
@ -1233,7 +1233,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 5 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"screen": {
"width": 851,
"height": 393
@ -1248,7 +1248,7 @@
"defaultBrowserType": "chromium"
},
"Moto G4": {
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@ -1259,7 +1259,7 @@
"defaultBrowserType": "chromium"
},
"Moto G4 landscape": {
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Mobile Safari/537.36",
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@ -1270,7 +1270,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Chrome HiDPI": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36",
"screen": {
"width": 1792,
"height": 1120
@ -1285,7 +1285,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Edge HiDPI": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36 Edg/114.0.5735.45",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36 Edg/115.0.5790.13",
"screen": {
"width": 1792,
"height": 1120
@ -1330,7 +1330,7 @@
"defaultBrowserType": "webkit"
},
"Desktop Chrome": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36",
"screen": {
"width": 1920,
"height": 1080
@ -1345,7 +1345,7 @@
"defaultBrowserType": "chromium"
},
"Desktop Edge": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.45 Safari/537.36 Edg/114.0.5735.45",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.13 Safari/537.36 Edg/115.0.5790.13",
"screen": {
"width": 1920,
"height": 1080

View File

@ -770,25 +770,6 @@ transferred to a context that is not cross-origin isolated.
isWarning: boolean;
type: SharedArrayBufferIssueType;
}
export type TwaQualityEnforcementViolationType = "kHttpError"|"kUnavailableOffline"|"kDigitalAssetLinks";
export interface TrustedWebActivityIssueDetails {
/**
* The url that triggers the violation.
*/
url: string;
violationType: TwaQualityEnforcementViolationType;
httpStatusCode?: number;
/**
* The package name of the Trusted Web Activity client app. This field is
only used when violation type is kDigitalAssetLinks.
*/
packageName?: string;
/**
* The signature of the Trusted Web Activity client app. This field is only
used when violation type is kDigitalAssetLinks.
*/
signature?: string;
}
export interface LowTextContrastIssueDetails {
violatingNodeId: DOM.BackendNodeId;
violatingNodeSelector: string;
@ -811,7 +792,7 @@ CORS RFC1918 enforcement.
resourceIPAddressSpace?: Network.IPAddressSpace;
clientSecurityState?: Network.ClientSecurityState;
}
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"InvalidEligibleHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport";
export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"UntrustworthyReportingOrigin"|"InsecureContext"|"InvalidHeader"|"InvalidRegisterTriggerHeader"|"SourceAndTriggerHeaders"|"SourceIgnored"|"TriggerIgnored"|"OsSourceIgnored"|"OsTriggerIgnored"|"InvalidRegisterOsSourceHeader"|"InvalidRegisterOsTriggerHeader"|"WebAndOsHeaders"|"NoWebOrOsSupport";
/**
* Details for issues around "Attribution Reporting API" usage.
Explainer: https://github.com/WICG/attribution-reporting-api
@ -886,7 +867,7 @@ Should be updated alongside RequestIdTokenStatus in
third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
all cases except for success.
*/
export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"ClientMetadataHttpNotFound"|"ClientMetadataNoResponse"|"ClientMetadataInvalidResponse"|"ClientMetadataInvalidContentType"|"DisabledInSettings"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible";
export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"ClientMetadataHttpNotFound"|"ClientMetadataNoResponse"|"ClientMetadataInvalidResponse"|"ClientMetadataInvalidContentType"|"DisabledInSettings"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible"|"SilentMediationFailure";
/**
* This issue tracks client hints related issues. It's used to deprecate old
features, encourage the use of new ones, and provide general guidance.
@ -900,7 +881,7 @@ features, encourage the use of new ones, and provide general guidance.
optional fields in InspectorIssueDetails to convey more specific
information about the kind of issue.
*/
export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue";
export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue";
/**
* This struct holds a list of optional fields with additional information
specific to the kind of issue. When adding a new issue code, please also
@ -913,7 +894,6 @@ add a new optional field to this type.
heavyAdIssueDetails?: HeavyAdIssueDetails;
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
corsIssueDetails?: CorsIssueDetails;
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
@ -1010,6 +990,65 @@ using Audits.issueAdded event.
}
export type checkContrastReturnValue = {
}
/**
* Runs the form issues check for the target page. Found issues are reported
using Audits.issueAdded event.
*/
export type checkFormsIssuesParameters = {
}
export type checkFormsIssuesReturnValue = {
formIssues: GenericIssueDetails[];
}
}
/**
* Defines commands and events for Autofill.
*/
export module Autofill {
export interface CreditCard {
/**
* 16-digit credit card number.
*/
number: string;
/**
* Name of the credit card owner.
*/
name: string;
/**
* 2-digit expiry month.
*/
expiryMonth: string;
/**
* 4-digit expiry year.
*/
expiryYear: string;
/**
* 3-digit card verification code.
*/
cvc: string;
}
/**
* Trigger autofill on a form identified by the fieldId.
If the field and related form cannot be autofilled, returns an error.
*/
export type triggerParameters = {
/**
* Identifies a field that serves as an anchor for autofill.
*/
fieldId: DOM.BackendNodeId;
/**
* Identifies the frame that field belongs to.
*/
frameId?: Page.FrameId;
/**
* Credit card information to fill out the form. Credit card data is not saved.
*/
card: CreditCard;
}
export type triggerReturnValue = {
}
}
/**
@ -1528,6 +1567,15 @@ with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
}
export type executeBrowserCommandReturnValue = {
}
/**
* Allows a site to use privacy sandbox features that require enrollment
without the site actually being enrolled. Only supported on page targets.
*/
export type addPrivacySandboxEnrollmentOverrideParameters = {
url: string;
}
export type addPrivacySandboxEnrollmentOverrideReturnValue = {
}
}
/**
@ -1610,6 +1658,29 @@ inspector" rules), "regular" for regular stylesheets.
* Value range in the underlying resource (if available).
*/
range?: SourceRange;
/**
* Specificity of the selector.
*/
specificity?: Specificity;
}
/**
* Specificity:
https://drafts.csswg.org/selectors/#specificity-rules
*/
export interface Specificity {
/**
* The a component, which represents the number of ID selectors.
*/
a: number;
/**
* The b component, which represents the number of class selectors, attributes selectors, and
pseudo-classes.
*/
b: number;
/**
* The c component, which represents the number of type selectors and pseudo-elements.
*/
c: number;
}
/**
* Selector list data.
@ -2756,6 +2827,10 @@ instrumentation).
* Storage key of the cache.
*/
storageKey: string;
/**
* Storage bucket of the cache.
*/
storageBucket?: Storage.StorageBucket;
/**
* The name of the cache.
*/
@ -2807,7 +2882,7 @@ instrumentation).
*/
export type requestCacheNamesParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -2815,6 +2890,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
}
export type requestCacheNamesReturnValue = {
/**
@ -6050,7 +6129,7 @@ requires the version number to be 'unsigned long long')
*/
export type clearObjectStoreParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6058,6 +6137,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6074,7 +6157,7 @@ Security origin.
*/
export type deleteDatabaseParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6082,6 +6165,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6094,7 +6181,7 @@ Security origin.
*/
export type deleteObjectStoreEntriesParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6102,6 +6189,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
databaseName: string;
objectStoreName: string;
/**
@ -6130,7 +6221,7 @@ Security origin.
*/
export type requestDataParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6138,6 +6229,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6178,7 +6273,7 @@ Security origin.
*/
export type getMetadataParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6186,6 +6281,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6212,7 +6311,7 @@ is true.
*/
export type requestDatabaseParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6220,6 +6319,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
/**
* Database name.
*/
@ -6236,7 +6339,7 @@ Security origin.
*/
export type requestDatabaseNamesParameters = {
/**
* At least and at most one of securityOrigin, storageKey must be specified.
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
Security origin.
*/
securityOrigin?: string;
@ -6244,6 +6347,10 @@ Security origin.
* Storage key.
*/
storageKey?: string;
/**
* Storage bucket. If not specified, it uses the default bucket.
*/
storageBucket?: Storage.StorageBucket;
}
export type requestDatabaseNamesReturnValue = {
/**
@ -12978,11 +13085,16 @@ SharedStorageAccessType.workletSet.
ignoreIfPresent?: boolean;
}
export type StorageBucketsDurability = "relaxed"|"strict";
export interface StorageBucketInfo {
export interface StorageBucket {
storageKey: SerializedStorageKey;
/**
* If not specified, it is the default bucket of the storageKey.
*/
name?: string;
}
export interface StorageBucketInfo {
bucket: StorageBucket;
id: string;
name: string;
isDefault: boolean;
expiration: Network.TimeSinceEpoch;
/**
* Storage quota (bytes).
@ -13004,6 +13116,10 @@ SharedStorageAccessType.workletSet.
* Storage key to update.
*/
storageKey: string;
/**
* Storage bucket to update.
*/
bucketId: string;
/**
* Name of cache in origin.
*/
@ -13021,6 +13137,10 @@ SharedStorageAccessType.workletSet.
* Storage key to update.
*/
storageKey: string;
/**
* Storage bucket to update.
*/
bucketId: string;
}
/**
* The origin's IndexedDB object store has been modified.
@ -13034,6 +13154,10 @@ SharedStorageAccessType.workletSet.
* Storage key to update.
*/
storageKey: string;
/**
* Storage bucket to update.
*/
bucketId: string;
/**
* Database to update.
*/
@ -13055,6 +13179,10 @@ SharedStorageAccessType.workletSet.
* Storage key to update.
*/
storageKey: string;
/**
* Storage bucket to update.
*/
bucketId: string;
}
/**
* One of the interest groups was accessed by the associated page.
@ -13093,7 +13221,7 @@ presence/absence depends on `type`.
params: SharedStorageAccessParams;
}
export type storageBucketCreatedOrUpdatedPayload = {
bucket: StorageBucketInfo;
bucketInfo: StorageBucketInfo;
}
export type storageBucketDeletedPayload = {
bucketId: string;
@ -13434,8 +13562,7 @@ Leaves other stored data, including the issuer's Redemption Records, intact.
* Deletes the Storage Bucket with the given storage key and bucket name.
*/
export type deleteStorageBucketParameters = {
storageKey: string;
bucketName: string;
bucket: StorageBucket;
}
export type deleteStorageBucketReturnValue = {
}
@ -15422,6 +15549,21 @@ See also:
- https://github.com/WICG/nav-speculation/blob/main/triggers.md
*/
sourceText: string;
/**
* A speculation rule set is either added through an inline
<script> tag or through an external resource via the
'Speculation-Rules' HTTP header. For the first case, we include
the BackendNodeId of the relevant <script> tag. For the second
case, we include the external URL where the rule set was loaded
from, and also RequestId if Network domain is enabled.
See also:
- https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script
- https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
*/
backendNodeId?: DOM.BackendNodeId;
url?: string;
requestId?: Network.RequestId;
/**
* Error information
`errorMessage` is null iff `errorType` is null.
@ -15474,12 +15616,16 @@ possible for mulitple rule sets and links to trigger a single attempt.
* List of FinalStatus reasons for Prerender2.
*/
export type PrerenderFinalStatus = "Activated"|"Destroyed"|"LowEndDevice"|"InvalidSchemeRedirect"|"InvalidSchemeNavigation"|"InProgressNavigation"|"NavigationRequestBlockedByCsp"|"MainFrameNavigation"|"MojoBinderPolicy"|"RendererProcessCrashed"|"RendererProcessKilled"|"Download"|"TriggerDestroyed"|"NavigationNotCommitted"|"NavigationBadHttpStatus"|"ClientCertRequested"|"NavigationRequestNetworkError"|"MaxNumOfRunningPrerendersExceeded"|"CancelAllHostsForTesting"|"DidFailLoad"|"Stop"|"SslCertificateError"|"LoginAuthRequested"|"UaChangeRequiresReload"|"BlockedByClient"|"AudioOutputDeviceRequested"|"MixedContent"|"TriggerBackgrounded"|"EmbedderTriggeredAndCrossOriginRedirected"|"MemoryLimitExceeded"|"FailToGetMemoryUsage"|"DataSaverEnabled"|"HasEffectiveUrl"|"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";
export type PreloadEnabledState = "Enabled"|"DisabledByDataSaver"|"DisabledByBatterySaver"|"DisabledByPreference"|"NotSupported";
/**
* Preloading status values, see also PreloadingTriggeringOutcome. This
status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
*/
export type PreloadingStatus = "Pending"|"Running"|"Ready"|"Success"|"Failure"|"NotSupported";
/**
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
filter out the ones that aren't necessary to the developers.
*/
export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchFailedPerPageLimitExceeded"|"PrefetchEvicted"|"PrefetchHeldback"|"PrefetchIneligibleRetryAfter"|"PrefetchIsPrivacyDecoy"|"PrefetchIsStale"|"PrefetchNotEligibleBrowserContextOffTheRecord"|"PrefetchNotEligibleDataSaverEnabled"|"PrefetchNotEligibleExistingProxy"|"PrefetchNotEligibleHostIsNonUnique"|"PrefetchNotEligibleNonDefaultStoragePartition"|"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"|"PrefetchNotEligibleSchemeIsNotHttps"|"PrefetchNotEligibleUserHasCookies"|"PrefetchNotEligibleUserHasServiceWorker"|"PrefetchNotEligibleBatterySaverEnabled"|"PrefetchNotEligiblePreloadingDisabled"|"PrefetchNotFinishedInTime"|"PrefetchNotStarted"|"PrefetchNotUsedCookiesChanged"|"PrefetchProxyNotAvailable"|"PrefetchResponseUsed"|"PrefetchSuccessfulButNotUsed"|"PrefetchNotUsedProbeFailed";
/**
* Upsert. Currently, it is only emitted when a rule set added.
@ -15511,7 +15657,9 @@ that is incompatible with prerender and has caused the cancellation of the attem
* Fired when a preload enabled state is updated.
*/
export type preloadEnabledStateUpdatedPayload = {
state: PreloadEnabledState;
disabledByPreference: boolean;
disabledByDataSaver: boolean;
disabledByBatterySaver: boolean;
}
/**
* Fired when a prefetch attempt is updated.
@ -15524,18 +15672,15 @@ that is incompatible with prerender and has caused the cancellation of the attem
initiatingFrameId: Page.FrameId;
prefetchUrl: string;
status: PreloadingStatus;
prefetchStatus: PrefetchStatus;
}
/**
* Fired when a prerender attempt is updated.
*/
export type prerenderStatusUpdatedPayload = {
key: PreloadingAttemptKey;
/**
* The frame id of the frame initiating prerender.
*/
initiatingFrameId: Page.FrameId;
prerenderingUrl: string;
status: PreloadingStatus;
prerenderStatus?: PrerenderFinalStatus;
}
/**
* Send a list of sources for all preloading attempts in a document.
@ -15564,6 +15709,10 @@ that is incompatible with prerender and has caused the cancellation of the attem
whether this account has ever been used to sign in to this RP before.
*/
export type LoginState = "SignIn"|"SignUp";
/**
* Whether the dialog shown is an account chooser or an auto re-authentication dialog.
*/
export type DialogType = "AccountChooser"|"AutoReauthn";
/**
* Corresponds to IdentityRequestAccount
*/
@ -15585,6 +15734,7 @@ whether this account has ever been used to sign in to this RP before.
export type dialogShownPayload = {
dialogId: string;
dialogType: DialogType;
accounts: Account[];
/**
* These exist primarily so that the caller can verify the
@ -17188,13 +17338,29 @@ other objects in their object group.
*/
export type ScriptId = string;
/**
* Represents the value serialiazed by the WebDriver BiDi specification
https://w3c.github.io/webdriver-bidi.
* Represents options for serialization. Overrides `generatePreview`, `returnByValue` and
`generateWebDriverValue`.
*/
export interface WebDriverValue {
export interface SerializationOptions {
serialization: "deep"|"json"|"idOnly";
/**
* Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode.
*/
maxDepth?: number;
}
/**
* Represents deep serialized value.
*/
export interface DeepSerializedValue {
type: "undefined"|"null"|"string"|"number"|"boolean"|"bigint"|"regexp"|"date"|"symbol"|"array"|"object"|"function"|"map"|"set"|"weakmap"|"weakset"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"node"|"window";
value?: any;
objectId?: string;
/**
* Set if value reference met more then once during serialization. In such
case, value is provided only to one of the serialized values. Unique
per value in the scope of one CDP call.
*/
weakLocalObjectReference?: number;
}
/**
* Unique object identifier.
@ -17237,9 +17403,13 @@ property.
*/
description?: string;
/**
* WebDriver BiDi representation of the value.
* Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
*/
webDriverValue?: WebDriverValue;
webDriverValue?: DeepSerializedValue;
/**
* Deep serialized value.
*/
deepSerializedValue?: DeepSerializedValue;
/**
* Unique object identifier (for non-primitive values).
*/
@ -17734,6 +17904,7 @@ execution. Overrides `setPauseOnException` state.
silent?: boolean;
/**
* Whether the result is expected to be a JSON object which should be sent by value.
Can be overriden by `serializationOptions`.
*/
returnByValue?: boolean;
/**
@ -17773,11 +17944,17 @@ This is mutually exclusive with `executionContextId`.
*/
uniqueContextId?: string;
/**
* Whether the result should contain `webDriverValue`, serialized according to
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
Whether the result should contain `webDriverValue`, serialized according to
https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
resulting `objectId` is still provided.
*/
generateWebDriverValue?: boolean;
/**
* Specifies the result serialization. If provided, overrides
`returnByValue` and `generateWebDriverValue`.
*/
serializationOptions?: SerializationOptions;
}
export type callFunctionOnReturnValue = {
/**
@ -17926,9 +18103,18 @@ This is mutually exclusive with `contextId`.
*/
uniqueContextId?: string;
/**
* Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
Whether the result should contain `webDriverValue`, serialized
according to
https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
resulting `objectId` is still provided.
*/
generateWebDriverValue?: boolean;
/**
* Specifies the result serialization. If provided, overrides
`returnByValue` and `generateWebDriverValue`.
*/
serializationOptions?: SerializationOptions;
}
export type evaluateReturnValue = {
/**
@ -18450,6 +18636,8 @@ Error was thrown.
"Audits.disable": Audits.disableParameters;
"Audits.enable": Audits.enableParameters;
"Audits.checkContrast": Audits.checkContrastParameters;
"Audits.checkFormsIssues": Audits.checkFormsIssuesParameters;
"Autofill.trigger": Autofill.triggerParameters;
"BackgroundService.startObserving": BackgroundService.startObservingParameters;
"BackgroundService.stopObserving": BackgroundService.stopObservingParameters;
"BackgroundService.setRecording": BackgroundService.setRecordingParameters;
@ -18471,6 +18659,7 @@ Error was thrown.
"Browser.setWindowBounds": Browser.setWindowBoundsParameters;
"Browser.setDockTile": Browser.setDockTileParameters;
"Browser.executeBrowserCommand": Browser.executeBrowserCommandParameters;
"Browser.addPrivacySandboxEnrollmentOverride": Browser.addPrivacySandboxEnrollmentOverrideParameters;
"CSS.addRule": CSS.addRuleParameters;
"CSS.collectClassNames": CSS.collectClassNamesParameters;
"CSS.createStyleSheet": CSS.createStyleSheetParameters;
@ -19012,6 +19201,8 @@ Error was thrown.
"Audits.disable": Audits.disableReturnValue;
"Audits.enable": Audits.enableReturnValue;
"Audits.checkContrast": Audits.checkContrastReturnValue;
"Audits.checkFormsIssues": Audits.checkFormsIssuesReturnValue;
"Autofill.trigger": Autofill.triggerReturnValue;
"BackgroundService.startObserving": BackgroundService.startObservingReturnValue;
"BackgroundService.stopObserving": BackgroundService.stopObservingReturnValue;
"BackgroundService.setRecording": BackgroundService.setRecordingReturnValue;
@ -19033,6 +19224,7 @@ Error was thrown.
"Browser.setWindowBounds": Browser.setWindowBoundsReturnValue;
"Browser.setDockTile": Browser.setDockTileReturnValue;
"Browser.executeBrowserCommand": Browser.executeBrowserCommandReturnValue;
"Browser.addPrivacySandboxEnrollmentOverride": Browser.addPrivacySandboxEnrollmentOverrideReturnValue;
"CSS.addRule": CSS.addRuleReturnValue;
"CSS.collectClassNames": CSS.collectClassNamesReturnValue;
"CSS.createStyleSheet": CSS.createStyleSheetReturnValue;