patchright-core 1.49.2 → 1.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ThirdPartyNotices.txt +380 -12
- package/bin/reinstall_msedge_beta_linux.sh +6 -0
- package/bin/reinstall_msedge_dev_linux.sh +6 -0
- package/bin/reinstall_msedge_stable_linux.sh +6 -0
- package/browsers.json +17 -16
- package/lib/androidServerImpl.js +1 -1
- package/lib/cli/program.js +6 -30
- package/lib/client/channelOwner.js +35 -55
- package/lib/client/clientInstrumentation.js +2 -0
- package/lib/client/connection.js +3 -3
- package/lib/client/network.js +3 -1
- package/lib/client/waiter.js +1 -1
- package/lib/generated/consoleApiSource.js +1 -1
- package/lib/generated/injectedScriptSource.js +1 -1
- package/lib/generated/pollingRecorderSource.js +1 -1
- package/lib/inProcessFactory.js +2 -0
- package/lib/protocol/debug.js +1 -1
- package/lib/protocol/validator.js +2 -2
- package/lib/remote/playwrightConnection.js +4 -3
- package/lib/remote/playwrightServer.js +2 -1
- package/lib/server/bidi/bidiBrowser.js +9 -6
- package/lib/server/bidi/bidiExecutionContext.js +20 -1
- package/lib/server/bidi/bidiInput.js +7 -5
- package/lib/server/bidi/bidiNetworkManager.js +8 -9
- package/lib/server/bidi/bidiPage.js +9 -20
- package/lib/server/bidi/third_party/bidiKeyboard.js +9 -7
- package/lib/server/browserContext.js +24 -16
- package/lib/server/chromium/crBrowser.js +10 -10
- package/lib/server/chromium/crExecutionContext.js +1 -5
- package/lib/server/chromium/crInput.js +15 -4
- package/lib/server/chromium/crPage.js +17 -31
- package/lib/server/codegen/csharp.js +12 -2
- package/lib/server/codegen/java.js +14 -3
- package/lib/server/codegen/javascript.js +10 -2
- package/lib/server/codegen/jsonl.js +1 -1
- package/lib/server/codegen/python.js +5 -4
- package/lib/server/debugController.js +15 -40
- package/lib/server/debugger.js +1 -1
- package/lib/server/deviceDescriptorsSource.json +50 -50
- package/lib/server/dispatchers/browserContextDispatcher.js +2 -13
- package/lib/server/dispatchers/debugControllerDispatcher.js +4 -2
- package/lib/server/dispatchers/frameDispatcher.js +3 -2
- package/lib/server/dispatchers/pageDispatcher.js +1 -1
- package/lib/server/dispatchers/webSocketRouteDispatcher.js +10 -11
- package/lib/server/dom.js +7 -2
- package/lib/server/fetch.js +14 -20
- package/lib/server/firefox/ffBrowser.js +9 -7
- package/lib/server/firefox/ffInput.js +15 -4
- package/lib/server/firefox/ffPage.js +13 -28
- package/lib/server/frames.js +25 -30
- package/lib/server/har/harTracer.js +1 -1
- package/lib/server/input.js +2 -3
- package/lib/server/network.js +2 -2
- package/lib/server/page.js +23 -16
- package/lib/server/recorder/chat.js +177 -0
- package/lib/server/recorder/contextRecorder.js +6 -15
- package/lib/server/recorder/recorderApp.js +1 -1
- package/lib/server/recorder/recorderCollection.js +5 -17
- package/lib/server/recorder/recorderRunner.js +7 -3
- package/lib/server/recorder/recorderUtils.js +5 -29
- package/lib/server/recorder.js +12 -9
- package/lib/server/registry/browserFetcher.js +1 -1
- package/lib/server/registry/dependencies.js +5 -5
- package/lib/server/registry/index.js +118 -5
- package/lib/server/registry/nativeDeps.js +7 -4
- package/lib/server/socksClientCertificatesInterceptor.js +1 -1
- package/lib/server/trace/recorder/snapshotterInjected.js +12 -5
- package/lib/server/trace/viewer/traceViewer.js +6 -1
- package/lib/server/transport.js +1 -0
- package/lib/server/webkit/webkit.js +1 -1
- package/lib/server/webkit/wkBrowser.js +6 -6
- package/lib/server/webkit/wkExecutionContext.js +1 -0
- package/lib/server/webkit/wkInput.js +15 -5
- package/lib/server/webkit/wkPage.js +7 -25
- package/lib/utils/comparators.js +16 -10
- package/lib/utils/debugLogger.js +3 -1
- package/lib/utils/hostPlatform.js +14 -8
- package/lib/utils/httpServer.js +0 -4
- package/lib/utils/isomorphic/ariaSnapshot.js +176 -52
- package/lib/utils/isomorphic/cssParser.js +4 -4
- package/lib/utils/isomorphic/locatorGenerators.js +2 -2
- package/lib/utils/isomorphic/locatorParser.js +18 -12
- package/lib/utils/isomorphic/urlMatch.js +2 -4
- package/lib/utils/network.js +1 -1
- package/lib/utils/processLauncher.js +1 -1
- package/lib/utils/wsServer.js +1 -0
- package/lib/utils/zones.js +18 -20
- package/lib/utilsBundleImpl/index.js +104 -104
- package/lib/vite/htmlReport/index.html +14 -14
- package/lib/vite/{traceViewer/assets/codeMirrorModule-VZNWuWvU.js → recorder/assets/codeMirrorModule-CNAqJrkA.js} +1 -1
- package/lib/vite/recorder/assets/{index-CqeZmzx8.js → index-DGS0JLxS.js} +78 -78
- package/lib/vite/recorder/assets/{index-iA1aAGZg.css → index-eHBmevrY.css} +1 -1
- package/lib/vite/recorder/index.html +2 -2
- package/lib/vite/{recorder/assets/codeMirrorModule-DUzBrnvO.js → traceViewer/assets/codeMirrorModule-D55P_UuL.js} +10 -10
- package/lib/vite/traceViewer/assets/defaultSettingsView-B-uNoFsX.js +243 -0
- package/lib/vite/traceViewer/defaultSettingsView.2xeEXCXv.css +1 -0
- package/lib/vite/traceViewer/index.BfvuujqP.js +2 -0
- package/lib/vite/traceViewer/index.html +4 -7
- package/lib/vite/traceViewer/sw.bundle.js +3 -3
- package/lib/vite/traceViewer/{uiMode.voC1ZiOQ.css → uiMode.BatfzHMG.css} +1 -1
- package/lib/vite/traceViewer/uiMode.CStJu6jo.js +5 -0
- package/lib/vite/traceViewer/uiMode.html +4 -7
- package/package.json +1 -1
- package/types/protocol.d.ts +269 -20
- package/types/types.d.ts +69 -30
- package/bin/PrintDeps.exe +0 -0
- package/bin/README.md +0 -2
- package/lib/server/ariaSnapshot.js +0 -33
- package/lib/server/recorder/recorderInTraceViewer.js +0 -144
- package/lib/utils/isomorphic/recorderUtils.js +0 -227
- package/lib/vite/traceViewer/assets/inspectorTab-BV-Uf3j9.js +0 -68
- package/lib/vite/traceViewer/assets/testServerConnection-DeE2kSzz.js +0 -1
- package/lib/vite/traceViewer/assets/workbench-B4WPcYi9.js +0 -9
- package/lib/vite/traceViewer/embedded.BLPSqdbm.js +0 -2
- package/lib/vite/traceViewer/embedded.html +0 -18
- package/lib/vite/traceViewer/embedded.w7WN2u1R.css +0 -1
- package/lib/vite/traceViewer/index.BGZfFXXF.js +0 -2
- package/lib/vite/traceViewer/inspectorTab.DEOUW62d.css +0 -1
- package/lib/vite/traceViewer/recorder.B_SY1GJM.css +0 -0
- package/lib/vite/traceViewer/recorder.eWs2vuTG.js +0 -2
- package/lib/vite/traceViewer/recorder.html +0 -17
- package/lib/vite/traceViewer/uiMode.CW2d9h0S.js +0 -5
- package/lib/vite/traceViewer/workbench.C-zR9ysA.css +0 -1
- /package/lib/vite/recorder/assets/{codeMirrorModule-ez37Vkbh.css → codeMirrorModule-C3UTv-Ge.css} +0 -0
- /package/lib/vite/traceViewer/assets/{xtermModule-BeNbaIVa.js → xtermModule-c-SNdYZy.js} +0 -0
- /package/lib/vite/traceViewer/{codeMirrorModule.ez37Vkbh.css → codeMirrorModule.C3UTv-Ge.css} +0 -0
- /package/lib/vite/traceViewer/{index.CrbWWHbf.css → index.CFOW-Ezb.css} +0 -0
- /package/lib/vite/traceViewer/{xtermModule.DSXBckUd.css → xtermModule.Beg8tuEN.css} +0 -0
package/types/protocol.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ export module Protocol {
|
|
|
112
112
|
- from 'checked' to 'selected': states which apply to widgets
|
|
113
113
|
- from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
|
|
114
114
|
*/
|
|
115
|
-
export type AXPropertyName = "busy"|"disabled"|"editable"|"focusable"|"focused"|"hidden"|"hiddenRoot"|"invalid"|"keyshortcuts"|"settable"|"roledescription"|"live"|"atomic"|"relevant"|"root"|"autocomplete"|"hasPopup"|"level"|"multiselectable"|"orientation"|"multiline"|"readonly"|"required"|"valuemin"|"valuemax"|"valuetext"|"checked"|"expanded"|"modal"|"pressed"|"selected"|"activedescendant"|"controls"|"describedby"|"details"|"errormessage"|"flowto"|"labelledby"|"owns"|"url";
|
|
115
|
+
export type AXPropertyName = "actions"|"busy"|"disabled"|"editable"|"focusable"|"focused"|"hidden"|"hiddenRoot"|"invalid"|"keyshortcuts"|"settable"|"roledescription"|"live"|"atomic"|"relevant"|"root"|"autocomplete"|"hasPopup"|"level"|"multiselectable"|"orientation"|"multiline"|"readonly"|"required"|"valuemin"|"valuemax"|"valuetext"|"checked"|"expanded"|"modal"|"pressed"|"selected"|"activedescendant"|"controls"|"describedby"|"details"|"errormessage"|"flowto"|"labelledby"|"owns"|"url";
|
|
116
116
|
/**
|
|
117
117
|
* A node in the accessibility tree.
|
|
118
118
|
*/
|
|
@@ -685,8 +685,8 @@ percentage [0 - 100] for scroll driven animations
|
|
|
685
685
|
/**
|
|
686
686
|
* The unique request id.
|
|
687
687
|
*/
|
|
688
|
-
requestId
|
|
689
|
-
url
|
|
688
|
+
requestId?: Network.RequestId;
|
|
689
|
+
url: string;
|
|
690
690
|
}
|
|
691
691
|
/**
|
|
692
692
|
* Information about the frame affected by an inspector issue.
|
|
@@ -694,9 +694,23 @@ percentage [0 - 100] for scroll driven animations
|
|
|
694
694
|
export interface AffectedFrame {
|
|
695
695
|
frameId: Page.FrameId;
|
|
696
696
|
}
|
|
697
|
-
export type CookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeInvalidSameParty"|"ExcludeSamePartyCrossPartyContext"|"ExcludeDomainNonASCII"|"ExcludeThirdPartyCookieBlockedInFirstPartySet"|"ExcludeThirdPartyPhaseout";
|
|
697
|
+
export type CookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeInvalidSameParty"|"ExcludeSamePartyCrossPartyContext"|"ExcludeDomainNonASCII"|"ExcludeThirdPartyCookieBlockedInFirstPartySet"|"ExcludeThirdPartyPhaseout"|"ExcludePortMismatch"|"ExcludeSchemeMismatch";
|
|
698
698
|
export type CookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"|"WarnSameSiteNoneInsecure"|"WarnSameSiteUnspecifiedLaxAllowUnsafe"|"WarnSameSiteStrictLaxDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeLax"|"WarnSameSiteLaxCrossDowngradeStrict"|"WarnSameSiteLaxCrossDowngradeLax"|"WarnAttributeValueExceedsMaxSize"|"WarnDomainNonASCII"|"WarnThirdPartyPhaseout"|"WarnCrossSiteRedirectDowngradeChangesInclusion"|"WarnDeprecationTrialMetadata"|"WarnThirdPartyCookieHeuristic";
|
|
699
699
|
export type CookieOperation = "SetCookie"|"ReadCookie";
|
|
700
|
+
/**
|
|
701
|
+
* Represents the category of insight that a cookie issue falls under.
|
|
702
|
+
*/
|
|
703
|
+
export type InsightType = "GitHubResource"|"GracePeriod"|"Heuristics";
|
|
704
|
+
/**
|
|
705
|
+
* Information about the suggested solution to a cookie issue.
|
|
706
|
+
*/
|
|
707
|
+
export interface CookieIssueInsight {
|
|
708
|
+
type: InsightType;
|
|
709
|
+
/**
|
|
710
|
+
* Link to table entry in third-party cookie migration readiness list.
|
|
711
|
+
*/
|
|
712
|
+
tableEntryUrl?: string;
|
|
713
|
+
}
|
|
700
714
|
/**
|
|
701
715
|
* This information is currently necessary, as the front-end has a difficult
|
|
702
716
|
time finding a specific cookie. With this, we can convey specific error
|
|
@@ -721,6 +735,10 @@ may be used by the front-end as additional context.
|
|
|
721
735
|
siteForCookies?: string;
|
|
722
736
|
cookieUrl?: string;
|
|
723
737
|
request?: AffectedRequest;
|
|
738
|
+
/**
|
|
739
|
+
* The recommended solution to the issue.
|
|
740
|
+
*/
|
|
741
|
+
insight?: CookieIssueInsight;
|
|
724
742
|
}
|
|
725
743
|
export type MixedContentResolutionStatus = "MixedContentBlocked"|"MixedContentAutomaticallyUpgraded"|"MixedContentWarning";
|
|
726
744
|
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";
|
|
@@ -758,7 +776,7 @@ Does not always exist (e.g. for unsafe form submission urls).
|
|
|
758
776
|
* Enum indicating the reason a response has been blocked. These reasons are
|
|
759
777
|
refinements of the net error BLOCKED_BY_RESPONSE.
|
|
760
778
|
*/
|
|
761
|
-
export type BlockedByResponseReason = "CoepFrameResourceNeedsCoepHeader"|"CoopSandboxedIFrameCannotNavigateToCoopPage"|"CorpNotSameOrigin"|"CorpNotSameOriginAfterDefaultedToSameOriginByCoep"|"CorpNotSameOriginAfterDefaultedToSameOriginByDip"|"CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip"|"CorpNotSameSite";
|
|
779
|
+
export type BlockedByResponseReason = "CoepFrameResourceNeedsCoepHeader"|"CoopSandboxedIFrameCannotNavigateToCoopPage"|"CorpNotSameOrigin"|"CorpNotSameOriginAfterDefaultedToSameOriginByCoep"|"CorpNotSameOriginAfterDefaultedToSameOriginByDip"|"CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip"|"CorpNotSameSite"|"SRIMessageSignatureMismatch";
|
|
762
780
|
/**
|
|
763
781
|
* Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
|
|
764
782
|
code. Currently only used for COEP/COOP, but may be extended to include
|
|
@@ -963,6 +981,15 @@ features, encourage the use of new ones, and provide general guidance.
|
|
|
963
981
|
failureMessage: string;
|
|
964
982
|
requestId?: Network.RequestId;
|
|
965
983
|
}
|
|
984
|
+
export type SelectElementAccessibilityIssueReason = "DisallowedSelectChild"|"DisallowedOptGroupChild"|"NonPhrasingContentOptionChild"|"InteractiveContentOptionChild"|"InteractiveContentLegendChild";
|
|
985
|
+
/**
|
|
986
|
+
* This isue warns about errors in the select element content model.
|
|
987
|
+
*/
|
|
988
|
+
export interface SelectElementAccessibilityIssueDetails {
|
|
989
|
+
nodeId: DOM.BackendNodeId;
|
|
990
|
+
selectElementAccessibilityIssueReason: SelectElementAccessibilityIssueReason;
|
|
991
|
+
hasDisallowedAttributes: boolean;
|
|
992
|
+
}
|
|
966
993
|
export type StyleSheetLoadingIssueReason = "LateImportRule"|"RequestFailed";
|
|
967
994
|
/**
|
|
968
995
|
* This issue warns when a referenced stylesheet couldn't be loaded.
|
|
@@ -1005,7 +1032,7 @@ registrations being ignored.
|
|
|
1005
1032
|
optional fields in InspectorIssueDetails to convey more specific
|
|
1006
1033
|
information about the kind of issue.
|
|
1007
1034
|
*/
|
|
1008
|
-
export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue";
|
|
1035
|
+
export type InspectorIssueCode = "CookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"LowTextContrastIssue"|"CorsIssue"|"AttributionReportingIssue"|"QuirksModeIssue"|"NavigatorUserAgentIssue"|"GenericIssue"|"DeprecationIssue"|"ClientHintIssue"|"FederatedAuthRequestIssue"|"BounceTrackingIssue"|"CookieDeprecationMetadataIssue"|"StylesheetLoadingIssue"|"FederatedAuthUserInfoRequestIssue"|"PropertyRuleIssue"|"SharedDictionaryIssue"|"SelectElementAccessibilityIssue";
|
|
1009
1036
|
/**
|
|
1010
1037
|
* This struct holds a list of optional fields with additional information
|
|
1011
1038
|
specific to the kind of issue. When adding a new issue code, please also
|
|
@@ -1033,6 +1060,7 @@ add a new optional field to this type.
|
|
|
1033
1060
|
propertyRuleIssueDetails?: PropertyRuleIssueDetails;
|
|
1034
1061
|
federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
|
|
1035
1062
|
sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
|
|
1063
|
+
selectElementAccessibilityIssueDetails?: SelectElementAccessibilityIssueDetails;
|
|
1036
1064
|
}
|
|
1037
1065
|
/**
|
|
1038
1066
|
* A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
|
@@ -1534,7 +1562,7 @@ events afterwards if enabled and recording.
|
|
|
1534
1562
|
*/
|
|
1535
1563
|
windowState?: WindowState;
|
|
1536
1564
|
}
|
|
1537
|
-
export type PermissionType = "
|
|
1565
|
+
export type PermissionType = "ar"|"audioCapture"|"automaticFullscreen"|"backgroundFetch"|"backgroundSync"|"cameraPanTiltZoom"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"geolocation"|"handTracking"|"idleDetection"|"keyboardLock"|"localFonts"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"pointerLock"|"protectedMediaIdentifier"|"sensors"|"smartCard"|"speakerSelection"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"vr"|"wakeLockScreen"|"wakeLockSystem"|"webAppInstallation"|"webPrinting"|"windowManagement";
|
|
1538
1566
|
export type PermissionSetting = "granted"|"denied"|"prompt";
|
|
1539
1567
|
/**
|
|
1540
1568
|
* Definition of PermissionDescriptor defined in the Permissions API:
|
|
@@ -1961,6 +1989,19 @@ inspector" rules), "regular" for regular stylesheets.
|
|
|
1961
1989
|
*/
|
|
1962
1990
|
matches: RuleMatch[];
|
|
1963
1991
|
}
|
|
1992
|
+
/**
|
|
1993
|
+
* CSS style coming from animations with the name of the animation.
|
|
1994
|
+
*/
|
|
1995
|
+
export interface CSSAnimationStyle {
|
|
1996
|
+
/**
|
|
1997
|
+
* The name of the animation.
|
|
1998
|
+
*/
|
|
1999
|
+
name?: string;
|
|
2000
|
+
/**
|
|
2001
|
+
* The style coming from the animation.
|
|
2002
|
+
*/
|
|
2003
|
+
style: CSSStyle;
|
|
2004
|
+
}
|
|
1964
2005
|
/**
|
|
1965
2006
|
* Inherited CSS rule collection from ancestor node.
|
|
1966
2007
|
*/
|
|
@@ -1974,6 +2015,19 @@ inspector" rules), "regular" for regular stylesheets.
|
|
|
1974
2015
|
*/
|
|
1975
2016
|
matchedCSSRules: RuleMatch[];
|
|
1976
2017
|
}
|
|
2018
|
+
/**
|
|
2019
|
+
* Inherited CSS style collection for animated styles from ancestor node.
|
|
2020
|
+
*/
|
|
2021
|
+
export interface InheritedAnimatedStyleEntry {
|
|
2022
|
+
/**
|
|
2023
|
+
* Styles coming from the animations of the ancestor, if any, in the style inheritance chain.
|
|
2024
|
+
*/
|
|
2025
|
+
animationStyles?: CSSAnimationStyle[];
|
|
2026
|
+
/**
|
|
2027
|
+
* The style coming from the transitions of the ancestor, if any, in the style inheritance chain.
|
|
2028
|
+
*/
|
|
2029
|
+
transitionsStyle?: CSSStyle;
|
|
2030
|
+
}
|
|
1977
2031
|
/**
|
|
1978
2032
|
* Inherited pseudo element matches from pseudos of an ancestor node.
|
|
1979
2033
|
*/
|
|
@@ -2183,12 +2237,17 @@ The array enumerates @scope at-rules starting with the innermost one, going outw
|
|
|
2183
2237
|
* The array keeps the types of ancestor CSSRules from the innermost going outwards.
|
|
2184
2238
|
*/
|
|
2185
2239
|
ruleTypes?: CSSRuleType[];
|
|
2240
|
+
/**
|
|
2241
|
+
* @starting-style CSS at-rule array.
|
|
2242
|
+
The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
|
|
2243
|
+
*/
|
|
2244
|
+
startingStyles?: CSSStartingStyle[];
|
|
2186
2245
|
}
|
|
2187
2246
|
/**
|
|
2188
2247
|
* Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
|
|
2189
2248
|
This list only contains rule types that are collected during the ancestor rule collection.
|
|
2190
2249
|
*/
|
|
2191
|
-
export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule";
|
|
2250
|
+
export type CSSRuleType = "MediaRule"|"SupportsRule"|"ContainerRule"|"LayerRule"|"ScopeRule"|"StyleRule"|"StartingStyleRule";
|
|
2192
2251
|
/**
|
|
2193
2252
|
* CSS coverage information.
|
|
2194
2253
|
*/
|
|
@@ -2424,6 +2483,10 @@ available).
|
|
|
2424
2483
|
* Optional logical axes queried for the container.
|
|
2425
2484
|
*/
|
|
2426
2485
|
logicalAxes?: DOM.LogicalAxes;
|
|
2486
|
+
/**
|
|
2487
|
+
* true if the query contains scroll-state() queries.
|
|
2488
|
+
*/
|
|
2489
|
+
queriesScrollState?: boolean;
|
|
2427
2490
|
}
|
|
2428
2491
|
/**
|
|
2429
2492
|
* CSS Supports at-rule descriptor.
|
|
@@ -2475,6 +2538,20 @@ available).
|
|
|
2475
2538
|
text: string;
|
|
2476
2539
|
/**
|
|
2477
2540
|
* The associated rule header range in the enclosing stylesheet (if
|
|
2541
|
+
available).
|
|
2542
|
+
*/
|
|
2543
|
+
range?: SourceRange;
|
|
2544
|
+
/**
|
|
2545
|
+
* Identifier of the stylesheet containing this object (if exists).
|
|
2546
|
+
*/
|
|
2547
|
+
styleSheetId?: StyleSheetId;
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* CSS Starting Style at-rule descriptor.
|
|
2551
|
+
*/
|
|
2552
|
+
export interface CSSStartingStyle {
|
|
2553
|
+
/**
|
|
2554
|
+
* The associated rule header range in the enclosing stylesheet (if
|
|
2478
2555
|
available).
|
|
2479
2556
|
*/
|
|
2480
2557
|
range?: SourceRange;
|
|
@@ -2779,6 +2856,12 @@ resized.) The current implementation considers only viewport-dependent media fea
|
|
|
2779
2856
|
*/
|
|
2780
2857
|
styleSheetId: StyleSheetId;
|
|
2781
2858
|
}
|
|
2859
|
+
export type computedStyleUpdatedPayload = {
|
|
2860
|
+
/**
|
|
2861
|
+
* The node id that has updated computed styles.
|
|
2862
|
+
*/
|
|
2863
|
+
nodeId: DOM.NodeId;
|
|
2864
|
+
}
|
|
2782
2865
|
|
|
2783
2866
|
/**
|
|
2784
2867
|
* Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
|
|
@@ -2868,6 +2951,21 @@ the browser.
|
|
|
2868
2951
|
}
|
|
2869
2952
|
export type forcePseudoStateReturnValue = {
|
|
2870
2953
|
}
|
|
2954
|
+
/**
|
|
2955
|
+
* Ensures that the given node is in its starting-style state.
|
|
2956
|
+
*/
|
|
2957
|
+
export type forceStartingStyleParameters = {
|
|
2958
|
+
/**
|
|
2959
|
+
* The element id for which to force the starting-style state.
|
|
2960
|
+
*/
|
|
2961
|
+
nodeId: DOM.NodeId;
|
|
2962
|
+
/**
|
|
2963
|
+
* Boolean indicating if this is on or off.
|
|
2964
|
+
*/
|
|
2965
|
+
forced: boolean;
|
|
2966
|
+
}
|
|
2967
|
+
export type forceStartingStyleReturnValue = {
|
|
2968
|
+
}
|
|
2871
2969
|
export type getBackgroundColorsParameters = {
|
|
2872
2970
|
/**
|
|
2873
2971
|
* Id of the node to get background colors for.
|
|
@@ -2905,6 +3003,46 @@ be ignored (as if the image had failed to load).
|
|
|
2905
3003
|
*/
|
|
2906
3004
|
computedStyle: CSSComputedStyleProperty[];
|
|
2907
3005
|
}
|
|
3006
|
+
/**
|
|
3007
|
+
* Resolve the specified values in the context of the provided element.
|
|
3008
|
+
For example, a value of '1em' is evaluated according to the computed
|
|
3009
|
+
'font-size' of the element and a value 'calc(1px + 2px)' will be
|
|
3010
|
+
resolved to '3px'.
|
|
3011
|
+
*/
|
|
3012
|
+
export type resolveValuesParameters = {
|
|
3013
|
+
/**
|
|
3014
|
+
* Substitution functions (var()/env()/attr()) and cascade-dependent
|
|
3015
|
+
keywords (revert/revert-layer) do not work.
|
|
3016
|
+
*/
|
|
3017
|
+
values: string[];
|
|
3018
|
+
/**
|
|
3019
|
+
* Id of the node in whose context the expression is evaluated
|
|
3020
|
+
*/
|
|
3021
|
+
nodeId: DOM.NodeId;
|
|
3022
|
+
/**
|
|
3023
|
+
* Only longhands and custom property names are accepted.
|
|
3024
|
+
*/
|
|
3025
|
+
propertyName?: string;
|
|
3026
|
+
/**
|
|
3027
|
+
* Pseudo element type, only works for pseudo elements that generate
|
|
3028
|
+
elements in the tree, such as ::before and ::after.
|
|
3029
|
+
*/
|
|
3030
|
+
pseudoType?: DOM.PseudoType;
|
|
3031
|
+
/**
|
|
3032
|
+
* Pseudo element custom ident.
|
|
3033
|
+
*/
|
|
3034
|
+
pseudoIdentifier?: string;
|
|
3035
|
+
}
|
|
3036
|
+
export type resolveValuesReturnValue = {
|
|
3037
|
+
results: string[];
|
|
3038
|
+
}
|
|
3039
|
+
export type getLonghandPropertiesParameters = {
|
|
3040
|
+
shorthandName: string;
|
|
3041
|
+
value: string;
|
|
3042
|
+
}
|
|
3043
|
+
export type getLonghandPropertiesReturnValue = {
|
|
3044
|
+
longhandProperties: CSSProperty[];
|
|
3045
|
+
}
|
|
2908
3046
|
/**
|
|
2909
3047
|
* Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
|
|
2910
3048
|
attributes) for a DOM node identified by `nodeId`.
|
|
@@ -2922,6 +3060,28 @@ attributes) for a DOM node identified by `nodeId`.
|
|
|
2922
3060
|
*/
|
|
2923
3061
|
attributesStyle?: CSSStyle;
|
|
2924
3062
|
}
|
|
3063
|
+
/**
|
|
3064
|
+
* Returns the styles coming from animations & transitions
|
|
3065
|
+
including the animation & transition styles coming from inheritance chain.
|
|
3066
|
+
*/
|
|
3067
|
+
export type getAnimatedStylesForNodeParameters = {
|
|
3068
|
+
nodeId: DOM.NodeId;
|
|
3069
|
+
}
|
|
3070
|
+
export type getAnimatedStylesForNodeReturnValue = {
|
|
3071
|
+
/**
|
|
3072
|
+
* Styles coming from animations.
|
|
3073
|
+
*/
|
|
3074
|
+
animationStyles?: CSSAnimationStyle[];
|
|
3075
|
+
/**
|
|
3076
|
+
* Style coming from transitions.
|
|
3077
|
+
*/
|
|
3078
|
+
transitionsStyle?: CSSStyle;
|
|
3079
|
+
/**
|
|
3080
|
+
* Inherited style entries for animationsStyle and transitionsStyle from
|
|
3081
|
+
the inheritance chain of the element.
|
|
3082
|
+
*/
|
|
3083
|
+
inherited?: InheritedAnimatedStyleEntry[];
|
|
3084
|
+
}
|
|
2925
3085
|
/**
|
|
2926
3086
|
* Returns requested styles for a DOM node identified by `nodeId`.
|
|
2927
3087
|
*/
|
|
@@ -3039,6 +3199,19 @@ returns an array of locations of the CSS selector in the style sheet.
|
|
|
3039
3199
|
export type getLocationForSelectorReturnValue = {
|
|
3040
3200
|
ranges: SourceRange[];
|
|
3041
3201
|
}
|
|
3202
|
+
/**
|
|
3203
|
+
* Starts tracking the given node for the computed style updates
|
|
3204
|
+
and whenever the computed style is updated for node, it queues
|
|
3205
|
+
a `computedStyleUpdated` event with throttling.
|
|
3206
|
+
There can only be 1 node tracked for computed style updates
|
|
3207
|
+
so passing a new node id removes tracking from the previous node.
|
|
3208
|
+
Pass `undefined` to disable tracking.
|
|
3209
|
+
*/
|
|
3210
|
+
export type trackComputedStyleUpdatesForNodeParameters = {
|
|
3211
|
+
nodeId?: DOM.NodeId;
|
|
3212
|
+
}
|
|
3213
|
+
export type trackComputedStyleUpdatesForNodeReturnValue = {
|
|
3214
|
+
}
|
|
3042
3215
|
/**
|
|
3043
3216
|
* Starts tracking the given computed styles for updates. The specified array of properties
|
|
3044
3217
|
replaces the one previously specified. Pass empty array to disable tracking.
|
|
@@ -3561,7 +3734,7 @@ front-end.
|
|
|
3561
3734
|
/**
|
|
3562
3735
|
* Pseudo element type.
|
|
3563
3736
|
*/
|
|
3564
|
-
export type PseudoType = "first-line"|"first-letter"|"before"|"after"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-
|
|
3737
|
+
export type PseudoType = "first-line"|"first-letter"|"checkmark"|"before"|"after"|"picker-icon"|"marker"|"backdrop"|"column"|"selection"|"search-text"|"target-text"|"spelling-error"|"grammar-error"|"highlight"|"first-line-inherited"|"scroll-marker"|"scroll-marker-group"|"scroll-button"|"scrollbar"|"scrollbar-thumb"|"scrollbar-button"|"scrollbar-track"|"scrollbar-track-piece"|"scrollbar-corner"|"resizer"|"input-list-button"|"view-transition"|"view-transition-group"|"view-transition-image-pair"|"view-transition-old"|"view-transition-new"|"placeholder"|"file-selector-button"|"details-content"|"picker";
|
|
3565
3738
|
/**
|
|
3566
3739
|
* Shadow root type.
|
|
3567
3740
|
*/
|
|
@@ -4876,15 +5049,17 @@ $x functions).
|
|
|
4876
5049
|
}
|
|
4877
5050
|
/**
|
|
4878
5051
|
* Returns the query container of the given node based on container query
|
|
4879
|
-
conditions: containerName, physical
|
|
4880
|
-
|
|
4881
|
-
|
|
5052
|
+
conditions: containerName, physical and logical axes, and whether it queries
|
|
5053
|
+
scroll-state. If no axes are provided and queriesScrollState is false, the
|
|
5054
|
+
style container is returned, which is the direct parent or the closest
|
|
5055
|
+
element with a matching container-name.
|
|
4882
5056
|
*/
|
|
4883
5057
|
export type getContainerForNodeParameters = {
|
|
4884
5058
|
nodeId: NodeId;
|
|
4885
5059
|
containerName?: string;
|
|
4886
5060
|
physicalAxes?: PhysicalAxes;
|
|
4887
5061
|
logicalAxes?: LogicalAxes;
|
|
5062
|
+
queriesScrollState?: boolean;
|
|
4888
5063
|
}
|
|
4889
5064
|
export type getContainerForNodeReturnValue = {
|
|
4890
5065
|
/**
|
|
@@ -8255,7 +8430,9 @@ file, data and other requests and responses, their headers, bodies, timing, etc.
|
|
|
8255
8430
|
*/
|
|
8256
8431
|
export type LoaderId = string;
|
|
8257
8432
|
/**
|
|
8258
|
-
* Unique request identifier.
|
|
8433
|
+
* Unique network request identifier.
|
|
8434
|
+
Note that this does not identify individual HTTP requests that are part of
|
|
8435
|
+
a network request.
|
|
8259
8436
|
*/
|
|
8260
8437
|
export type RequestId = string;
|
|
8261
8438
|
/**
|
|
@@ -8570,7 +8747,7 @@ applicable or not known.
|
|
|
8570
8747
|
/**
|
|
8571
8748
|
* The reason why request was blocked.
|
|
8572
8749
|
*/
|
|
8573
|
-
export type BlockedReason = "other"|"csp"|"mixed-content"|"origin"|"inspector"|"subresource-filter"|"content-type"|"coep-frame-resource-needs-coep-header"|"coop-sandboxed-iframe-cannot-navigate-to-coop-page"|"corp-not-same-origin"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep"|"corp-not-same-origin-after-defaulted-to-same-origin-by-dip"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip"|"corp-not-same-site";
|
|
8750
|
+
export type BlockedReason = "other"|"csp"|"mixed-content"|"origin"|"inspector"|"subresource-filter"|"content-type"|"coep-frame-resource-needs-coep-header"|"coop-sandboxed-iframe-cannot-navigate-to-coop-page"|"corp-not-same-origin"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep"|"corp-not-same-origin-after-defaulted-to-same-origin-by-dip"|"corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip"|"corp-not-same-site"|"sri-message-signature-mismatch";
|
|
8574
8751
|
/**
|
|
8575
8752
|
* The reason why request was blocked.
|
|
8576
8753
|
*/
|
|
@@ -8830,6 +9007,7 @@ If the opcode isn't 1, then payloadData is a base64 encoded string representing
|
|
|
8830
9007
|
type: "parser"|"script"|"preload"|"SignedExchange"|"preflight"|"other";
|
|
8831
9008
|
/**
|
|
8832
9009
|
* Initiator JavaScript stack trace, set for Script only.
|
|
9010
|
+
Requires the Debugger domain to be enabled.
|
|
8833
9011
|
*/
|
|
8834
9012
|
stack?: Runtime.StackTrace;
|
|
8835
9013
|
/**
|
|
@@ -8944,7 +9122,7 @@ This is a temporary ability and it will be removed in the future.
|
|
|
8944
9122
|
/**
|
|
8945
9123
|
* Types of reasons why a cookie may not be sent with a request.
|
|
8946
9124
|
*/
|
|
8947
|
-
export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"NameValuePairExceedsMaxSize";
|
|
9125
|
+
export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"NameValuePairExceedsMaxSize"|"PortMismatch"|"SchemeMismatch";
|
|
8948
9126
|
/**
|
|
8949
9127
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
|
8950
9128
|
*/
|
|
@@ -9870,6 +10048,9 @@ are represented by the invalid cookie line string instead of a proper cookie.
|
|
|
9870
10048
|
blockedCookies: BlockedSetCookieWithReason[];
|
|
9871
10049
|
/**
|
|
9872
10050
|
* Raw response headers as they were received over the wire.
|
|
10051
|
+
Duplicate headers in the response are represented as a single key with their values
|
|
10052
|
+
concatentated using `\n` as the separator.
|
|
10053
|
+
See also `headersText` that contains verbatim text for HTTP/1.*.
|
|
9873
10054
|
*/
|
|
9874
10055
|
headers: Headers;
|
|
9875
10056
|
/**
|
|
@@ -9915,6 +10096,9 @@ Only one responseReceivedEarlyHints may be fired for eached responseReceived eve
|
|
|
9915
10096
|
requestId: RequestId;
|
|
9916
10097
|
/**
|
|
9917
10098
|
* Raw response headers as they were received over the wire.
|
|
10099
|
+
Duplicate headers in the response are represented as a single key with their values
|
|
10100
|
+
concatentated using `\n` as the separator.
|
|
10101
|
+
See also `headersText` that contains verbatim text for HTTP/1.*.
|
|
9918
10102
|
*/
|
|
9919
10103
|
headers: Headers;
|
|
9920
10104
|
}
|
|
@@ -9931,7 +10115,7 @@ or after the response was received.
|
|
|
9931
10115
|
of the operation already exists und thus, the operation was abort
|
|
9932
10116
|
preemptively (e.g. a cache hit).
|
|
9933
10117
|
*/
|
|
9934
|
-
status: "Ok"|"InvalidArgument"|"MissingIssuerKeys"|"FailedPrecondition"|"ResourceExhausted"|"AlreadyExists"|"ResourceLimited"|"Unauthorized"|"BadResponse"|"InternalError"|"UnknownError"|"FulfilledLocally";
|
|
10118
|
+
status: "Ok"|"InvalidArgument"|"MissingIssuerKeys"|"FailedPrecondition"|"ResourceExhausted"|"AlreadyExists"|"ResourceLimited"|"Unauthorized"|"BadResponse"|"InternalError"|"UnknownError"|"FulfilledLocally"|"SiteIssuerLimit";
|
|
9935
10119
|
type: TrustTokenOperationType;
|
|
9936
10120
|
requestId: RequestId;
|
|
9937
10121
|
/**
|
|
@@ -10625,6 +10809,26 @@ should be omitted for worker targets.
|
|
|
10625
10809
|
export type loadNetworkResourceReturnValue = {
|
|
10626
10810
|
resource: LoadNetworkResourcePageResult;
|
|
10627
10811
|
}
|
|
10812
|
+
/**
|
|
10813
|
+
* Sets Controls for third-party cookie access
|
|
10814
|
+
Page reload is required before the new cookie bahavior will be observed
|
|
10815
|
+
*/
|
|
10816
|
+
export type setCookieControlsParameters = {
|
|
10817
|
+
/**
|
|
10818
|
+
* Whether 3pc restriction is enabled.
|
|
10819
|
+
*/
|
|
10820
|
+
enableThirdPartyCookieRestriction: boolean;
|
|
10821
|
+
/**
|
|
10822
|
+
* Whether 3pc grace period exception should be enabled; false by default.
|
|
10823
|
+
*/
|
|
10824
|
+
disableThirdPartyCookieMetadata: boolean;
|
|
10825
|
+
/**
|
|
10826
|
+
* Whether 3pc heuristics exceptions should be enabled; false by default.
|
|
10827
|
+
*/
|
|
10828
|
+
disableThirdPartyCookieHeuristics: boolean;
|
|
10829
|
+
}
|
|
10830
|
+
export type setCookieControlsReturnValue = {
|
|
10831
|
+
}
|
|
10628
10832
|
}
|
|
10629
10833
|
|
|
10630
10834
|
/**
|
|
@@ -11498,7 +11702,7 @@ as an ad.
|
|
|
11498
11702
|
* All Permissions Policy features. This enum should match the one defined
|
|
11499
11703
|
in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
|
11500
11704
|
*/
|
|
11501
|
-
export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"local-fonts"|"magnetometer"|"media-playback-while-not-visible"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"popins"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"sync-xhr"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"xr-spatial-tracking";
|
|
11705
|
+
export type PermissionsPolicyFeature = "accelerometer"|"all-screens-capture"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factors"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"controlled-frame"|"cross-origin-isolated"|"deferred-fetch"|"deferred-fetch-minimal"|"digital-credentials-get"|"direct-sockets"|"direct-sockets-private"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"fenced-unpartitioned-storage-read"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"local-fonts"|"magnetometer"|"media-playback-while-not-visible"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"popins"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"sync-xhr"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-app-installation"|"web-printing"|"web-share"|"window-management"|"xr-spatial-tracking";
|
|
11502
11706
|
/**
|
|
11503
11707
|
* Reason for a permissions policy feature to be disabled.
|
|
11504
11708
|
*/
|
|
@@ -12384,7 +12588,8 @@ the page execution. Execution can be resumed via calling Page.handleJavaScriptDi
|
|
|
12384
12588
|
defaultPrompt?: string;
|
|
12385
12589
|
}
|
|
12386
12590
|
/**
|
|
12387
|
-
* Fired for
|
|
12591
|
+
* Fired for lifecycle events (navigation, load, paint, etc) in the current
|
|
12592
|
+
target (including local frames).
|
|
12388
12593
|
*/
|
|
12389
12594
|
export type lifecycleEventPayload = {
|
|
12390
12595
|
/**
|
|
@@ -14339,6 +14544,7 @@ int
|
|
|
14339
14544
|
destinationLimitPriority: SignedInt64AsBase10;
|
|
14340
14545
|
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
|
14341
14546
|
scopesData?: AttributionScopesData;
|
|
14547
|
+
maxEventLevelReports: number;
|
|
14342
14548
|
}
|
|
14343
14549
|
export type AttributionReportingSourceRegistrationResult = "success"|"internalError"|"insufficientSourceCapacity"|"insufficientUniqueDestinationCapacity"|"excessiveReportingOrigins"|"prohibitedByBrowserPolicy"|"successNoised"|"destinationReportingLimitReached"|"destinationGlobalLimitReached"|"destinationBothLimitsReached"|"reportingOriginsPerSiteLimitReached"|"exceedsMaxChannelCapacity"|"exceedsMaxScopesChannelCapacity"|"exceedsMaxTriggerStateCardinality"|"exceedsMaxEventStatesLimit"|"destinationPerDayReportingLimitReached";
|
|
14344
14550
|
export type AttributionReportingSourceRegistrationTimeConfig = "include"|"exclude";
|
|
@@ -14386,7 +14592,7 @@ int
|
|
|
14386
14592
|
scopes: string[];
|
|
14387
14593
|
}
|
|
14388
14594
|
export type AttributionReportingEventLevelResult = "success"|"successDroppedLowerPriority"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"deduplicated"|"excessiveAttributions"|"priorityTooLow"|"neverAttributedSource"|"excessiveReportingOrigins"|"noMatchingSourceFilterData"|"prohibitedByBrowserPolicy"|"noMatchingConfigurations"|"excessiveReports"|"falselyAttributedSource"|"reportWindowPassed"|"notRegistered"|"reportWindowNotStarted"|"noMatchingTriggerData";
|
|
14389
|
-
export type AttributionReportingAggregatableResult = "success"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"excessiveAttributions"|"excessiveReportingOrigins"|"noHistograms"|"insufficientBudget"|"noMatchingSourceFilterData"|"notRegistered"|"prohibitedByBrowserPolicy"|"deduplicated"|"reportWindowPassed"|"excessiveReports";
|
|
14595
|
+
export type AttributionReportingAggregatableResult = "success"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"excessiveAttributions"|"excessiveReportingOrigins"|"noHistograms"|"insufficientBudget"|"insufficientNamedBudget"|"noMatchingSourceFilterData"|"notRegistered"|"prohibitedByBrowserPolicy"|"deduplicated"|"reportWindowPassed"|"excessiveReports";
|
|
14390
14596
|
/**
|
|
14391
14597
|
* A single Related Website Set object.
|
|
14392
14598
|
*/
|
|
@@ -15470,6 +15676,14 @@ Parts of the URL other than those constituting origin are ignored.
|
|
|
15470
15676
|
* The initial URL the page will be navigated to. An empty string indicates about:blank.
|
|
15471
15677
|
*/
|
|
15472
15678
|
url: string;
|
|
15679
|
+
/**
|
|
15680
|
+
* Frame left origin in DIP (headless chrome only).
|
|
15681
|
+
*/
|
|
15682
|
+
left?: number;
|
|
15683
|
+
/**
|
|
15684
|
+
* Frame top origin in DIP (headless chrome only).
|
|
15685
|
+
*/
|
|
15686
|
+
top?: number;
|
|
15473
15687
|
/**
|
|
15474
15688
|
* Frame width in DIP (headless chrome only).
|
|
15475
15689
|
*/
|
|
@@ -15920,6 +16134,8 @@ are ignored.
|
|
|
15920
16134
|
export module Fetch {
|
|
15921
16135
|
/**
|
|
15922
16136
|
* Unique request identifier.
|
|
16137
|
+
Note that this does not identify individual HTTP requests that are part of
|
|
16138
|
+
a network request.
|
|
15923
16139
|
*/
|
|
15924
16140
|
export type RequestId = string;
|
|
15925
16141
|
/**
|
|
@@ -16302,7 +16518,7 @@ https://webaudio.github.io/web-audio-api/
|
|
|
16302
16518
|
/**
|
|
16303
16519
|
* Enum of AudioContextState from the spec
|
|
16304
16520
|
*/
|
|
16305
|
-
export type ContextState = "suspended"|"running"|"closed";
|
|
16521
|
+
export type ContextState = "suspended"|"running"|"closed"|"interrupted";
|
|
16306
16522
|
/**
|
|
16307
16523
|
* Enum of AudioNode types
|
|
16308
16524
|
*/
|
|
@@ -17100,6 +17316,16 @@ possible for multiple rule sets and links to trigger a single attempt.
|
|
|
17100
17316
|
ruleSetIds: RuleSetId[];
|
|
17101
17317
|
nodeIds: DOM.BackendNodeId[];
|
|
17102
17318
|
}
|
|
17319
|
+
/**
|
|
17320
|
+
* Chrome manages different types of preloads together using a
|
|
17321
|
+
concept of preloading pipeline. For example, if a site uses a
|
|
17322
|
+
SpeculationRules for prerender, Chrome first starts a prefetch and
|
|
17323
|
+
then upgrades it to prerender.
|
|
17324
|
+
|
|
17325
|
+
CDP events for them are emitted separately but they share
|
|
17326
|
+
`PreloadPipelineId`.
|
|
17327
|
+
*/
|
|
17328
|
+
export type PreloadPipelineId = string;
|
|
17103
17329
|
/**
|
|
17104
17330
|
* List of FinalStatus reasons for Prerender2.
|
|
17105
17331
|
*/
|
|
@@ -17147,6 +17373,7 @@ filter out the ones that aren't necessary to the developers.
|
|
|
17147
17373
|
*/
|
|
17148
17374
|
export type prefetchStatusUpdatedPayload = {
|
|
17149
17375
|
key: PreloadingAttemptKey;
|
|
17376
|
+
pipelineId: PreloadPipelineId;
|
|
17150
17377
|
/**
|
|
17151
17378
|
* The frame id of the frame initiating prefetch.
|
|
17152
17379
|
*/
|
|
@@ -17161,6 +17388,7 @@ filter out the ones that aren't necessary to the developers.
|
|
|
17161
17388
|
*/
|
|
17162
17389
|
export type prerenderStatusUpdatedPayload = {
|
|
17163
17390
|
key: PreloadingAttemptKey;
|
|
17391
|
+
pipelineId: PreloadPipelineId;
|
|
17164
17392
|
status: PreloadingStatus;
|
|
17165
17393
|
prerenderStatus?: PrerenderFinalStatus;
|
|
17166
17394
|
/**
|
|
@@ -17871,6 +18099,10 @@ variables as its properties.
|
|
|
17871
18099
|
* Content hash of the script, SHA-256.
|
|
17872
18100
|
*/
|
|
17873
18101
|
hash: string;
|
|
18102
|
+
/**
|
|
18103
|
+
* For Wasm modules, the content of the `build_id` custom section.
|
|
18104
|
+
*/
|
|
18105
|
+
buildId: string;
|
|
17874
18106
|
/**
|
|
17875
18107
|
* Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
|
|
17876
18108
|
*/
|
|
@@ -17945,6 +18177,10 @@ scripts upon enabling debugger.
|
|
|
17945
18177
|
* Content hash of the script, SHA-256.
|
|
17946
18178
|
*/
|
|
17947
18179
|
hash: string;
|
|
18180
|
+
/**
|
|
18181
|
+
* For Wasm modules, the content of the `build_id` custom section.
|
|
18182
|
+
*/
|
|
18183
|
+
buildId: string;
|
|
17948
18184
|
/**
|
|
17949
18185
|
* Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
|
|
17950
18186
|
*/
|
|
@@ -20213,6 +20449,7 @@ Error was thrown.
|
|
|
20213
20449
|
"CSS.styleSheetAdded": CSS.styleSheetAddedPayload;
|
|
20214
20450
|
"CSS.styleSheetChanged": CSS.styleSheetChangedPayload;
|
|
20215
20451
|
"CSS.styleSheetRemoved": CSS.styleSheetRemovedPayload;
|
|
20452
|
+
"CSS.computedStyleUpdated": CSS.computedStyleUpdatedPayload;
|
|
20216
20453
|
"Cast.sinksUpdated": Cast.sinksUpdatedPayload;
|
|
20217
20454
|
"Cast.issueUpdated": Cast.issueUpdatedPayload;
|
|
20218
20455
|
"DOM.attributeModified": DOM.attributeModifiedPayload;
|
|
@@ -20455,15 +20692,20 @@ Error was thrown.
|
|
|
20455
20692
|
"CSS.disable": CSS.disableParameters;
|
|
20456
20693
|
"CSS.enable": CSS.enableParameters;
|
|
20457
20694
|
"CSS.forcePseudoState": CSS.forcePseudoStateParameters;
|
|
20695
|
+
"CSS.forceStartingStyle": CSS.forceStartingStyleParameters;
|
|
20458
20696
|
"CSS.getBackgroundColors": CSS.getBackgroundColorsParameters;
|
|
20459
20697
|
"CSS.getComputedStyleForNode": CSS.getComputedStyleForNodeParameters;
|
|
20698
|
+
"CSS.resolveValues": CSS.resolveValuesParameters;
|
|
20699
|
+
"CSS.getLonghandProperties": CSS.getLonghandPropertiesParameters;
|
|
20460
20700
|
"CSS.getInlineStylesForNode": CSS.getInlineStylesForNodeParameters;
|
|
20701
|
+
"CSS.getAnimatedStylesForNode": CSS.getAnimatedStylesForNodeParameters;
|
|
20461
20702
|
"CSS.getMatchedStylesForNode": CSS.getMatchedStylesForNodeParameters;
|
|
20462
20703
|
"CSS.getMediaQueries": CSS.getMediaQueriesParameters;
|
|
20463
20704
|
"CSS.getPlatformFontsForNode": CSS.getPlatformFontsForNodeParameters;
|
|
20464
20705
|
"CSS.getStyleSheetText": CSS.getStyleSheetTextParameters;
|
|
20465
20706
|
"CSS.getLayersForNode": CSS.getLayersForNodeParameters;
|
|
20466
20707
|
"CSS.getLocationForSelector": CSS.getLocationForSelectorParameters;
|
|
20708
|
+
"CSS.trackComputedStyleUpdatesForNode": CSS.trackComputedStyleUpdatesForNodeParameters;
|
|
20467
20709
|
"CSS.trackComputedStyleUpdates": CSS.trackComputedStyleUpdatesParameters;
|
|
20468
20710
|
"CSS.takeComputedStyleUpdates": CSS.takeComputedStyleUpdatesParameters;
|
|
20469
20711
|
"CSS.setEffectivePropertyValueForNode": CSS.setEffectivePropertyValueForNodeParameters;
|
|
@@ -20698,6 +20940,7 @@ Error was thrown.
|
|
|
20698
20940
|
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
|
|
20699
20941
|
"Network.enableReportingApi": Network.enableReportingApiParameters;
|
|
20700
20942
|
"Network.loadNetworkResource": Network.loadNetworkResourceParameters;
|
|
20943
|
+
"Network.setCookieControls": Network.setCookieControlsParameters;
|
|
20701
20944
|
"Overlay.disable": Overlay.disableParameters;
|
|
20702
20945
|
"Overlay.enable": Overlay.enableParameters;
|
|
20703
20946
|
"Overlay.getHighlightObjectForTest": Overlay.getHighlightObjectForTestParameters;
|
|
@@ -21066,15 +21309,20 @@ Error was thrown.
|
|
|
21066
21309
|
"CSS.disable": CSS.disableReturnValue;
|
|
21067
21310
|
"CSS.enable": CSS.enableReturnValue;
|
|
21068
21311
|
"CSS.forcePseudoState": CSS.forcePseudoStateReturnValue;
|
|
21312
|
+
"CSS.forceStartingStyle": CSS.forceStartingStyleReturnValue;
|
|
21069
21313
|
"CSS.getBackgroundColors": CSS.getBackgroundColorsReturnValue;
|
|
21070
21314
|
"CSS.getComputedStyleForNode": CSS.getComputedStyleForNodeReturnValue;
|
|
21315
|
+
"CSS.resolveValues": CSS.resolveValuesReturnValue;
|
|
21316
|
+
"CSS.getLonghandProperties": CSS.getLonghandPropertiesReturnValue;
|
|
21071
21317
|
"CSS.getInlineStylesForNode": CSS.getInlineStylesForNodeReturnValue;
|
|
21318
|
+
"CSS.getAnimatedStylesForNode": CSS.getAnimatedStylesForNodeReturnValue;
|
|
21072
21319
|
"CSS.getMatchedStylesForNode": CSS.getMatchedStylesForNodeReturnValue;
|
|
21073
21320
|
"CSS.getMediaQueries": CSS.getMediaQueriesReturnValue;
|
|
21074
21321
|
"CSS.getPlatformFontsForNode": CSS.getPlatformFontsForNodeReturnValue;
|
|
21075
21322
|
"CSS.getStyleSheetText": CSS.getStyleSheetTextReturnValue;
|
|
21076
21323
|
"CSS.getLayersForNode": CSS.getLayersForNodeReturnValue;
|
|
21077
21324
|
"CSS.getLocationForSelector": CSS.getLocationForSelectorReturnValue;
|
|
21325
|
+
"CSS.trackComputedStyleUpdatesForNode": CSS.trackComputedStyleUpdatesForNodeReturnValue;
|
|
21078
21326
|
"CSS.trackComputedStyleUpdates": CSS.trackComputedStyleUpdatesReturnValue;
|
|
21079
21327
|
"CSS.takeComputedStyleUpdates": CSS.takeComputedStyleUpdatesReturnValue;
|
|
21080
21328
|
"CSS.setEffectivePropertyValueForNode": CSS.setEffectivePropertyValueForNodeReturnValue;
|
|
@@ -21309,6 +21557,7 @@ Error was thrown.
|
|
|
21309
21557
|
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
|
|
21310
21558
|
"Network.enableReportingApi": Network.enableReportingApiReturnValue;
|
|
21311
21559
|
"Network.loadNetworkResource": Network.loadNetworkResourceReturnValue;
|
|
21560
|
+
"Network.setCookieControls": Network.setCookieControlsReturnValue;
|
|
21312
21561
|
"Overlay.disable": Overlay.disableReturnValue;
|
|
21313
21562
|
"Overlay.enable": Overlay.enableReturnValue;
|
|
21314
21563
|
"Overlay.getHighlightObjectForTest": Overlay.getHighlightObjectForTestReturnValue;
|