Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(chromium): roll to r1217 (#39879)
Dmitry Gozmana7e92d159f8f
diff --git a/README.md b/README.mdindex 49d976fe79..afdc8b84b6 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@# 🎭 Playwright-[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop --> [](https://aka.ms/playwright/discord)+[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop --> [](https://aka.ms/playwright/discord)## [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<sup>1</sup> <!-- GEN:chromium-version -->146.0.7680.31<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |+| Chromium<sup>1</sup> <!-- GEN:chromium-version -->147.0.7727.15<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: || WebKit <!-- GEN:webkit-version -->26.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: || Firefox <!-- GEN:firefox-version -->148.0.2<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.jsonindex c9a5d297ac..d02cf2ac62 100644--- a/packages/playwright-core/browsers.json+++ b/packages/playwright-core/browsers.json@@ -3,16 +3,16 @@"browsers": [{"name": "chromium",- "revision": "1214",+ "revision": "1217","installByDefault": true,- "browserVersion": "146.0.7680.31",+ "browserVersion": "147.0.7727.15","title": "Chrome for Testing"},{"name": "chromium-headless-shell",- "revision": "1214",+ "revision": "1217","installByDefault": true,- "browserVersion": "146.0.7680.31",+ "browserVersion": "147.0.7727.15","title": "Chrome Headless Shell"},{diff --git a/packages/playwright-core/src/server/chromium/protocol.d.ts b/packages/playwright-core/src/server/chromium/protocol.d.tsindex c87f3556c2..91b88b2107 100644--- a/packages/playwright-core/src/server/chromium/protocol.d.ts+++ b/packages/playwright-core/src/server/chromium/protocol.d.ts@@ -741,6 +741,14 @@ may be used by the front-end as additional context.*/insight?: CookieIssueInsight;}+ export type PerformanceIssueType = "DocumentCookie";+ /**+ * Details for a performance issue.+ */+ export interface PerformanceIssueDetails {+ performanceIssueType: PerformanceIssueType;+ sourceCodeLocation?: SourceCodeLocation;+ }export type MixedContentResolutionStatus = "MixedContentBlocked"|"MixedContentAutomaticallyUpgraded"|"MixedContentWarning";export type MixedContentResourceType = "AttributionSrc"|"Audio"|"Beacon"|"CSPReport"|"Download"|"EventSource"|"Favicon"|"Font"|"Form"|"Frame"|"Image"|"Import"|"JSON"|"Manifest"|"Ping"|"PluginData"|"PluginResource"|"Prefetch"|"Resource"|"Script"|"ServiceWorker"|"SharedWorker"|"SpeculationRules"|"Stylesheet"|"Track"|"Video"|"Worker"|"XMLHttpRequest"|"XSLT";export interface MixedContentIssueDetails {@@ -837,15 +845,6 @@ transferred to a context that is not cross-origin isolated.isWarning: boolean;type: SharedArrayBufferIssueType;}- export interface LowTextContrastIssueDetails {- violatingNodeId: DOM.BackendNodeId;- violatingNodeSelector: string;- contrastRatio: number;- thresholdAA: number;- thresholdAAA: number;- fontSize: string;- fontWeight: string;- }/*** Details for a CORS related issue, e.g. a warning or error related toCORS RFC1918 enforcement.@@ -911,7 +910,7 @@ instead of "limited-quirks".error: ConnectionAllowlistError;request: AffectedRequest;}- export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo";+ export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo"|"FormModelContextParameterMissingTitleAndDescription";/*** Depending on the concrete errorType, different properties are set.*/@@ -970,7 +969,7 @@ Should be updated alongside RequestIdTokenStatus inthird_party/blink/public/mojom/devtools/inspector_issue.mojom to includeall cases except for success.*/- 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"|"UiDismissedNoEmbargo"|"CorsError"|"SuppressedBySegmentationPlatform";+ export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"IdpNotPotentiallyTrustworthy"|"DisabledInSettings"|"DisabledInFlags"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenIdpErrorResponse"|"IdTokenCrossSiteIdpErrorResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible"|"SilentMediationFailure"|"NotSignedInWithIdp"|"MissingTransientUserActivation"|"ReplacedByActiveMode"|"RelyingPartyOriginIsOpaque"|"TypeNotMatching"|"UiDismissedNoEmbargo"|"CorsError"|"SuppressedBySegmentationPlatform";export interface FederatedAuthUserInfoRequestIssueDetails {federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;}@@ -1108,12 +1107,66 @@ Used for messages that reference a specific permission name*/disableReason?: string;}+ /**+ * Metadata about the ad script that was on the stack that caused the current+script in the `AdAncestry` to be considered ad related.+ */+ export interface AdScriptIdentifier {+ /**+ * The script's v8 identifier.+ */+ scriptId: Runtime.ScriptId;+ /**+ * v8's debugging id for the v8::Context.+ */+ debuggerId: Runtime.UniqueDebuggerId;+ /**+ * The script's url (or generated name based on id if inline script).+ */+ name: string;+ }+ /**+ * Providence about how an ad script was determined to be such. It is an ad+because its url matched a filterlist rule, or because some other ad script+was on the stack when this script was loaded.+ */+ export interface AdAncestry {+ /**+ * The ad-script in the stack when the offending script was loaded. This is+recursive down to the root script that was tagged due to the filterlist+rule.+ */+ adAncestryChain: AdScriptIdentifier[];+ /**+ * The filterlist rule that caused the root (last) script in+`adAncestry` to be ad-tagged.+ */+ rootScriptFilterlistRule?: string;+ }+ /**+ * The issue warns about blocked calls to privacy sensitive APIs via the+Selective Permissions Intervention.+ */+ export interface SelectivePermissionsInterventionIssueDetails {+ /**+ * Which API was intervened on.+ */+ apiName: string;+ /**+ * Why the ad script using the API is considered an ad.+ */+ adAncestry: AdAncestry;+ /**+ * The stack trace at the time of the intervention.+ */+ stackTrace?: Runtime.StackTrace;+ }/*** A unique identifier for the type of issue. Each type may use one of theoptional fields in InspectorIssueDetails to convey more specificinformation about the kind of issue.*/- export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"ConnectionAllowlistIssue"|"UserReidentificationIssue"|"PermissionElementIssue";+ export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"ConnectionAllowlistIssue"|"UserReidentificationIssue"|"PermissionElementIssue"|"PerformanceIssue"|"SelectivePermissionsInterventionIssue";/*** This struct holds a list of optional fields with additional informationspecific to the kind of issue. When adding a new issue code, please also@@ -1126,7 +1179,6 @@ add a new optional field to this type.heavyAdIssueDetails?: HeavyAdIssueDetails;contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;- lowTextContrastIssueDetails?: LowTextContrastIssueDetails;corsIssueDetails?: CorsIssueDetails;attributionReportingIssueDetails?: AttributionReportingIssueDetails;quirksModeIssueDetails?: QuirksModeIssueDetails;@@ -1148,6 +1200,8 @@ add a new optional field to this type.connectionAllowlistIssueDetails?: ConnectionAllowlistIssueDetails;userReidentificationIssueDetails?: UserReidentificationIssueDetails;permissionElementIssueDetails?: PermissionElementIssueDetails;+ performanceIssueDetails?: PerformanceIssueDetails;+ selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;}/*** A unique id for a DevTools inspector issue. Allows other entities (e.g.@@ -1222,18 +1276,6 @@ applies to images.}export type enableReturnValue = {}- /**- * Runs the contrast check for the target page. Found issues are reported-using Audits.issueAdded event.- */- export type checkContrastParameters = {- /**- * Whether to report WCAG AAA level issues. Default is false.- */- reportAAA?: boolean;- }- export type checkContrastReturnValue = {- }/*** Runs the form issues check for the target page. Found issues are reportedusing Audits.issueAdded event.@@ -2571,12 +2613,17 @@ The array enumerates @scope at-rules starting with the innermost one, going outwThe array enumerates @starting-style at-rules starting with the innermost one, going outwards.*/startingStyles?: CSSStartingStyle[];+ /**+ * @navigation CSS at-rule array.+The array enumerates @navigation at-rules starting with the innermost one, going outwards.+ */+ navigations?: CSSNavigation[];}/*** Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.This list only contains rule types that are collected during the ancestor rule collection.*/- export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule"|"StartingStyleRule";+ export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule"|"StartingStyleRule"|"NavigationRule";/*** CSS coverage information.*/@@ -2843,6 +2890,28 @@ available).active: boolean;/*** The associated rule header range in the enclosing stylesheet (if+available).+ */+ range?: SourceRange;+ /**+ * Identifier of the stylesheet containing this object (if exists).+ */+ styleSheetId?: DOM.StyleSheetId;+ }+ /**+ * CSS Navigation at-rule descriptor.+ */+ export interface CSSNavigation {+ /**+ * Navigation rule text.+ */+ text: string;+ /**+ * Whether the navigation condition is satisfied.+ */+ active?: boolean;+ /**+ * The associated rule header range in the enclosing stylesheet (ifavailable).*/range?: SourceRange;@@ -3156,6 +3225,10 @@ stylesheet rules) this rule came from.* @supports CSS at-rule condition. Only one type of condition should be set.*/supports?: CSSSupports;+ /**+ * @navigation condition. Only one type of condition should be set.+ */+ navigation?: CSSNavigation;/*** Block body.*/@@ -3777,6 +3850,20 @@ property*/supports: CSSSupports;}+ /**+ * Modifies the expression of a navigation at-rule.+ */+ export type setNavigationTextParameters = {+ styleSheetId: DOM.StyleSheetId;+ range: SourceRange;+ text: string;+ }+ export type setNavigationTextReturnValue = {+ /**+ * The resulting CSS Navigation rule after modification.+ */+ navigation: CSSNavigation;+ }/*** Modifies the expression of a scope at-rule.*/@@ -4347,6 +4434,7 @@ The property is always undefined now.isScrollable?: boolean;affectedByStartingStyles?: boolean;adoptedStyleSheets?: StyleSheetId[];+ isAdRelated?: boolean;}/*** A structure to hold the top-level node of a detached tree and an array of its retained descendants.@@ -4617,6 +4705,19 @@ The property is always undefined now.*/isScrollable: boolean;}+ /**+ * Fired when a node's ad related state changes.+ */+ export type adRelatedStateUpdatedPayload = {+ /**+ * The id of the node.+ */+ nodeId: DOM.NodeId;+ /**+ * If the node is ad related.+ */+ isAdRelated: boolean;+ }/*** Fired when a node's starting styles changes.*/@@ -6788,12 +6889,27 @@ see https://w3c.github.io/window-management/#screendetailed./*** Enum of image types that can be disabled.*/- export type DisabledImageType = "avif"|"webp";+ export type DisabledImageType = "avif"|"jxl"|"webp";/*** Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.*/export type virtualTimeBudgetExpiredPayload = void;+ /**+ * Fired when a page calls screen.orientation.lock() or screen.orientation.unlock()+while device emulation is enabled. This allows the DevTools frontend to update the+emulated device orientation accordingly.+ */+ export type screenOrientationLockChangedPayload = {+ /**+ * Whether the screen orientation is currently locked.+ */+ locked: boolean;+ /**+ * The orientation lock type requested by the page. Only set when locked is true.+ */+ orientation?: ScreenOrientation;+ }/*** Tells whether emulation is supported.@@ -6951,6 +7067,18 @@ to continuous.Deprecated, use Emulation.setDevicePostureOverride.*/devicePosture?: DevicePosture;+ /**+ * Scrollbar type. Default: `default`.+ */+ scrollbarType?: "overlay"|"default";+ /**+ * If set to true, enables screen orientation lock emulation, which+intercepts screen.orientation.lock() calls from the page and reports+orientation changes via screenOrientationLockChanged events. This is+useful for emulating mobile device orientation lock behavior in+responsive design mode.+ */+ screenOrientationLockEmulation?: boolean;}export type setDeviceMetricsOverrideReturnValue = {}@@ -7373,7 +7501,8 @@ of size 100lvh.export type setSmallViewportHeightDifferenceOverrideReturnValue = {}/**- * Returns device's screen configuration.+ * Returns device's screen configuration. In headful mode, the physical screens configuration is returned,+whereas in headless mode, a virtual headless screen configuration is provided instead.*/export type getScreenInfosParameters = {}@@ -7428,6 +7557,58 @@ of size 100lvh.export type addScreenReturnValue = {screenInfo: ScreenInfo;}+ /**+ * Updates specified screen parameters. Only supported in headless mode.+ */+ export type updateScreenParameters = {+ /**+ * Target screen identifier.+ */+ screenId: ScreenId;+ /**+ * Offset of the left edge of the screen in pixels.+ */+ left?: number;+ /**+ * Offset of the top edge of the screen in pixels.+ */+ top?: number;+ /**+ * The width of the screen in pixels.+ */+ width?: number;+ /**+ * The height of the screen in pixels.+ */+ height?: number;+ /**+ * Specifies the screen's work area.+ */+ workAreaInsets?: WorkAreaInsets;+ /**+ * Specifies the screen's device pixel ratio.+ */+ devicePixelRatio?: number;+ /**+ * Specifies the screen's rotation angle. Available values are 0, 90, 180 and 270.+ */+ rotation?: number;+ /**+ * Specifies the screen's color depth in bits.+ */+ colorDepth?: number;+ /**+ * Specifies the descriptive label for the screen.+ */+ label?: string;+ /**+ * Indicates whether the screen is internal to the device or external, attached to the device. Default is false.+ */+ isInternal?: boolean;+ }+ export type updateScreenReturnValue = {+ screenInfo: ScreenInfo;+ }/*** Remove screen from the device. Only supported in headless mode.*/@@ -7436,6 +7617,17 @@ of size 100lvh.}export type removeScreenReturnValue = {}+ /**+ * Set primary screen. Only supported in headless mode.+Note that this changes the coordinate system origin to the top-left+of the new primary screen, updating the bounds and work areas+of all existing screens accordingly.+ */+ export type setPrimaryScreenParameters = {+ screenId: ScreenId;+ }+ export type setPrimaryScreenReturnValue = {+ }}/**@@ -7485,6 +7677,31 @@ reported through Debugger domain, similarly to regular breakpoints being hit.* Storage areas.*/export type StorageArea = "session"|"local"|"sync"|"managed";+ /**+ * Detailed information about an extension.+ */+ export interface ExtensionInfo {+ /**+ * Extension id.+ */+ id: string;+ /**+ * Extension name.+ */+ name: string;+ /**+ * Extension version.+ */+ version: string;+ /**+ * The path from which the extension was loaded.+ */+ path: string;+ /**+ * Extension enabled status.+ */+ enabled: boolean;+ }/**@@ -7527,6 +7744,16 @@ flag is set.*/id: string;}+ /**+ * Gets a list of all unpacked extensions.+Available if the client is connected using the --remote-debugging-pipe flag+and the --enable-unsafe-extension-debugging flag is set.+ */+ export type getExtensionsParameters = {+ }+ export type getExtensionsReturnValue = {+ extensions: ExtensionInfo[];+ }/*** Uninstalls an unpacked extension (others not supported) from the profile.Available if the client is connected using the --remote-debugging-pipe flag@@ -10114,7 +10341,7 @@ milliseconds relatively to this requestTime.*/export type ResourcePriority = "VeryLow"|"Low"|"Medium"|"High"|"VeryHigh";/**- * The render blocking behavior of a resource request.+ * The render-blocking behavior of a resource request.*/export type RenderBlockingBehavior = "Blocking"|"InBodyParserBlocking"|"NonBlocking"|"NonBlockingDynamic"|"PotentiallyBlocking";/**@@ -11305,6 +11532,29 @@ details; this boolean is true if that value is populated.* A fetch result for a device bound session creation or refresh.*/export type DeviceBoundSessionFetchResult = "Success"|"KeyError"|"SigningError"|"ServerRequestedTermination"|"InvalidSessionId"|"InvalidChallenge"|"TooManyChallenges"|"InvalidFetcherUrl"|"InvalidRefreshUrl"|"TransientHttpError"|"ScopeOriginSameSiteMismatch"|"RefreshUrlSameSiteMismatch"|"MismatchedSessionId"|"MissingScope"|"NoCredentials"|"SubdomainRegistrationWellKnownUnavailable"|"SubdomainRegistrationUnauthorized"|"SubdomainRegistrationWellKnownMalformed"|"SessionProviderWellKnownUnavailable"|"RelyingPartyWellKnownUnavailable"|"FederatedKeyThumbprintMismatch"|"InvalidFederatedSessionUrl"|"InvalidFederatedKey"|"TooManyRelyingOriginLabels"|"BoundCookieSetForbidden"|"NetError"|"ProxyError"|"EmptySessionConfig"|"InvalidCredentialsConfig"|"InvalidCredentialsType"|"InvalidCredentialsEmptyName"|"InvalidCredentialsCookie"|"PersistentHttpError"|"RegistrationAttemptedChallenge"|"InvalidScopeOrigin"|"ScopeOriginContainsPath"|"RefreshInitiatorNotString"|"RefreshInitiatorInvalidHostPattern"|"InvalidScopeSpecification"|"MissingScopeSpecificationType"|"EmptyScopeSpecificationDomain"|"EmptyScopeSpecificationPath"|"InvalidScopeSpecificationType"|"InvalidScopeIncludeSite"|"MissingScopeIncludeSite"|"FederatedNotAuthorizedByProvider"|"FederatedNotAuthorizedByRelyingParty"|"SessionProviderWellKnownMalformed"|"SessionProviderWellKnownHasProviderOrigin"|"RelyingPartyWellKnownMalformed"|"RelyingPartyWellKnownHasRelyingOrigins"|"InvalidFederatedSessionProviderSessionMissing"|"InvalidFederatedSessionWrongProviderOrigin"|"InvalidCredentialsCookieCreationTime"|"InvalidCredentialsCookieName"|"InvalidCredentialsCookieParsing"|"InvalidCredentialsCookieUnpermittedAttribute"|"InvalidCredentialsCookieInvalidDomain"|"InvalidCredentialsCookiePrefix"|"InvalidScopeRulePath"|"InvalidScopeRuleHostPattern"|"ScopeRuleOriginScopedHostPatternMismatch"|"ScopeRuleSiteScopedHostPatternMismatch"|"SigningQuotaExceeded"|"InvalidConfigJson"|"InvalidFederatedSessionProviderFailedToRestoreKey"|"FailedToUnwrapKey"|"SessionDeletedDuringRefresh";+ /**+ * Details about a failed device bound session network request.+ */+ export interface DeviceBoundSessionFailedRequest {+ /**+ * The failed request URL.+ */+ requestUrl: string;+ /**+ * The net error of the response if it was not OK.+ */+ netError?: string;+ /**+ * The response code if the net error was OK and the response code was not+200.+ */+ responseError?: number;+ /**+ * The body of the response if the net error was OK, the response code was+not 200, and the response body was not empty.+ */+ responseErrorBody?: string;+ }/*** Session event details specific to creation.*/@@ -11318,6 +11568,11 @@ details; this boolean is true if that value is populated.all successful creation events.*/newSession?: DeviceBoundSession;+ /**+ * Details about a failed device bound session network request if there was+one.+ */+ failedRequest?: DeviceBoundSessionFailedRequest;}/*** Session event details specific to refresh.@@ -11340,6 +11595,11 @@ for any refresh event that modifies the session config.* See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.*/wasFullyProactiveRefresh: boolean;+ /**+ * Details about a failed device bound session network request if there was+one.+ */+ failedRequest?: DeviceBoundSessionFailedRequest;}/*** Session event details specific to termination.@@ -11616,7 +11876,7 @@ for the request which was just redirected.*/hasUserGesture?: boolean;/**- * The render blocking behavior of the request.+ * The render-blocking behavior of the request.*/renderBlockingBehavior?: RenderBlockingBehavior;}@@ -12424,6 +12684,8 @@ requests affected by a rule.export type enableParameters = {/*** Buffer size in bytes to use when preserving network payloads (XHRs, etc).+This is the maximum number of bytes that will be collected by this+DevTools session.*/maxTotalBufferSize?: number;/**@@ -14601,7 +14863,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl/*** List of not restored reasons for back-forward cache.*/- export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"SharedWorkerWithNoActiveClient"|"WebLocks"|"WebLocksContention"|"WebHID"|"WebBluetooth"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";+ 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"|"ForwardCacheDisabled"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"SharedWorkerWithNoActiveClient"|"WebLocks"|"WebLocksContention"|"WebHID"|"WebBluetooth"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";/*** Types of not restored reasons for back-forward cache.*/@@ -19874,6 +20136,83 @@ https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties}}+ export namespace WebMCP {+ /**+ * Tool annotations+ */+ export interface Annotation {+ /**+ * A hint indicating that the tool does not modify any state.+ */+ readOnly?: boolean;+ /**+ * If the declarative tool was declared with the autosubmit attribute.+ */+ autosubmit?: boolean;+ }+ /**+ * Definition of a tool that can be invoked.+ */+ export interface Tool {+ /**+ * Tool name.+ */+ name: string;+ /**+ * Tool description.+ */+ description: string;+ /**+ * Schema for the tool's input parameters.+ */+ inputSchema?: { [key: string]: string };+ /**+ * Optional annotations for the tool.+ */+ annotations?: Annotation;+ /**+ * Frame identifier associated with the tool registration.+ */+ frameId: Page.FrameId;+ /**+ * Optional node ID for declarative tools.+ */+ backendNodeId?: DOM.BackendNodeId;+ /**+ * The stack trace at the time of the registration.+ */+ stackTrace?: Runtime.StackTrace;+ }++ /**+ * Event fired when new tools are added.+ */+ export type toolsAddedPayload = {+ /**+ * Array of tools that were added.+ */+ tools: Tool[];+ }+ /**+ * Event fired when tools are removed.+ */+ export type toolsRemovedPayload = {+ /**+ * Array of tools that were removed.+ */+ tools: Tool[];+ }++ /**+ * Enables the WebMCP domain, allowing events to be sent. Enabling the domain will trigger a toolsAdded event for+all currently registered tools.+ */+ export type enableParameters = {+ }+ export type enableReturnValue = {+ }+ }+/*** This domain is deprecated - use Runtime or Log instead.*/@@ -22597,6 +22936,7 @@ Error was thrown."DOM.pseudoElementAdded": DOM.pseudoElementAddedPayload;"DOM.topLayerElementsUpdated": DOM.topLayerElementsUpdatedPayload;"DOM.scrollableFlagUpdated": DOM.scrollableFlagUpdatedPayload;+ "DOM.adRelatedStateUpdated": DOM.adRelatedStateUpdatedPayload;"DOM.affectedByStartingStylesFlagUpdated": DOM.affectedByStartingStylesFlagUpdatedPayload;"DOM.pseudoElementRemoved": DOM.pseudoElementRemovedPayload;"DOM.setChildNodes": DOM.setChildNodesPayload;@@ -22608,6 +22948,7 @@ Error was thrown."DOMStorage.domStorageItemsCleared": DOMStorage.domStorageItemsClearedPayload;"DeviceAccess.deviceRequestPrompted": DeviceAccess.deviceRequestPromptedPayload;"Emulation.virtualTimeBudgetExpired": Emulation.virtualTimeBudgetExpiredPayload;+ "Emulation.screenOrientationLockChanged": Emulation.screenOrientationLockChangedPayload;"FedCm.dialogShown": FedCm.dialogShownPayload;"FedCm.dialogClosed": FedCm.dialogClosedPayload;"Fetch.requestPaused": Fetch.requestPausedPayload;@@ -22774,6 +23115,8 @@ Error was thrown."WebAuthn.credentialDeleted": WebAuthn.credentialDeletedPayload;"WebAuthn.credentialUpdated": WebAuthn.credentialUpdatedPayload;"WebAuthn.credentialAsserted": WebAuthn.credentialAssertedPayload;+ "WebMCP.toolsAdded": WebMCP.toolsAddedPayload;+ "WebMCP.toolsRemoved": WebMCP.toolsRemovedPayload;"Console.messageAdded": Console.messageAddedPayload;"Debugger.breakpointResolved": Debugger.breakpointResolvedPayload;"Debugger.paused": Debugger.pausedPayload;@@ -22834,6 +23177,7 @@ Error was thrown.["DOM.pseudoElementAdded"]: [DOM.pseudoElementAddedPayload];["DOM.topLayerElementsUpdated"]: [DOM.topLayerElementsUpdatedPayload];["DOM.scrollableFlagUpdated"]: [DOM.scrollableFlagUpdatedPayload];+ ["DOM.adRelatedStateUpdated"]: [DOM.adRelatedStateUpdatedPayload];["DOM.affectedByStartingStylesFlagUpdated"]: [DOM.affectedByStartingStylesFlagUpdatedPayload];["DOM.pseudoElementRemoved"]: [DOM.pseudoElementRemovedPayload];["DOM.setChildNodes"]: [DOM.setChildNodesPayload];@@ -22845,6 +23189,7 @@ Error was thrown.["DOMStorage.domStorageItemsCleared"]: [DOMStorage.domStorageItemsClearedPayload];["DeviceAccess.deviceRequestPrompted"]: [DeviceAccess.deviceRequestPromptedPayload];["Emulation.virtualTimeBudgetExpired"]: [Emulation.virtualTimeBudgetExpiredPayload];+ ["Emulation.screenOrientationLockChanged"]: [Emulation.screenOrientationLockChangedPayload];["FedCm.dialogShown"]: [FedCm.dialogShownPayload];["FedCm.dialogClosed"]: [FedCm.dialogClosedPayload];["Fetch.requestPaused"]: [Fetch.requestPausedPayload];@@ -23011,6 +23356,8 @@ Error was thrown.["WebAuthn.credentialDeleted"]: [WebAuthn.credentialDeletedPayload];["WebAuthn.credentialUpdated"]: [WebAuthn.credentialUpdatedPayload];["WebAuthn.credentialAsserted"]: [WebAuthn.credentialAssertedPayload];+ ["WebMCP.toolsAdded"]: [WebMCP.toolsAddedPayload];+ ["WebMCP.toolsRemoved"]: [WebMCP.toolsRemovedPayload];["Console.messageAdded"]: [Console.messageAddedPayload];["Debugger.breakpointResolved"]: [Debugger.breakpointResolvedPayload];["Debugger.paused"]: [Debugger.pausedPayload];@@ -23056,7 +23403,6 @@ Error was thrown."Audits.getEncodedResponse": Audits.getEncodedResponseParameters;"Audits.disable": Audits.disableParameters;"Audits.enable": Audits.enableParameters;- "Audits.checkContrast": Audits.checkContrastParameters;"Audits.checkFormsIssues": Audits.checkFormsIssuesParameters;"Autofill.trigger": Autofill.triggerParameters;"Autofill.setAddresses": Autofill.setAddressesParameters;@@ -23130,6 +23476,7 @@ Error was thrown."CSS.setMediaText": CSS.setMediaTextParameters;"CSS.setContainerQueryText": CSS.setContainerQueryTextParameters;"CSS.setSupportsText": CSS.setSupportsTextParameters;+ "CSS.setNavigationText": CSS.setNavigationTextParameters;"CSS.setScopeText": CSS.setScopeTextParameters;"CSS.setRuleSelector": CSS.setRuleSelectorParameters;"CSS.setStyleSheetText": CSS.setStyleSheetTextParameters;@@ -23273,12 +23620,15 @@ Error was thrown."Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideParameters;"Emulation.getScreenInfos": Emulation.getScreenInfosParameters;"Emulation.addScreen": Emulation.addScreenParameters;+ "Emulation.updateScreen": Emulation.updateScreenParameters;"Emulation.removeScreen": Emulation.removeScreenParameters;+ "Emulation.setPrimaryScreen": Emulation.setPrimaryScreenParameters;"EventBreakpoints.setInstrumentationBreakpoint": EventBreakpoints.setInstrumentationBreakpointParameters;"EventBreakpoints.removeInstrumentationBreakpoint": EventBreakpoints.removeInstrumentationBreakpointParameters;"EventBreakpoints.disable": EventBreakpoints.disableParameters;"Extensions.triggerAction": Extensions.triggerActionParameters;"Extensions.loadUnpacked": Extensions.loadUnpackedParameters;+ "Extensions.getExtensions": Extensions.getExtensionsParameters;"Extensions.uninstall": Extensions.uninstallParameters;"Extensions.getStorageItems": Extensions.getStorageItemsParameters;"Extensions.removeStorageItems": Extensions.removeStorageItemsParameters;@@ -23616,6 +23966,7 @@ Error was thrown."WebAuthn.setUserVerified": WebAuthn.setUserVerifiedParameters;"WebAuthn.setAutomaticPresenceSimulation": WebAuthn.setAutomaticPresenceSimulationParameters;"WebAuthn.setCredentialProperties": WebAuthn.setCredentialPropertiesParameters;+ "WebMCP.enable": WebMCP.enableParameters;"Console.clearMessages": Console.clearMessagesParameters;"Console.disable": Console.disableParameters;"Console.enable": Console.enableParameters;@@ -23720,7 +24071,6 @@ Error was thrown."Audits.getEncodedResponse": Audits.getEncodedResponseReturnValue;"Audits.disable": Audits.disableReturnValue;"Audits.enable": Audits.enableReturnValue;- "Audits.checkContrast": Audits.checkContrastReturnValue;"Audits.checkFormsIssues": Audits.checkFormsIssuesReturnValue;"Autofill.trigger": Autofill.triggerReturnValue;"Autofill.setAddresses": Autofill.setAddressesReturnValue;@@ -23794,6 +24144,7 @@ Error was thrown."CSS.setMediaText": CSS.setMediaTextReturnValue;"CSS.setContainerQueryText": CSS.setContainerQueryTextReturnValue;"CSS.setSupportsText": CSS.setSupportsTextReturnValue;+ "CSS.setNavigationText": CSS.setNavigationTextReturnValue;"CSS.setScopeText": CSS.setScopeTextReturnValue;"CSS.setRuleSelector": CSS.setRuleSelectorReturnValue;"CSS.setStyleSheetText": CSS.setStyleSheetTextReturnValue;@@ -23937,12 +24288,15 @@ Error was thrown."Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideReturnValue;"Emulation.getScreenInfos": Emulation.getScreenInfosReturnValue;"Emulation.addScreen": Emulation.addScreenReturnValue;+ "Emulation.updateScreen": Emulation.updateScreenReturnValue;"Emulation.removeScreen": Emulation.removeScreenReturnValue;+ "Emulation.setPrimaryScreen": Emulation.setPrimaryScreenReturnValue;"EventBreakpoints.setInstrumentationBreakpoint": EventBreakpoints.setInstrumentationBreakpointReturnValue;"EventBreakpoints.removeInstrumentationBreakpoint": EventBreakpoints.removeInstrumentationBreakpointReturnValue;"EventBreakpoints.disable": EventBreakpoints.disableReturnValue;"Extensions.triggerAction": Extensions.triggerActionReturnValue;"Extensions.loadUnpacked": Extensions.loadUnpackedReturnValue;+ "Extensions.getExtensions": Extensions.getExtensionsReturnValue;"Extensions.uninstall": Extensions.uninstallReturnValue;"Extensions.getStorageItems": Extensions.getStorageItemsReturnValue;"Extensions.removeStorageItems": Extensions.removeStorageItemsReturnValue;@@ -24280,6 +24634,7 @@ Error was thrown."WebAuthn.setUserVerified": WebAuthn.setUserVerifiedReturnValue;"WebAuthn.setAutomaticPresenceSimulation": WebAuthn.setAutomaticPresenceSimulationReturnValue;"WebAuthn.setCredentialProperties": WebAuthn.setCredentialPropertiesReturnValue;+ "WebMCP.enable": WebMCP.enableReturnValue;"Console.clearMessages": Console.clearMessagesReturnValue;"Console.disable": Console.disableReturnValue;"Console.enable": Console.enableReturnValue;diff --git a/packages/playwright-core/src/server/deviceDescriptorsSource.json b/packages/playwright-core/src/server/deviceDescriptorsSource.jsonindex 40d5612233..df2b70b1b2 100644--- a/packages/playwright-core/src/server/deviceDescriptorsSource.json+++ b/packages/playwright-core/src/server/deviceDescriptorsSource.json@@ -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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 658,"height": 320@@ -176,7 +176,7 @@"defaultBrowserType": "chromium"},"Galaxy S24": {- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-S921U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-S921U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 360,"height": 780@@ -187,7 +187,7 @@"defaultBrowserType": "chromium"},"Galaxy S24 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-S921U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-S921U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 780,"height": 360@@ -198,7 +198,7 @@"defaultBrowserType": "chromium"},"Galaxy A55": {- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 480,"height": 1040@@ -209,7 +209,7 @@"defaultBrowserType": "chromium"},"Galaxy A55 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-A556B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 1040,"height": 480@@ -220,7 +220,7 @@"defaultBrowserType": "chromium"},"Galaxy Tab S4": {- "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","viewport": {"width": 712,"height": 1138@@ -231,7 +231,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/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","viewport": {"width": 1138,"height": 712@@ -242,7 +242,7 @@"defaultBrowserType": "chromium"},"Galaxy Tab S9": {- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-X710) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-X710) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","viewport": {"width": 640,"height": 1024@@ -253,7 +253,7 @@"defaultBrowserType": "chromium"},"Galaxy Tab S9 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-X710) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 14; SM-X710) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","viewport": {"width": 1024,"height": 640@@ -1208,7 +1208,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 384,"height": 640@@ -1219,7 +1219,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 640,"height": 384@@ -1230,7 +1230,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36 Edge/14.14263","viewport": {"width": 360,"height": 640@@ -1241,7 +1241,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36 Edge/14.14263","viewport": {"width": 640,"height": 360@@ -1252,7 +1252,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36 Edge/14.14263","viewport": {"width": 360,"height": 640@@ -1263,7 +1263,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36 Edge/14.14263","viewport": {"width": 640,"height": 360@@ -1274,7 +1274,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/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","viewport": {"width": 800,"height": 1280@@ -1285,7 +1285,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/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","viewport": {"width": 1280,"height": 800@@ -1296,7 +1296,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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 384,"height": 640@@ -1307,7 +1307,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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 640,"height": 384@@ -1318,7 +1318,7 @@"defaultBrowserType": "chromium"},"Nexus 5": {- "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 360,"height": 640@@ -1329,7 +1329,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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 640,"height": 360@@ -1340,7 +1340,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 412,"height": 732@@ -1351,7 +1351,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 732,"height": 412@@ -1362,7 +1362,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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 412,"height": 732@@ -1373,7 +1373,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/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 732,"height": 412@@ -1384,7 +1384,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 412,"height": 732@@ -1395,7 +1395,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 732,"height": 412@@ -1406,7 +1406,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/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","viewport": {"width": 600,"height": 960@@ -1417,7 +1417,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/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","viewport": {"width": 960,"height": 600@@ -1472,7 +1472,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 411,"height": 731@@ -1483,7 +1483,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 731,"height": 411@@ -1494,7 +1494,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 411,"height": 823@@ -1505,7 +1505,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 823,"height": 411@@ -1516,7 +1516,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 393,"height": 786@@ -1527,7 +1527,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/146.0.7680.31 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/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 786,"height": 393@@ -1538,7 +1538,7 @@"defaultBrowserType": "chromium"},"Pixel 4": {- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 353,"height": 745@@ -1549,7 +1549,7 @@"defaultBrowserType": "chromium"},"Pixel 4 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 745,"height": 353@@ -1560,7 +1560,7 @@"defaultBrowserType": "chromium"},"Pixel 4a (5G)": {- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","screen": {"width": 412,"height": 892@@ -1575,7 +1575,7 @@"defaultBrowserType": "chromium"},"Pixel 4a (5G) landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","screen": {"height": 892,"width": 412@@ -1590,7 +1590,7 @@"defaultBrowserType": "chromium"},"Pixel 5": {- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","screen": {"width": 393,"height": 851@@ -1605,7 +1605,7 @@"defaultBrowserType": "chromium"},"Pixel 5 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","screen": {"width": 851,"height": 393@@ -1620,7 +1620,7 @@"defaultBrowserType": "chromium"},"Pixel 7": {- "userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","screen": {"width": 412,"height": 915@@ -1635,7 +1635,7 @@"defaultBrowserType": "chromium"},"Pixel 7 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","screen": {"width": 915,"height": 412@@ -1650,7 +1650,7 @@"defaultBrowserType": "chromium"},"Moto G4": {- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 360,"height": 640@@ -1661,7 +1661,7 @@"defaultBrowserType": "chromium"},"Moto G4 landscape": {- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Mobile Safari/537.36",+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Mobile Safari/537.36","viewport": {"width": 640,"height": 360@@ -1672,7 +1672,7 @@"defaultBrowserType": "chromium"},"Desktop Chrome HiDPI": {- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","screen": {"width": 1792,"height": 1120@@ -1687,7 +1687,7 @@"defaultBrowserType": "chromium"},"Desktop Edge HiDPI": {- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Safari/537.36 Edg/146.0.7680.31",+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36 Edg/147.0.7727.15","screen": {"width": 1792,"height": 1120@@ -1732,7 +1732,7 @@"defaultBrowserType": "webkit"},"Desktop Chrome": {- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Safari/537.36",+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36","screen": {"width": 1920,"height": 1080@@ -1747,7 +1747,7 @@"defaultBrowserType": "chromium"},"Desktop Edge": {- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.7680.31 Safari/537.36 Edg/146.0.7680.31",+ "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.15 Safari/537.36 Edg/147.0.7727.15","screen": {"width": 1920,"height": 1080diff --git a/packages/playwright-core/types/protocol.d.ts b/packages/playwright-core/types/protocol.d.tsindex c87f3556c2..91b88b2107 100644--- a/packages/playwright-core/types/protocol.d.ts+++ b/packages/playwright-core/types/protocol.d.ts@@ -741,6 +741,14 @@ may be used by the front-end as additional context.*/insight?: CookieIssueInsight;}+ export type PerformanceIssueType = "DocumentCookie";+ /**+ * Details for a performance issue.+ */+ export interface PerformanceIssueDetails {+ performanceIssueType: PerformanceIssueType;+ sourceCodeLocation?: SourceCodeLocation;+ }export type MixedContentResolutionStatus = "MixedContentBlocked"|"MixedContentAutomaticallyUpgraded"|"MixedContentWarning";export type MixedContentResourceType = "AttributionSrc"|"Audio"|"Beacon"|"CSPReport"|"Download"|"EventSource"|"Favicon"|"Font"|"Form"|"Frame"|"Image"|"Import"|"JSON"|"Manifest"|"Ping"|"PluginData"|"PluginResource"|"Prefetch"|"Resource"|"Script"|"ServiceWorker"|"SharedWorker"|"SpeculationRules"|"Stylesheet"|"Track"|"Video"|"Worker"|"XMLHttpRequest"|"XSLT";export interface MixedContentIssueDetails {@@ -837,15 +845,6 @@ transferred to a context that is not cross-origin isolated.isWarning: boolean;type: SharedArrayBufferIssueType;}- export interface LowTextContrastIssueDetails {- violatingNodeId: DOM.BackendNodeId;- violatingNodeSelector: string;- contrastRatio: number;- thresholdAA: number;- thresholdAAA: number;- fontSize: string;- fontWeight: string;- }/*** Details for a CORS related issue, e.g. a warning or error related toCORS RFC1918 enforcement.@@ -911,7 +910,7 @@ instead of "limited-quirks".error: ConnectionAllowlistError;request: AffectedRequest;}- export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo";+ export type GenericIssueErrorType = "FormLabelForNameError"|"FormDuplicateIdForInputError"|"FormInputWithNoLabelError"|"FormAutocompleteAttributeEmptyError"|"FormEmptyIdAndNameAttributesForInputError"|"FormAriaLabelledByToNonExistingIdError"|"FormInputAssignedAutocompleteValueToIdOrNameAttributeError"|"FormLabelHasNeitherForNorNestedInputError"|"FormLabelForMatchesNonExistingIdError"|"FormInputHasWrongButWellIntendedAutocompleteValueError"|"ResponseWasBlockedByORB"|"NavigationEntryMarkedSkippable"|"AutofillAndManualTextPolicyControlledFeaturesInfo"|"AutofillPolicyControlledFeatureInfo"|"ManualTextPolicyControlledFeatureInfo"|"FormModelContextParameterMissingTitleAndDescription";/*** Depending on the concrete errorType, different properties are set.*/@@ -970,7 +969,7 @@ Should be updated alongside RequestIdTokenStatus inthird_party/blink/public/mojom/devtools/inspector_issue.mojom to includeall cases except for success.*/- 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"|"UiDismissedNoEmbargo"|"CorsError"|"SuppressedBySegmentationPlatform";+ export type FederatedAuthRequestIssueReason = "ShouldEmbargo"|"TooManyRequests"|"WellKnownHttpNotFound"|"WellKnownNoResponse"|"WellKnownInvalidResponse"|"WellKnownListEmpty"|"WellKnownInvalidContentType"|"ConfigNotInWellKnown"|"WellKnownTooBig"|"ConfigHttpNotFound"|"ConfigNoResponse"|"ConfigInvalidResponse"|"ConfigInvalidContentType"|"IdpNotPotentiallyTrustworthy"|"DisabledInSettings"|"DisabledInFlags"|"ErrorFetchingSignin"|"InvalidSigninResponse"|"AccountsHttpNotFound"|"AccountsNoResponse"|"AccountsInvalidResponse"|"AccountsListEmpty"|"AccountsInvalidContentType"|"IdTokenHttpNotFound"|"IdTokenNoResponse"|"IdTokenInvalidResponse"|"IdTokenIdpErrorResponse"|"IdTokenCrossSiteIdpErrorResponse"|"IdTokenInvalidRequest"|"IdTokenInvalidContentType"|"ErrorIdToken"|"Canceled"|"RpPageNotVisible"|"SilentMediationFailure"|"NotSignedInWithIdp"|"MissingTransientUserActivation"|"ReplacedByActiveMode"|"RelyingPartyOriginIsOpaque"|"TypeNotMatching"|"UiDismissedNoEmbargo"|"CorsError"|"SuppressedBySegmentationPlatform";export interface FederatedAuthUserInfoRequestIssueDetails {federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;}@@ -1108,12 +1107,66 @@ Used for messages that reference a specific permission name*/disableReason?: string;}+ /**+ * Metadata about the ad script that was on the stack that caused the current+script in the `AdAncestry` to be considered ad related.+ */+ export interface AdScriptIdentifier {+ /**+ * The script's v8 identifier.+ */+ scriptId: Runtime.ScriptId;+ /**+ * v8's debugging id for the v8::Context.+ */+ debuggerId: Runtime.UniqueDebuggerId;+ /**+ * The script's url (or generated name based on id if inline script).+ */+ name: string;+ }+ /**+ * Providence about how an ad script was determined to be such. It is an ad+because its url matched a filterlist rule, or because some other ad script+was on the stack when this script was loaded.+ */+ export interface AdAncestry {+ /**+ * The ad-script in the stack when the offending script was loaded. This is+recursive down to the root script that was tagged due to the filterlist+rule.+ */+ adAncestryChain: AdScriptIdentifier[];+ /**+ * The filterlist rule that caused the root (last) script in+`adAncestry` to be ad-tagged.+ */+ rootScriptFilterlistRule?: string;+ }+ /**+ * The issue warns about blocked calls to privacy sensitive APIs via the+Selective Permissions Intervention.+ */+ export interface SelectivePermissionsInterventionIssueDetails {+ /**+ * Which API was intervened on.+ */+ apiName: string;+ /**+ * Why the ad script using the API is considered an ad.+ */+ adAncestry: AdAncestry;+ /**+ * The stack trace at the time of the intervention.+ */+ stackTrace?: Runtime.StackTrace;+ }/*** A unique identifier for the type of issue. Each type may use one of theoptional fields in InspectorIssueDetails to convey more specificinformation about the kind of issue.*/- export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"ConnectionAllowlistIssue"|"UserReidentificationIssue"|"PermissionElementIssue";+ export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"PartitioningBlobURLIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"ElementAccessibilityIssue"|"SRIMessageSignatureIssue"|"UnencodedDigestIssue"|"ConnectionAllowlistIssue"|"UserReidentificationIssue"|"PermissionElementIssue"|"PerformanceIssue"|"SelectivePermissionsInterventionIssue";/*** This struct holds a list of optional fields with additional informationspecific to the kind of issue. When adding a new issue code, please also@@ -1126,7 +1179,6 @@ add a new optional field to this type.heavyAdIssueDetails?: HeavyAdIssueDetails;contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;- lowTextContrastIssueDetails?: LowTextContrastIssueDetails;corsIssueDetails?: CorsIssueDetails;attributionReportingIssueDetails?: AttributionReportingIssueDetails;quirksModeIssueDetails?: QuirksModeIssueDetails;@@ -1148,6 +1200,8 @@ add a new optional field to this type.connectionAllowlistIssueDetails?: ConnectionAllowlistIssueDetails;userReidentificationIssueDetails?: UserReidentificationIssueDetails;permissionElementIssueDetails?: PermissionElementIssueDetails;+ performanceIssueDetails?: PerformanceIssueDetails;+ selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;}/*** A unique id for a DevTools inspector issue. Allows other entities (e.g.@@ -1222,18 +1276,6 @@ applies to images.}export type enableReturnValue = {}- /**- * Runs the contrast check for the target page. Found issues are reported-using Audits.issueAdded event.- */- export type checkContrastParameters = {- /**- * Whether to report WCAG AAA level issues. Default is false.- */- reportAAA?: boolean;- }- export type checkContrastReturnValue = {- }/*** Runs the form issues check for the target page. Found issues are reportedusing Audits.issueAdded event.@@ -2571,12 +2613,17 @@ The array enumerates @scope at-rules starting with the innermost one, going outwThe array enumerates @starting-style at-rules starting with the innermost one, going outwards.*/startingStyles?: CSSStartingStyle[];+ /**+ * @navigation CSS at-rule array.+The array enumerates @navigation at-rules starting with the innermost one, going outwards.+ */+ navigations?: CSSNavigation[];}/*** Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.This list only contains rule types that are collected during the ancestor rule collection.*/- export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule"|"StartingStyleRule";+ export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule"|"StartingStyleRule"|"NavigationRule";/*** CSS coverage information.*/@@ -2843,6 +2890,28 @@ available).active: boolean;/*** The associated rule header range in the enclosing stylesheet (if+available).+ */+ range?: SourceRange;+ /**+ * Identifier of the stylesheet containing this object (if exists).+ */+ styleSheetId?: DOM.StyleSheetId;+ }+ /**+ * CSS Navigation at-rule descriptor.+ */+ export interface CSSNavigation {+ /**+ * Navigation rule text.+ */+ text: string;+ /**+ * Whether the navigation condition is satisfied.+ */+ active?: boolean;+ /**+ * The associated rule header range in the enclosing stylesheet (ifavailable).*/range?: SourceRange;@@ -3156,6 +3225,10 @@ stylesheet rules) this rule came from.* @supports CSS at-rule condition. Only one type of condition should be set.*/supports?: CSSSupports;+ /**+ * @navigation condition. Only one type of condition should be set.+ */+ navigation?: CSSNavigation;/*** Block body.*/@@ -3777,6 +3850,20 @@ property*/supports: CSSSupports;}+ /**+ * Modifies the expression of a navigation at-rule.+ */+ export type setNavigationTextParameters = {+ styleSheetId: DOM.StyleSheetId;+ range: SourceRange;+ text: string;+ }+ export type setNavigationTextReturnValue = {+ /**+ * The resulting CSS Navigation rule after modification.+ */+ navigation: CSSNavigation;+ }/*** Modifies the expression of a scope at-rule.*/@@ -4347,6 +4434,7 @@ The property is always undefined now.isScrollable?: boolean;affectedByStartingStyles?: boolean;adoptedStyleSheets?: StyleSheetId[];+ isAdRelated?: boolean;}/*** A structure to hold the top-level node of a detached tree and an array of its retained descendants.@@ -4617,6 +4705,19 @@ The property is always undefined now.*/isScrollable: boolean;}+ /**+ * Fired when a node's ad related state changes.+ */+ export type adRelatedStateUpdatedPayload = {+ /**+ * The id of the node.+ */+ nodeId: DOM.NodeId;+ /**+ * If the node is ad related.+ */+ isAdRelated: boolean;+ }/*** Fired when a node's starting styles changes.*/@@ -6788,12 +6889,27 @@ see https://w3c.github.io/window-management/#screendetailed./*** Enum of image types that can be disabled.*/- export type DisabledImageType = "avif"|"webp";+ export type DisabledImageType = "avif"|"jxl"|"webp";/*** Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.*/export type virtualTimeBudgetExpiredPayload = void;+ /**+ * Fired when a page calls screen.orientation.lock() or screen.orientation.unlock()+while device emulation is enabled. This allows the DevTools frontend to update the+emulated device orientation accordingly.+ */+ export type screenOrientationLockChangedPayload = {+ /**+ * Whether the screen orientation is currently locked.+ */+ locked: boolean;+ /**+ * The orientation lock type requested by the page. Only set when locked is true.+ */+ orientation?: ScreenOrientation;+ }/*** Tells whether emulation is supported.@@ -6951,6 +7067,18 @@ to continuous.Deprecated, use Emulation.setDevicePostureOverride.*/devicePosture?: DevicePosture;+ /**+ * Scrollbar type. Default: `default`.+ */+ scrollbarType?: "overlay"|"default";+ /**+ * If set to true, enables screen orientation lock emulation, which+intercepts screen.orientation.lock() calls from the page and reports+orientation changes via screenOrientationLockChanged events. This is+useful for emulating mobile device orientation lock behavior in+responsive design mode.+ */+ screenOrientationLockEmulation?: boolean;}export type setDeviceMetricsOverrideReturnValue = {}@@ -7373,7 +7501,8 @@ of size 100lvh.export type setSmallViewportHeightDifferenceOverrideReturnValue = {}/**- * Returns device's screen configuration.+ * Returns device's screen configuration. In headful mode, the physical screens configuration is returned,+whereas in headless mode, a virtual headless screen configuration is provided instead.*/export type getScreenInfosParameters = {}@@ -7428,6 +7557,58 @@ of size 100lvh.export type addScreenReturnValue = {screenInfo: ScreenInfo;}+ /**+ * Updates specified screen parameters. Only supported in headless mode.+ */+ export type updateScreenParameters = {+ /**+ * Target screen identifier.+ */+ screenId: ScreenId;+ /**+ * Offset of the left edge of the screen in pixels.+ */+ left?: number;+ /**+ * Offset of the top edge of the screen in pixels.+ */+ top?: number;+ /**+ * The width of the screen in pixels.+ */+ width?: number;+ /**+ * The height of the screen in pixels.+ */+ height?: number;+ /**+ * Specifies the screen's work area.+ */+ workAreaInsets?: WorkAreaInsets;+ /**+ * Specifies the screen's device pixel ratio.+ */+ devicePixelRatio?: number;+ /**+ * Specifies the screen's rotation angle. Available values are 0, 90, 180 and 270.+ */+ rotation?: number;+ /**+ * Specifies the screen's color depth in bits.+ */+ colorDepth?: number;+ /**+ * Specifies the descriptive label for the screen.+ */+ label?: string;+ /**+ * Indicates whether the screen is internal to the device or external, attached to the device. Default is false.+ */+ isInternal?: boolean;+ }+ export type updateScreenReturnValue = {+ screenInfo: ScreenInfo;+ }/*** Remove screen from the device. Only supported in headless mode.*/@@ -7436,6 +7617,17 @@ of size 100lvh.}export type removeScreenReturnValue = {}+ /**+ * Set primary screen. Only supported in headless mode.+Note that this changes the coordinate system origin to the top-left+of the new primary screen, updating the bounds and work areas+of all existing screens accordingly.+ */+ export type setPrimaryScreenParameters = {+ screenId: ScreenId;+ }+ export type setPrimaryScreenReturnValue = {+ }}/**@@ -7485,6 +7677,31 @@ reported through Debugger domain, similarly to regular breakpoints being hit.* Storage areas.*/export type StorageArea = "session"|"local"|"sync"|"managed";+ /**+ * Detailed information about an extension.+ */+ export interface ExtensionInfo {+ /**+ * Extension id.+ */+ id: string;+ /**+ * Extension name.+ */+ name: string;+ /**+ * Extension version.+ */+ version: string;+ /**+ * The path from which the extension was loaded.+ */+ path: string;+ /**+ * Extension enabled status.+ */+ enabled: boolean;+ }/**@@ -7527,6 +7744,16 @@ flag is set.*/id: string;}+ /**+ * Gets a list of all unpacked extensions.+Available if the client is connected using the --remote-debugging-pipe flag+and the --enable-unsafe-extension-debugging flag is set.+ */+ export type getExtensionsParameters = {+ }+ export type getExtensionsReturnValue = {+ extensions: ExtensionInfo[];+ }/*** Uninstalls an unpacked extension (others not supported) from the profile.Available if the client is connected using the --remote-debugging-pipe flag@@ -10114,7 +10341,7 @@ milliseconds relatively to this requestTime.*/export type ResourcePriority = "VeryLow"|"Low"|"Medium"|"High"|"VeryHigh";/**- * The render blocking behavior of a resource request.+ * The render-blocking behavior of a resource request.*/export type RenderBlockingBehavior = "Blocking"|"InBodyParserBlocking"|"NonBlocking"|"NonBlockingDynamic"|"PotentiallyBlocking";/**@@ -11305,6 +11532,29 @@ details; this boolean is true if that value is populated.* A fetch result for a device bound session creation or refresh.*/export type DeviceBoundSessionFetchResult = "Success"|"KeyError"|"SigningError"|"ServerRequestedTermination"|"InvalidSessionId"|"InvalidChallenge"|"TooManyChallenges"|"InvalidFetcherUrl"|"InvalidRefreshUrl"|"TransientHttpError"|"ScopeOriginSameSiteMismatch"|"RefreshUrlSameSiteMismatch"|"MismatchedSessionId"|"MissingScope"|"NoCredentials"|"SubdomainRegistrationWellKnownUnavailable"|"SubdomainRegistrationUnauthorized"|"SubdomainRegistrationWellKnownMalformed"|"SessionProviderWellKnownUnavailable"|"RelyingPartyWellKnownUnavailable"|"FederatedKeyThumbprintMismatch"|"InvalidFederatedSessionUrl"|"InvalidFederatedKey"|"TooManyRelyingOriginLabels"|"BoundCookieSetForbidden"|"NetError"|"ProxyError"|"EmptySessionConfig"|"InvalidCredentialsConfig"|"InvalidCredentialsType"|"InvalidCredentialsEmptyName"|"InvalidCredentialsCookie"|"PersistentHttpError"|"RegistrationAttemptedChallenge"|"InvalidScopeOrigin"|"ScopeOriginContainsPath"|"RefreshInitiatorNotString"|"RefreshInitiatorInvalidHostPattern"|"InvalidScopeSpecification"|"MissingScopeSpecificationType"|"EmptyScopeSpecificationDomain"|"EmptyScopeSpecificationPath"|"InvalidScopeSpecificationType"|"InvalidScopeIncludeSite"|"MissingScopeIncludeSite"|"FederatedNotAuthorizedByProvider"|"FederatedNotAuthorizedByRelyingParty"|"SessionProviderWellKnownMalformed"|"SessionProviderWellKnownHasProviderOrigin"|"RelyingPartyWellKnownMalformed"|"RelyingPartyWellKnownHasRelyingOrigins"|"InvalidFederatedSessionProviderSessionMissing"|"InvalidFederatedSessionWrongProviderOrigin"|"InvalidCredentialsCookieCreationTime"|"InvalidCredentialsCookieName"|"InvalidCredentialsCookieParsing"|"InvalidCredentialsCookieUnpermittedAttribute"|"InvalidCredentialsCookieInvalidDomain"|"InvalidCredentialsCookiePrefix"|"InvalidScopeRulePath"|"InvalidScopeRuleHostPattern"|"ScopeRuleOriginScopedHostPatternMismatch"|"ScopeRuleSiteScopedHostPatternMismatch"|"SigningQuotaExceeded"|"InvalidConfigJson"|"InvalidFederatedSessionProviderFailedToRestoreKey"|"FailedToUnwrapKey"|"SessionDeletedDuringRefresh";+ /**+ * Details about a failed device bound session network request.+ */+ export interface DeviceBoundSessionFailedRequest {+ /**+ * The failed request URL.+ */+ requestUrl: string;+ /**+ * The net error of the response if it was not OK.+ */+ netError?: string;+ /**+ * The response code if the net error was OK and the response code was not+200.+ */+ responseError?: number;+ /**+ * The body of the response if the net error was OK, the response code was+not 200, and the response body was not empty.+ */+ responseErrorBody?: string;+ }/*** Session event details specific to creation.*/@@ -11318,6 +11568,11 @@ details; this boolean is true if that value is populated.all successful creation events.*/newSession?: DeviceBoundSession;+ /**+ * Details about a failed device bound session network request if there was+one.+ */+ failedRequest?: DeviceBoundSessionFailedRequest;}/*** Session event details specific to refresh.@@ -11340,6 +11595,11 @@ for any refresh event that modifies the session config.* See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.*/wasFullyProactiveRefresh: boolean;+ /**+ * Details about a failed device bound session network request if there was+one.+ */+ failedRequest?: DeviceBoundSessionFailedRequest;}/*** Session event details specific to termination.@@ -11616,7 +11876,7 @@ for the request which was just redirected.*/hasUserGesture?: boolean;/**- * The render blocking behavior of the request.+ * The render-blocking behavior of the request.*/renderBlockingBehavior?: RenderBlockingBehavior;}@@ -12424,6 +12684,8 @@ requests affected by a rule.export type enableParameters = {/*** Buffer size in bytes to use when preserving network payloads (XHRs, etc).+This is the maximum number of bytes that will be collected by this+DevTools session.*/maxTotalBufferSize?: number;/**@@ -14601,7 +14863,7 @@ https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-expl/*** List of not restored reasons for back-forward cache.*/- export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"SharedWorkerWithNoActiveClient"|"WebLocks"|"WebLocksContention"|"WebHID"|"WebBluetooth"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";+ 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"|"ForwardCacheDisabled"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"BroadcastChannelOnMessage"|"WebViewSettingsChanged"|"WebViewJavaScriptObjectChanged"|"WebViewMessageListenerInjected"|"WebViewSafeBrowsingAllowlistChanged"|"WebViewDocumentStartJavascriptChanged"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"SharedWorkerMessage"|"SharedWorkerWithNoActiveClient"|"WebLocks"|"WebLocksContention"|"WebHID"|"WebBluetooth"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCUsedWithCCNS"|"WebTransportUsedWithCCNS"|"WebSocketUsedWithCCNS"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ParserAborted"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"ContentDiscarded"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame"|"RequestedByWebViewClient"|"PostMessageByWebViewClient"|"CacheControlNoStoreDeviceBoundSessionTerminated"|"CacheLimitPrunedOnModerateMemoryPressure"|"CacheLimitPrunedOnCriticalMemoryPressure";/*** Types of not restored reasons for back-forward cache.*/@@ -19874,6 +20136,83 @@ https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties}}+ export namespace WebMCP {+ /**+ * Tool annotations+ */+ export interface Annotation {+ /**+ * A hint indicating that the tool does not modify any state.+ */+ readOnly?: boolean;+ /**+ * If the declarative tool was declared with the autosubmit attribute.+ */+ autosubmit?: boolean;+ }+ /**+ * Definition of a tool that can be invoked.+ */+ export interface Tool {+ /**+ * Tool name.+ */+ name: string;+ /**+ * Tool description.+ */+ description: string;+ /**+ * Schema for the tool's input parameters.+ */+ inputSchema?: { [key: string]: string };+ /**+ * Optional annotations for the tool.+ */+ annotations?: Annotation;+ /**+ * Frame identifier associated with the tool registration.+ */+ frameId: Page.FrameId;+ /**+ * Optional node ID for declarative tools.+ */+ backendNodeId?: DOM.BackendNodeId;+ /**+ * The stack trace at the time of the registration.+ */+ stackTrace?: Runtime.StackTrace;+ }++ /**+ * Event fired when new tools are added.+ */+ export type toolsAddedPayload = {+ /**+ * Array of tools that were added.+ */+ tools: Tool[];+ }+ /**+ * Event fired when tools are removed.+ */+ export type toolsRemovedPayload = {+ /**+ * Array of tools that were removed.+ */+ tools: Tool[];+ }++ /**+ * Enables the WebMCP domain, allowing events to be sent. Enabling the domain will trigger a toolsAdded event for+all currently registered tools.+ */+ export type enableParameters = {+ }+ export type enableReturnValue = {+ }+ }+/*** This domain is deprecated - use Runtime or Log instead.*/@@ -22597,6 +22936,7 @@ Error was thrown."DOM.pseudoElementAdded": DOM.pseudoElementAddedPayload;"DOM.topLayerElementsUpdated": DOM.topLayerElementsUpdatedPayload;"DOM.scrollableFlagUpdated": DOM.scrollableFlagUpdatedPayload;+ "DOM.adRelatedStateUpdated": DOM.adRelatedStateUpdatedPayload;"DOM.affectedByStartingStylesFlagUpdated": DOM.affectedByStartingStylesFlagUpdatedPayload;"DOM.pseudoElementRemoved": DOM.pseudoElementRemovedPayload;"DOM.setChildNodes": DOM.setChildNodesPayload;@@ -22608,6 +22948,7 @@ Error was thrown."DOMStorage.domStorageItemsCleared": DOMStorage.domStorageItemsClearedPayload;"DeviceAccess.deviceRequestPrompted": DeviceAccess.deviceRequestPromptedPayload;"Emulation.virtualTimeBudgetExpired": Emulation.virtualTimeBudgetExpiredPayload;+ "Emulation.screenOrientationLockChanged": Emulation.screenOrientationLockChangedPayload;"FedCm.dialogShown": FedCm.dialogShownPayload;"FedCm.dialogClosed": FedCm.dialogClosedPayload;"Fetch.requestPaused": Fetch.requestPausedPayload;@@ -22774,6 +23115,8 @@ Error was thrown."WebAuthn.credentialDeleted": WebAuthn.credentialDeletedPayload;"WebAuthn.credentialUpdated": WebAuthn.credentialUpdatedPayload;"WebAuthn.credentialAsserted": WebAuthn.credentialAssertedPayload;+ "WebMCP.toolsAdded": WebMCP.toolsAddedPayload;+ "WebMCP.toolsRemoved": WebMCP.toolsRemovedPayload;"Console.messageAdded": Console.messageAddedPayload;"Debugger.breakpointResolved": Debugger.breakpointResolvedPayload;"Debugger.paused": Debugger.pausedPayload;@@ -22834,6 +23177,7 @@ Error was thrown.["DOM.pseudoElementAdded"]: [DOM.pseudoElementAddedPayload];["DOM.topLayerElementsUpdated"]: [DOM.topLayerElementsUpdatedPayload];["DOM.scrollableFlagUpdated"]: [DOM.scrollableFlagUpdatedPayload];+ ["DOM.adRelatedStateUpdated"]: [DOM.adRelatedStateUpdatedPayload];["DOM.affectedByStartingStylesFlagUpdated"]: [DOM.affectedByStartingStylesFlagUpdatedPayload];["DOM.pseudoElementRemoved"]: [DOM.pseudoElementRemovedPayload];["DOM.setChildNodes"]: [DOM.setChildNodesPayload];@@ -22845,6 +23189,7 @@ Error was thrown.["DOMStorage.domStorageItemsCleared"]: [DOMStorage.domStorageItemsClearedPayload];["DeviceAccess.deviceRequestPrompted"]: [DeviceAccess.deviceRequestPromptedPayload];["Emulation.virtualTimeBudgetExpired"]: [Emulation.virtualTimeBudgetExpiredPayload];+ ["Emulation.screenOrientationLockChanged"]: [Emulation.screenOrientationLockChangedPayload];["FedCm.dialogShown"]: [FedCm.dialogShownPayload];["FedCm.dialogClosed"]: [FedCm.dialogClosedPayload];["Fetch.requestPaused"]: [Fetch.requestPausedPayload];@@ -23011,6 +23356,8 @@ Error was thrown.["WebAuthn.credentialDeleted"]: [WebAuthn.credentialDeletedPayload];["WebAuthn.credentialUpdated"]: [WebAuthn.credentialUpdatedPayload];["WebAuthn.credentialAsserted"]: [WebAuthn.credentialAssertedPayload];+ ["WebMCP.toolsAdded"]: [WebMCP.toolsAddedPayload];+ ["WebMCP.toolsRemoved"]: [WebMCP.toolsRemovedPayload];["Console.messageAdded"]: [Console.messageAddedPayload];["Debugger.breakpointResolved"]: [Debugger.breakpointResolvedPayload];["Debugger.paused"]: [Debugger.pausedPayload];@@ -23056,7 +23403,6 @@ Error was thrown."Audits.getEncodedResponse": Audits.getEncodedResponseParameters;"Audits.disable": Audits.disableParameters;"Audits.enable": Audits.enableParameters;- "Audits.checkContrast": Audits.checkContrastParameters;"Audits.checkFormsIssues": Audits.checkFormsIssuesParameters;"Autofill.trigger": Autofill.triggerParameters;"Autofill.setAddresses": Autofill.setAddressesParameters;@@ -23130,6 +23476,7 @@ Error was thrown."CSS.setMediaText": CSS.setMediaTextParameters;"CSS.setContainerQueryText": CSS.setContainerQueryTextParameters;"CSS.setSupportsText": CSS.setSupportsTextParameters;+ "CSS.setNavigationText": CSS.setNavigationTextParameters;"CSS.setScopeText": CSS.setScopeTextParameters;"CSS.setRuleSelector": CSS.setRuleSelectorParameters;"CSS.setStyleSheetText": CSS.setStyleSheetTextParameters;@@ -23273,12 +23620,15 @@ Error was thrown."Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideParameters;"Emulation.getScreenInfos": Emulation.getScreenInfosParameters;"Emulation.addScreen": Emulation.addScreenParameters;+ "Emulation.updateScreen": Emulation.updateScreenParameters;"Emulation.removeScreen": Emulation.removeScreenParameters;+ "Emulation.setPrimaryScreen": Emulation.setPrimaryScreenParameters;"EventBreakpoints.setInstrumentationBreakpoint": EventBreakpoints.setInstrumentationBreakpointParameters;"EventBreakpoints.removeInstrumentationBreakpoint": EventBreakpoints.removeInstrumentationBreakpointParameters;"EventBreakpoints.disable": EventBreakpoints.disableParameters;"Extensions.triggerAction": Extensions.triggerActionParameters;"Extensions.loadUnpacked": Extensions.loadUnpackedParameters;+ "Extensions.getExtensions": Extensions.getExtensionsParameters;"Extensions.uninstall": Extensions.uninstallParameters;"Extensions.getStorageItems": Extensions.getStorageItemsParameters;"Extensions.removeStorageItems": Extensions.removeStorageItemsParameters;@@ -23616,6 +23966,7 @@ Error was thrown."WebAuthn.setUserVerified": WebAuthn.setUserVerifiedParameters;"WebAuthn.setAutomaticPresenceSimulation": WebAuthn.setAutomaticPresenceSimulationParameters;"WebAuthn.setCredentialProperties": WebAuthn.setCredentialPropertiesParameters;+ "WebMCP.enable": WebMCP.enableParameters;"Console.clearMessages": Console.clearMessagesParameters;"Console.disable": Console.disableParameters;"Console.enable": Console.enableParameters;@@ -23720,7 +24071,6 @@ Error was thrown."Audits.getEncodedResponse": Audits.getEncodedResponseReturnValue;"Audits.disable": Audits.disableReturnValue;"Audits.enable": Audits.enableReturnValue;- "Audits.checkContrast": Audits.checkContrastReturnValue;"Audits.checkFormsIssues": Audits.checkFormsIssuesReturnValue;"Autofill.trigger": Autofill.triggerReturnValue;"Autofill.setAddresses": Autofill.setAddressesReturnValue;@@ -23794,6 +24144,7 @@ Error was thrown."CSS.setMediaText": CSS.setMediaTextReturnValue;"CSS.setContainerQueryText": CSS.setContainerQueryTextReturnValue;"CSS.setSupportsText": CSS.setSupportsTextReturnValue;+ "CSS.setNavigationText": CSS.setNavigationTextReturnValue;"CSS.setScopeText": CSS.setScopeTextReturnValue;"CSS.setRuleSelector": CSS.setRuleSelectorReturnValue;"CSS.setStyleSheetText": CSS.setStyleSheetTextReturnValue;@@ -23937,12 +24288,15 @@ Error was thrown."Emulation.setSmallViewportHeightDifferenceOverride": Emulation.setSmallViewportHeightDifferenceOverrideReturnValue;"Emulation.getScreenInfos": Emulation.getScreenInfosReturnValue;"Emulation.addScreen": Emulation.addScreenReturnValue;+ "Emulation.updateScreen": Emulation.updateScreenReturnValue;"Emulation.removeScreen": Emulation.removeScreenReturnValue;+ "Emulation.setPrimaryScreen": Emulation.setPrimaryScreenReturnValue;"EventBreakpoints.setInstrumentationBreakpoint": EventBreakpoints.setInstrumentationBreakpointReturnValue;"EventBreakpoints.removeInstrumentationBreakpoint": EventBreakpoints.removeInstrumentationBreakpointReturnValue;"EventBreakpoints.disable": EventBreakpoints.disableReturnValue;"Extensions.triggerAction": Extensions.triggerActionReturnValue;"Extensions.loadUnpacked": Extensions.loadUnpackedReturnValue;+ "Extensions.getExtensions": Extensions.getExtensionsReturnValue;"Extensions.uninstall": Extensions.uninstallReturnValue;"Extensions.getStorageItems": Extensions.getStorageItemsReturnValue;"Extensions.removeStorageItems": Extensions.removeStorageItemsReturnValue;@@ -24280,6 +24634,7 @@ Error was thrown."WebAuthn.setUserVerified": WebAuthn.setUserVerifiedReturnValue;"WebAuthn.setAutomaticPresenceSimulation": WebAuthn.setAutomaticPresenceSimulationReturnValue;"WebAuthn.setCredentialProperties": WebAuthn.setCredentialPropertiesReturnValue;+ "WebMCP.enable": WebMCP.enableReturnValue;"Console.clearMessages": Console.clearMessagesReturnValue;"Console.disable": Console.disableReturnValue;"Console.enable": Console.enableReturnValue;diff --git a/utils/doclint/generateApiJson.js b/utils/doclint/generateApiJson.jsindex 20ce604300..1b8c3d2e5f 100644--- a/utils/doclint/generateApiJson.js+++ b/utils/doclint/generateApiJson.js@@ -50,11 +50,7 @@ function serializeClass(clazz) {const result = { name: clazz.name, spec: clazz.spec };if (clazz.extends)result.extends = clazz.extends;- result.langs = clazz.langs;- if (result.langs && result.langs.types) {- for (const key in result.langs.types)- result.langs.types[key] = serializeType(result.langs.types[key]);- }+ serializeLangs(clazz, result);if (clazz.comment)result.comment = clazz.comment;if (clazz.since)@@ -72,17 +68,38 @@ function serializeMember(member) {result.args = member.argsArray.map(serializeProperty);if (member.type)result.type = serializeType(member.type);+ serializeLangs(member, result);return result;}+/**+ * @param {import('./documentation').Member | import('./documentation').Class} from+ * @param {any} to+ */+function serializeLangs(from, to) {+ if (!from.langs)+ return;+ to.langs = { ...from.langs };+ sanitize(to.langs);+ if (from.langs.overrides) {+ for (const key in from.langs.overrides)+ to.langs.overrides[key] = serializeMember(from.langs.overrides[key]);+ }+ if (from.langs.types) {+ for (const key in from.langs.types)+ to.langs.types[key] = serializeType(from.langs.types[key]);+ }+}+/*** @param {import('./documentation').Member} arg*/function serializeProperty(arg) {- const result = { ...arg, parent: undefined };+ const result = { ...arg };sanitize(result);if (arg.type)result.type = serializeType(arg.type);+ serializeLangs(arg, result);return result;}@@ -94,6 +111,7 @@ function sanitize(result) {delete result.argsArray;delete result.clazz;delete result.enclosingMethod;+ delete result.parent;}/**@@ -102,6 +120,7 @@ function sanitize(result) {function serializeType(type) {/** @type {any} */const result = { ...type };+ sanitize(result);if (type.properties)result.properties = type.properties.map(serializeProperty);if (type.union)diff --git a/utils/roll_browser.js b/utils/roll_browser.jsindex 7eba37364d..4aeb992e26 100755--- a/utils/roll_browser.js+++ b/utils/roll_browser.js@@ -28,13 +28,15 @@ const CORE_PATH = path.resolve(path.join(__dirname, '..', 'packages', 'playwrighfunction usage() {return `-usage: ${SCRIPT_NAME} <browser> <revision>+usage: ${SCRIPT_NAME} <browser> <revision> [version]Roll the <browser> to a specific <revision> and generate new protocol.+Version is required for chromium-based browsers.Supported browsers: chromium, firefox, webkit, ffmpeg, firefox-beta.Example:- ${SCRIPT_NAME} chromium 123456+ ${SCRIPT_NAME} chromium 123456 123.0.1234.56+ ${SCRIPT_NAME} webkit 123456`;}@@ -60,11 +62,12 @@ Example:'ff-beta': 'firefox-beta','wk': 'webkit',}[args[0].toLowerCase()] ?? args[0].toLowerCase();+ const browserTypeName = browserName.split('-')[0];const descriptors = browsersJSON.browsers.filter(b =>b.name === browserName || b.name === `${browserName}-headless-shell`);- if (!descriptors.every(d => !!d)) {+ if (!descriptors.length) {console.log(`Unknown browser "${browserName}"`);console.log(`Try running ${SCRIPT_NAME} --help`);process.exit(1);@@ -75,6 +78,9 @@ Example:console.log(`Rolling ${browserName} to ${revision}`);if (browserVersion) {console.log(`Browser version: ${browserVersion}`);+ } else if (browserTypeName === 'chromium') {+ console.log(`Chromium-based browsers must provide a version`);+ process.exit(1);}// 2. Update browser revisions in browsers.json.@@ -93,7 +99,7 @@ Example:await registry.install([...registry.defaultExecutables(), executable]);// 4. Update browser version if rolling WebKit / Firefox, validate if rolling Chromium.- const browserType = playwright[browserName.split('-')[0]];+ const browserType = playwright[browserTypeName];if (browserType) {const browser = await browserType.launch({executablePath: executable.executablePath('javascript'),@@ -105,7 +111,7 @@ Example:console.error(`\nError: Provided browser version "${browserVersion}" does not match downloaded version "${downloadedVersion}".`);console.error(`Please verify that revision ${revision} corresponds to version ${browserVersion}.`);process.exit(1);- }+ }if (!browserVersion) {console.log('\nUpdating browser version in browsers.json...');