@paulirish/trace_engine 0.0.60 → 0.0.62
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/.tmp/tsbuildinfo/analyze-trace.d.mts.map +1 -1
- package/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +1 -1
- package/analyze-inspector-issues.mjs +1 -1
- package/analyze-trace.mjs +1 -2
- package/core/platform/ArrayUtilities.d.ts +2 -0
- package/core/platform/ArrayUtilities.js +11 -1
- package/core/platform/ArrayUtilities.js.map +1 -1
- package/core/platform/HostRuntime.d.ts +4 -0
- package/core/platform/HostRuntime.js +25 -0
- package/core/platform/HostRuntime.js.map +1 -0
- package/core/platform/KeyboardUtilities.d.ts +6 -2
- package/core/platform/KeyboardUtilities.js.map +1 -1
- package/core/platform/StringUtilities.d.ts +2 -0
- package/core/platform/StringUtilities.js +64 -13
- package/core/platform/StringUtilities.js.map +1 -1
- package/core/platform/api/HostRuntime.d.ts +36 -0
- package/core/platform/api/HostRuntime.js +5 -0
- package/core/platform/api/HostRuntime.js.map +1 -0
- package/core/platform/api/api-tsconfig.json +43 -0
- package/core/platform/api/api.d.ts +2 -0
- package/core/platform/api/api.js +6 -0
- package/core/platform/api/api.js.map +1 -0
- package/core/platform/api/api_node_typecheck-tsconfig.json +48 -0
- package/core/platform/api/bundle-tsconfig.json +1 -0
- package/core/platform/api/devtools_entrypoint-bundle-typescript-tsconfig.json +48 -0
- package/core/platform/browser/HostRuntime.d.ts +2 -0
- package/core/platform/browser/HostRuntime.js +64 -0
- package/core/platform/browser/HostRuntime.js.map +1 -0
- package/core/platform/browser/browser-tsconfig.json +48 -0
- package/core/platform/browser/browser.d.ts +2 -0
- package/core/platform/browser/browser.js +6 -0
- package/core/platform/browser/browser.js.map +1 -0
- package/core/platform/browser/bundle-tsconfig.json +1 -0
- package/core/platform/browser/devtools_entrypoint-bundle-typescript-tsconfig.json +48 -0
- package/core/platform/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/core/platform/node/HostRuntime.d.ts +2 -0
- package/core/platform/node/HostRuntime.js +73 -0
- package/core/platform/node/HostRuntime.js.map +1 -0
- package/core/platform/node/bundle-tsconfig.json +1 -0
- package/core/platform/node/devtools_entrypoint-bundle-typescript-tsconfig.json +48 -0
- package/core/platform/node/node-tsconfig.json +52 -0
- package/core/platform/node/node.d.ts +2 -0
- package/core/platform/node/node.js +6 -0
- package/core/platform/node/node.js.map +1 -0
- package/core/platform/platform-tsconfig.json +17 -5
- package/core/platform/platform.d.ts +2 -2
- package/core/platform/platform.js +2 -2
- package/core/platform/platform.js.map +1 -1
- package/core/platform/platform_node_typecheck-tsconfig.json +74 -0
- package/generated/protocol.d.ts +1517 -592
- package/locales/af.json +83 -38
- package/locales/am.json +83 -38
- package/locales/ar.json +86 -41
- package/locales/as.json +83 -38
- package/locales/az.json +83 -38
- package/locales/be.json +81 -36
- package/locales/bg.json +81 -36
- package/locales/bn.json +83 -38
- package/locales/bs.json +82 -37
- package/locales/ca.json +81 -36
- package/locales/cs.json +81 -36
- package/locales/cy.json +83 -38
- package/locales/da.json +83 -38
- package/locales/de.json +81 -36
- package/locales/el.json +82 -37
- package/locales/en-GB.json +83 -38
- package/locales/en-US.json +104 -35
- package/locales/en-XL.json +104 -35
- package/locales/es-419.json +81 -36
- package/locales/es.json +82 -37
- package/locales/et.json +83 -38
- package/locales/eu.json +81 -36
- package/locales/fa.json +84 -39
- package/locales/fi.json +81 -36
- package/locales/fil.json +83 -38
- package/locales/fr-CA.json +82 -37
- package/locales/fr.json +168 -123
- package/locales/gl.json +82 -37
- package/locales/gu.json +82 -37
- package/locales/he.json +96 -51
- package/locales/hi.json +82 -37
- package/locales/hr.json +81 -36
- package/locales/hu.json +82 -37
- package/locales/hy.json +82 -37
- package/locales/id.json +83 -38
- package/locales/is.json +82 -37
- package/locales/it.json +81 -36
- package/locales/ja.json +81 -36
- package/locales/ka.json +83 -38
- package/locales/kk.json +81 -36
- package/locales/km.json +83 -38
- package/locales/kn.json +82 -37
- package/locales/ko.json +82 -37
- package/locales/ky.json +81 -36
- package/locales/lo.json +82 -37
- package/locales/lt.json +81 -36
- package/locales/lv.json +81 -36
- package/locales/mk.json +84 -39
- package/locales/ml.json +82 -37
- package/locales/mn.json +82 -37
- package/locales/mr.json +83 -38
- package/locales/ms.json +81 -36
- package/locales/my.json +82 -37
- package/locales/ne.json +82 -37
- package/locales/nl.json +82 -37
- package/locales/no.json +81 -36
- package/locales/or.json +81 -36
- package/locales/pa.json +81 -36
- package/locales/pl.json +81 -36
- package/locales/pt-PT.json +81 -36
- package/locales/pt.json +83 -38
- package/locales/ro.json +82 -37
- package/locales/ru.json +81 -36
- package/locales/si.json +81 -36
- package/locales/sk.json +81 -36
- package/locales/sl.json +81 -36
- package/locales/sq.json +82 -37
- package/locales/sr-Latn.json +82 -37
- package/locales/sr.json +82 -37
- package/locales/sv.json +84 -39
- package/locales/sw.json +83 -38
- package/locales/ta.json +82 -37
- package/locales/te.json +82 -37
- package/locales/th.json +82 -37
- package/locales/tr.json +81 -36
- package/locales/uk.json +81 -36
- package/locales/ur.json +82 -37
- package/locales/uz.json +82 -37
- package/locales/vi.json +83 -38
- package/locales/zh-HK.json +81 -36
- package/locales/zh-TW.json +84 -39
- package/locales/zh.json +84 -39
- package/locales/zu.json +82 -37
- package/models/cpu_profile/CPUProfileDataModel.d.ts +9 -0
- package/models/cpu_profile/CPUProfileDataModel.js +9 -7
- package/models/cpu_profile/CPUProfileDataModel.js.map +1 -1
- package/models/cpu_profile/ProfileTreeModel.d.ts +3 -2
- package/models/cpu_profile/ProfileTreeModel.js +6 -7
- package/models/cpu_profile/ProfileTreeModel.js.map +1 -1
- package/models/cpu_profile/cpu_profile-tsconfig.json +4 -3
- package/models/cpu_profile/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/EntityMapper.d.ts +1 -0
- package/models/trace/EntityMapper.js +10 -0
- package/models/trace/EntityMapper.js.map +1 -1
- package/models/trace/EventsSerializer.js +10 -2
- package/models/trace/EventsSerializer.js.map +1 -1
- package/models/trace/LanternComputationData.d.ts +1 -1
- package/models/trace/LanternComputationData.js +3 -8
- package/models/trace/LanternComputationData.js.map +1 -1
- package/models/trace/ModelImpl.d.ts +1 -0
- package/models/trace/ModelImpl.js +9 -6
- package/models/trace/ModelImpl.js.map +1 -1
- package/models/trace/Processor.js +23 -23
- package/models/trace/Processor.js.map +1 -1
- package/models/trace/Styles.js +13 -5
- package/models/trace/Styles.js.map +1 -1
- package/models/trace/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/extras/Initiators.d.ts +12 -0
- package/models/trace/extras/Initiators.js +47 -0
- package/models/trace/extras/Initiators.js.map +1 -0
- package/models/trace/extras/TraceTree.js +13 -5
- package/models/trace/extras/TraceTree.js.map +1 -1
- package/models/trace/extras/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/extras/extras-tsconfig.json +11 -3
- package/models/trace/extras/extras.d.ts +0 -3979
- package/models/trace/extras/extras.js +0 -3979
- package/models/trace/extras/extras.js.map +1 -1
- package/models/trace/handlers/LargestImagePaintHandler.js +2 -2
- package/models/trace/handlers/LargestImagePaintHandler.js.map +1 -1
- package/models/trace/handlers/LayoutShiftsHandler.js +1 -1
- package/models/trace/handlers/LayoutShiftsHandler.js.map +1 -1
- package/models/trace/handlers/MetaHandler.d.ts +12 -1
- package/models/trace/handlers/MetaHandler.js +10 -1
- package/models/trace/handlers/MetaHandler.js.map +1 -1
- package/models/trace/handlers/NetworkRequestsHandler.d.ts +8 -1
- package/models/trace/handlers/NetworkRequestsHandler.js +22 -4
- package/models/trace/handlers/NetworkRequestsHandler.js.map +1 -1
- package/models/trace/handlers/PageLoadMetricsHandler.d.ts +13 -3
- package/models/trace/handlers/PageLoadMetricsHandler.js +71 -27
- package/models/trace/handlers/PageLoadMetricsHandler.js.map +1 -1
- package/models/trace/handlers/SamplesHandler.js +59 -6
- package/models/trace/handlers/SamplesHandler.js.map +1 -1
- package/models/trace/handlers/ScriptsHandler.js +24 -0
- package/models/trace/handlers/ScriptsHandler.js.map +1 -1
- package/models/trace/handlers/UserTimingsHandler.d.ts +1 -1
- package/models/trace/handlers/UserTimingsHandler.js +1 -1
- package/models/trace/handlers/UserTimingsHandler.js.map +1 -1
- package/models/trace/handlers/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/handlers/handlers-tsconfig.json +13 -3
- package/models/trace/helpers/Network.js +1 -1
- package/models/trace/helpers/Network.js.map +1 -1
- package/models/trace/helpers/SamplesIntegrator.js +1 -8
- package/models/trace/helpers/SamplesIntegrator.js.map +1 -1
- package/models/trace/helpers/Timing.d.ts +1 -1
- package/models/trace/helpers/Timing.js +9 -2
- package/models/trace/helpers/Timing.js.map +1 -1
- package/models/trace/helpers/Trace.d.ts +1 -0
- package/models/trace/helpers/Trace.js +12 -5
- package/models/trace/helpers/Trace.js.map +1 -1
- package/models/trace/helpers/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/helpers/helpers-tsconfig.json +7 -3
- package/models/trace/insights/CLSCulprits.d.ts +1 -1
- package/models/trace/insights/CLSCulprits.js +2 -1
- package/models/trace/insights/CLSCulprits.js.map +1 -1
- package/models/trace/insights/Cache.d.ts +1 -1
- package/models/trace/insights/Cache.js +2 -1
- package/models/trace/insights/Cache.js.map +1 -1
- package/models/trace/insights/CharacterSet.d.ts +49 -0
- package/models/trace/insights/CharacterSet.js +132 -0
- package/models/trace/insights/CharacterSet.js.map +1 -0
- package/models/trace/insights/Common.d.ts +2 -2
- package/models/trace/insights/Common.js +1 -6
- package/models/trace/insights/Common.js.map +1 -1
- package/models/trace/insights/DOMSize.d.ts +1 -1
- package/models/trace/insights/DOMSize.js +2 -1
- package/models/trace/insights/DOMSize.js.map +1 -1
- package/models/trace/insights/DocumentLatency.d.ts +1 -1
- package/models/trace/insights/DocumentLatency.js +2 -1
- package/models/trace/insights/DocumentLatency.js.map +1 -1
- package/models/trace/insights/DuplicatedJavaScript.d.ts +1 -1
- package/models/trace/insights/DuplicatedJavaScript.js +2 -1
- package/models/trace/insights/DuplicatedJavaScript.js.map +1 -1
- package/models/trace/insights/FontDisplay.d.ts +1 -1
- package/models/trace/insights/FontDisplay.js +2 -1
- package/models/trace/insights/FontDisplay.js.map +1 -1
- package/models/trace/insights/ForcedReflow.d.ts +2 -2
- package/models/trace/insights/ForcedReflow.js +3 -2
- package/models/trace/insights/ForcedReflow.js.map +1 -1
- package/models/trace/insights/INPBreakdown.d.ts +1 -1
- package/models/trace/insights/INPBreakdown.js +2 -1
- package/models/trace/insights/INPBreakdown.js.map +1 -1
- package/models/trace/insights/ImageDelivery.d.ts +1 -1
- package/models/trace/insights/ImageDelivery.js +2 -1
- package/models/trace/insights/ImageDelivery.js.map +1 -1
- package/models/trace/insights/LCPBreakdown.d.ts +2 -2
- package/models/trace/insights/LCPBreakdown.js +4 -3
- package/models/trace/insights/LCPBreakdown.js.map +1 -1
- package/models/trace/insights/LCPDiscovery.d.ts +8 -4
- package/models/trace/insights/LCPDiscovery.js +18 -11
- package/models/trace/insights/LCPDiscovery.js.map +1 -1
- package/models/trace/insights/LegacyJavaScript.d.ts +1 -1
- package/models/trace/insights/LegacyJavaScript.js +2 -1
- package/models/trace/insights/LegacyJavaScript.js.map +1 -1
- package/models/trace/insights/Models.d.ts +1 -0
- package/models/trace/insights/Models.js +1 -0
- package/models/trace/insights/Models.js.map +1 -1
- package/models/trace/insights/ModernHTTP.d.ts +1 -1
- package/models/trace/insights/ModernHTTP.js +2 -1
- package/models/trace/insights/ModernHTTP.js.map +1 -1
- package/models/trace/insights/NetworkDependencyTree.d.ts +1 -1
- package/models/trace/insights/NetworkDependencyTree.js +6 -4
- package/models/trace/insights/NetworkDependencyTree.js.map +1 -1
- package/models/trace/insights/RenderBlocking.d.ts +2 -2
- package/models/trace/insights/RenderBlocking.js +8 -7
- package/models/trace/insights/RenderBlocking.js.map +1 -1
- package/models/trace/insights/SlowCSSSelector.d.ts +1 -1
- package/models/trace/insights/SlowCSSSelector.js +2 -1
- package/models/trace/insights/SlowCSSSelector.js.map +1 -1
- package/models/trace/insights/ThirdParties.js +2 -1
- package/models/trace/insights/ThirdParties.js.map +1 -1
- package/models/trace/insights/Viewport.d.ts +1 -1
- package/models/trace/insights/Viewport.js +2 -1
- package/models/trace/insights/Viewport.js.map +1 -1
- package/models/trace/insights/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/insights/insights-tsconfig.json +26 -3
- package/models/trace/insights/types.d.ts +17 -6
- package/models/trace/insights/types.js +1 -0
- package/models/trace/insights/types.js.map +1 -1
- package/models/trace/lantern/core/core-tsconfig.json +4 -3
- package/models/trace/lantern/core/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/lantern/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/lantern/graph/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/lantern/graph/graph-tsconfig.json +4 -3
- package/models/trace/lantern/lantern-tsconfig.json +4 -3
- package/models/trace/lantern/metrics/FirstContentfulPaint.js +6 -6
- package/models/trace/lantern/metrics/FirstContentfulPaint.js.map +1 -1
- package/models/trace/lantern/metrics/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/lantern/metrics/metrics-tsconfig.json +4 -3
- package/models/trace/lantern/simulation/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/lantern/simulation/simulation-tsconfig.json +4 -3
- package/models/trace/lantern/types/Lantern.d.ts +7 -7
- package/models/trace/lantern/types/Lantern.js.map +1 -1
- package/models/trace/lantern/types/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/lantern/types/types-tsconfig.json +4 -3
- package/models/trace/trace-tsconfig.json +7 -3
- package/models/trace/types/Configuration.d.ts +1 -4
- package/models/trace/types/Configuration.js +0 -1
- package/models/trace/types/Configuration.js.map +1 -1
- package/models/trace/types/File.d.ts +8 -0
- package/models/trace/types/File.js.map +1 -1
- package/models/trace/types/TraceEvents.d.ts +97 -15
- package/models/trace/types/TraceEvents.js +44 -11
- package/models/trace/types/TraceEvents.js.map +1 -1
- package/models/trace/types/devtools_entrypoint-bundle-typescript-tsconfig.json +4 -3
- package/models/trace/types/types-tsconfig.json +10 -3
- package/package.json +1 -1
- package/test/test-trace-engine.mjs +8 -9
- package/.tmp/tsbuildinfo/models/trace/extras/polyfills.d.ts +0 -4
- package/.tmp/tsbuildinfo/models/trace/extras/polyfills.d.ts.map +0 -1
- package/core/platform/DOMUtilities.d.ts +0 -16
- package/core/platform/DOMUtilities.js +0 -123
- package/core/platform/DOMUtilities.js.map +0 -1
package/generated/protocol.d.ts
CHANGED
|
@@ -512,9 +512,9 @@ export declare namespace Animation {
|
|
|
512
512
|
*/
|
|
513
513
|
iterationStart: number;
|
|
514
514
|
/**
|
|
515
|
-
* `AnimationEffect`'s iterations.
|
|
515
|
+
* `AnimationEffect`'s iterations. Omitted if the value is infinite.
|
|
516
516
|
*/
|
|
517
|
-
iterations
|
|
517
|
+
iterations?: number;
|
|
518
518
|
/**
|
|
519
519
|
* `AnimationEffect`'s iteration duration.
|
|
520
520
|
* Milliseconds for time based animations and
|
|
@@ -718,8 +718,6 @@ export declare namespace Audits {
|
|
|
718
718
|
ExcludeSameSiteNoneInsecure = "ExcludeSameSiteNoneInsecure",
|
|
719
719
|
ExcludeSameSiteLax = "ExcludeSameSiteLax",
|
|
720
720
|
ExcludeSameSiteStrict = "ExcludeSameSiteStrict",
|
|
721
|
-
ExcludeInvalidSameParty = "ExcludeInvalidSameParty",
|
|
722
|
-
ExcludeSamePartyCrossPartyContext = "ExcludeSamePartyCrossPartyContext",
|
|
723
721
|
ExcludeDomainNonASCII = "ExcludeDomainNonASCII",
|
|
724
722
|
ExcludeThirdPartyCookieBlockedInFirstPartySet = "ExcludeThirdPartyCookieBlockedInFirstPartySet",
|
|
725
723
|
ExcludeThirdPartyPhaseout = "ExcludeThirdPartyPhaseout",
|
|
@@ -793,6 +791,16 @@ export declare namespace Audits {
|
|
|
793
791
|
*/
|
|
794
792
|
insight?: CookieIssueInsight;
|
|
795
793
|
}
|
|
794
|
+
const enum PerformanceIssueType {
|
|
795
|
+
DocumentCookie = "DocumentCookie"
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* Details for a performance issue.
|
|
799
|
+
*/
|
|
800
|
+
interface PerformanceIssueDetails {
|
|
801
|
+
performanceIssueType: PerformanceIssueType;
|
|
802
|
+
sourceCodeLocation?: SourceCodeLocation;
|
|
803
|
+
}
|
|
796
804
|
const enum MixedContentResolutionStatus {
|
|
797
805
|
MixedContentBlocked = "MixedContentBlocked",
|
|
798
806
|
MixedContentAutomaticallyUpgraded = "MixedContentAutomaticallyUpgraded",
|
|
@@ -950,15 +958,6 @@ export declare namespace Audits {
|
|
|
950
958
|
isWarning: boolean;
|
|
951
959
|
type: SharedArrayBufferIssueType;
|
|
952
960
|
}
|
|
953
|
-
interface LowTextContrastIssueDetails {
|
|
954
|
-
violatingNodeId: DOM.BackendNodeId;
|
|
955
|
-
violatingNodeSelector: string;
|
|
956
|
-
contrastRatio: number;
|
|
957
|
-
thresholdAA: number;
|
|
958
|
-
thresholdAAA: number;
|
|
959
|
-
fontSize: string;
|
|
960
|
-
fontWeight: string;
|
|
961
|
-
}
|
|
962
961
|
/**
|
|
963
962
|
* Details for a CORS related issue, e.g. a warning or error related to
|
|
964
963
|
* CORS RFC1918 enforcement.
|
|
@@ -1051,6 +1050,14 @@ export declare namespace Audits {
|
|
|
1051
1050
|
IncorrectDigestType = "IncorrectDigestType",
|
|
1052
1051
|
IncorrectDigestLength = "IncorrectDigestLength"
|
|
1053
1052
|
}
|
|
1053
|
+
const enum ConnectionAllowlistError {
|
|
1054
|
+
InvalidHeader = "InvalidHeader",
|
|
1055
|
+
MoreThanOneList = "MoreThanOneList",
|
|
1056
|
+
ItemNotInnerList = "ItemNotInnerList",
|
|
1057
|
+
InvalidAllowlistItemType = "InvalidAllowlistItemType",
|
|
1058
|
+
ReportingEndpointNotToken = "ReportingEndpointNotToken",
|
|
1059
|
+
InvalidUrlPattern = "InvalidUrlPattern"
|
|
1060
|
+
}
|
|
1054
1061
|
/**
|
|
1055
1062
|
* Details for issues around "Attribution Reporting API" usage.
|
|
1056
1063
|
* Explainer: https://github.com/WICG/attribution-reporting-api
|
|
@@ -1097,18 +1104,27 @@ export declare namespace Audits {
|
|
|
1097
1104
|
error: UnencodedDigestError;
|
|
1098
1105
|
request: AffectedRequest;
|
|
1099
1106
|
}
|
|
1107
|
+
interface ConnectionAllowlistIssueDetails {
|
|
1108
|
+
error: ConnectionAllowlistError;
|
|
1109
|
+
request: AffectedRequest;
|
|
1110
|
+
}
|
|
1100
1111
|
const enum GenericIssueErrorType {
|
|
1101
1112
|
FormLabelForNameError = "FormLabelForNameError",
|
|
1102
1113
|
FormDuplicateIdForInputError = "FormDuplicateIdForInputError",
|
|
1103
1114
|
FormInputWithNoLabelError = "FormInputWithNoLabelError",
|
|
1104
1115
|
FormAutocompleteAttributeEmptyError = "FormAutocompleteAttributeEmptyError",
|
|
1105
1116
|
FormEmptyIdAndNameAttributesForInputError = "FormEmptyIdAndNameAttributesForInputError",
|
|
1106
|
-
|
|
1117
|
+
FormAriaLabelledByToNonExistingIdError = "FormAriaLabelledByToNonExistingIdError",
|
|
1107
1118
|
FormInputAssignedAutocompleteValueToIdOrNameAttributeError = "FormInputAssignedAutocompleteValueToIdOrNameAttributeError",
|
|
1108
|
-
|
|
1119
|
+
FormLabelHasNeitherForNorNestedInputError = "FormLabelHasNeitherForNorNestedInputError",
|
|
1109
1120
|
FormLabelForMatchesNonExistingIdError = "FormLabelForMatchesNonExistingIdError",
|
|
1110
1121
|
FormInputHasWrongButWellIntendedAutocompleteValueError = "FormInputHasWrongButWellIntendedAutocompleteValueError",
|
|
1111
|
-
ResponseWasBlockedByORB = "ResponseWasBlockedByORB"
|
|
1122
|
+
ResponseWasBlockedByORB = "ResponseWasBlockedByORB",
|
|
1123
|
+
NavigationEntryMarkedSkippable = "NavigationEntryMarkedSkippable",
|
|
1124
|
+
AutofillAndManualTextPolicyControlledFeaturesInfo = "AutofillAndManualTextPolicyControlledFeaturesInfo",
|
|
1125
|
+
AutofillPolicyControlledFeatureInfo = "AutofillPolicyControlledFeatureInfo",
|
|
1126
|
+
ManualTextPolicyControlledFeatureInfo = "ManualTextPolicyControlledFeatureInfo",
|
|
1127
|
+
FormModelContextParameterMissingTitleAndDescription = "FormModelContextParameterMissingTitleAndDescription"
|
|
1112
1128
|
}
|
|
1113
1129
|
/**
|
|
1114
1130
|
* Depending on the concrete errorType, different properties are set.
|
|
@@ -1185,10 +1201,6 @@ export declare namespace Audits {
|
|
|
1185
1201
|
ConfigNoResponse = "ConfigNoResponse",
|
|
1186
1202
|
ConfigInvalidResponse = "ConfigInvalidResponse",
|
|
1187
1203
|
ConfigInvalidContentType = "ConfigInvalidContentType",
|
|
1188
|
-
ClientMetadataHttpNotFound = "ClientMetadataHttpNotFound",
|
|
1189
|
-
ClientMetadataNoResponse = "ClientMetadataNoResponse",
|
|
1190
|
-
ClientMetadataInvalidResponse = "ClientMetadataInvalidResponse",
|
|
1191
|
-
ClientMetadataInvalidContentType = "ClientMetadataInvalidContentType",
|
|
1192
1204
|
IdpNotPotentiallyTrustworthy = "IdpNotPotentiallyTrustworthy",
|
|
1193
1205
|
DisabledInSettings = "DisabledInSettings",
|
|
1194
1206
|
DisabledInFlags = "DisabledInFlags",
|
|
@@ -1210,11 +1222,9 @@ export declare namespace Audits {
|
|
|
1210
1222
|
Canceled = "Canceled",
|
|
1211
1223
|
RpPageNotVisible = "RpPageNotVisible",
|
|
1212
1224
|
SilentMediationFailure = "SilentMediationFailure",
|
|
1213
|
-
ThirdPartyCookiesBlocked = "ThirdPartyCookiesBlocked",
|
|
1214
1225
|
NotSignedInWithIdp = "NotSignedInWithIdp",
|
|
1215
1226
|
MissingTransientUserActivation = "MissingTransientUserActivation",
|
|
1216
1227
|
ReplacedByActiveMode = "ReplacedByActiveMode",
|
|
1217
|
-
InvalidFieldsSpecified = "InvalidFieldsSpecified",
|
|
1218
1228
|
RelyingPartyOriginIsOpaque = "RelyingPartyOriginIsOpaque",
|
|
1219
1229
|
TypeNotMatching = "TypeNotMatching",
|
|
1220
1230
|
UiDismissedNoEmbargo = "UiDismissedNoEmbargo",
|
|
@@ -1354,6 +1364,82 @@ export declare namespace Audits {
|
|
|
1354
1364
|
*/
|
|
1355
1365
|
sourceCodeLocation?: SourceCodeLocation;
|
|
1356
1366
|
}
|
|
1367
|
+
const enum PermissionElementIssueType {
|
|
1368
|
+
InvalidType = "InvalidType",
|
|
1369
|
+
FencedFrameDisallowed = "FencedFrameDisallowed",
|
|
1370
|
+
CspFrameAncestorsMissing = "CspFrameAncestorsMissing",
|
|
1371
|
+
PermissionsPolicyBlocked = "PermissionsPolicyBlocked",
|
|
1372
|
+
PaddingRightUnsupported = "PaddingRightUnsupported",
|
|
1373
|
+
PaddingBottomUnsupported = "PaddingBottomUnsupported",
|
|
1374
|
+
InsetBoxShadowUnsupported = "InsetBoxShadowUnsupported",
|
|
1375
|
+
RequestInProgress = "RequestInProgress",
|
|
1376
|
+
UntrustedEvent = "UntrustedEvent",
|
|
1377
|
+
RegistrationFailed = "RegistrationFailed",
|
|
1378
|
+
TypeNotSupported = "TypeNotSupported",
|
|
1379
|
+
InvalidTypeActivation = "InvalidTypeActivation",
|
|
1380
|
+
SecurityChecksFailed = "SecurityChecksFailed",
|
|
1381
|
+
ActivationDisabled = "ActivationDisabled",
|
|
1382
|
+
GeolocationDeprecated = "GeolocationDeprecated",
|
|
1383
|
+
InvalidDisplayStyle = "InvalidDisplayStyle",
|
|
1384
|
+
NonOpaqueColor = "NonOpaqueColor",
|
|
1385
|
+
LowContrast = "LowContrast",
|
|
1386
|
+
FontSizeTooSmall = "FontSizeTooSmall",
|
|
1387
|
+
FontSizeTooLarge = "FontSizeTooLarge",
|
|
1388
|
+
InvalidSizeValue = "InvalidSizeValue"
|
|
1389
|
+
}
|
|
1390
|
+
/**
|
|
1391
|
+
* This issue warns about improper usage of the <permission> element.
|
|
1392
|
+
*/
|
|
1393
|
+
interface PermissionElementIssueDetails {
|
|
1394
|
+
issueType: PermissionElementIssueType;
|
|
1395
|
+
/**
|
|
1396
|
+
* The value of the type attribute.
|
|
1397
|
+
*/
|
|
1398
|
+
type?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* The node ID of the <permission> element.
|
|
1401
|
+
*/
|
|
1402
|
+
nodeId?: DOM.BackendNodeId;
|
|
1403
|
+
/**
|
|
1404
|
+
* True if the issue is a warning, false if it is an error.
|
|
1405
|
+
*/
|
|
1406
|
+
isWarning?: boolean;
|
|
1407
|
+
/**
|
|
1408
|
+
* Fields for message construction:
|
|
1409
|
+
* Used for messages that reference a specific permission name
|
|
1410
|
+
*/
|
|
1411
|
+
permissionName?: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Used for messages about occlusion
|
|
1414
|
+
*/
|
|
1415
|
+
occluderNodeInfo?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Used for messages about occluder's parent
|
|
1418
|
+
*/
|
|
1419
|
+
occluderParentNodeInfo?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Used for messages about activation disabled reason
|
|
1422
|
+
*/
|
|
1423
|
+
disableReason?: string;
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* The issue warns about blocked calls to privacy sensitive APIs via the
|
|
1427
|
+
* Selective Permissions Intervention.
|
|
1428
|
+
*/
|
|
1429
|
+
interface SelectivePermissionsInterventionIssueDetails {
|
|
1430
|
+
/**
|
|
1431
|
+
* Which API was intervened on.
|
|
1432
|
+
*/
|
|
1433
|
+
apiName: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* Why the ad script using the API is considered an ad.
|
|
1436
|
+
*/
|
|
1437
|
+
adAncestry: Network.AdAncestry;
|
|
1438
|
+
/**
|
|
1439
|
+
* The stack trace at the time of the intervention.
|
|
1440
|
+
*/
|
|
1441
|
+
stackTrace?: Runtime.StackTrace;
|
|
1442
|
+
}
|
|
1357
1443
|
/**
|
|
1358
1444
|
* A unique identifier for the type of issue. Each type may use one of the
|
|
1359
1445
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
@@ -1366,7 +1452,6 @@ export declare namespace Audits {
|
|
|
1366
1452
|
HeavyAdIssue = "HeavyAdIssue",
|
|
1367
1453
|
ContentSecurityPolicyIssue = "ContentSecurityPolicyIssue",
|
|
1368
1454
|
SharedArrayBufferIssue = "SharedArrayBufferIssue",
|
|
1369
|
-
LowTextContrastIssue = "LowTextContrastIssue",
|
|
1370
1455
|
CorsIssue = "CorsIssue",
|
|
1371
1456
|
AttributionReportingIssue = "AttributionReportingIssue",
|
|
1372
1457
|
QuirksModeIssue = "QuirksModeIssue",
|
|
@@ -1385,7 +1470,11 @@ export declare namespace Audits {
|
|
|
1385
1470
|
ElementAccessibilityIssue = "ElementAccessibilityIssue",
|
|
1386
1471
|
SRIMessageSignatureIssue = "SRIMessageSignatureIssue",
|
|
1387
1472
|
UnencodedDigestIssue = "UnencodedDigestIssue",
|
|
1388
|
-
|
|
1473
|
+
ConnectionAllowlistIssue = "ConnectionAllowlistIssue",
|
|
1474
|
+
UserReidentificationIssue = "UserReidentificationIssue",
|
|
1475
|
+
PermissionElementIssue = "PermissionElementIssue",
|
|
1476
|
+
PerformanceIssue = "PerformanceIssue",
|
|
1477
|
+
SelectivePermissionsInterventionIssue = "SelectivePermissionsInterventionIssue"
|
|
1389
1478
|
}
|
|
1390
1479
|
/**
|
|
1391
1480
|
* This struct holds a list of optional fields with additional information
|
|
@@ -1399,7 +1488,6 @@ export declare namespace Audits {
|
|
|
1399
1488
|
heavyAdIssueDetails?: HeavyAdIssueDetails;
|
|
1400
1489
|
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
|
|
1401
1490
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
|
1402
|
-
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
|
1403
1491
|
corsIssueDetails?: CorsIssueDetails;
|
|
1404
1492
|
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|
|
1405
1493
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
|
@@ -1421,7 +1509,11 @@ export declare namespace Audits {
|
|
|
1421
1509
|
elementAccessibilityIssueDetails?: ElementAccessibilityIssueDetails;
|
|
1422
1510
|
sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
|
|
1423
1511
|
unencodedDigestIssueDetails?: UnencodedDigestIssueDetails;
|
|
1512
|
+
connectionAllowlistIssueDetails?: ConnectionAllowlistIssueDetails;
|
|
1424
1513
|
userReidentificationIssueDetails?: UserReidentificationIssueDetails;
|
|
1514
|
+
permissionElementIssueDetails?: PermissionElementIssueDetails;
|
|
1515
|
+
performanceIssueDetails?: PerformanceIssueDetails;
|
|
1516
|
+
selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
|
|
1425
1517
|
}
|
|
1426
1518
|
/**
|
|
1427
1519
|
* A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
|
@@ -1477,12 +1569,6 @@ export declare namespace Audits {
|
|
|
1477
1569
|
*/
|
|
1478
1570
|
encodedSize: integer;
|
|
1479
1571
|
}
|
|
1480
|
-
interface CheckContrastRequest {
|
|
1481
|
-
/**
|
|
1482
|
-
* Whether to report WCAG AAA level issues. Default is false.
|
|
1483
|
-
*/
|
|
1484
|
-
reportAAA?: boolean;
|
|
1485
|
-
}
|
|
1486
1572
|
interface CheckFormsIssuesResponse extends ProtocolResponseWithError {
|
|
1487
1573
|
formIssues: GenericIssueDetails[];
|
|
1488
1574
|
}
|
|
@@ -1991,7 +2077,9 @@ export declare namespace Browser {
|
|
|
1991
2077
|
IdleDetection = "idleDetection",
|
|
1992
2078
|
KeyboardLock = "keyboardLock",
|
|
1993
2079
|
LocalFonts = "localFonts",
|
|
2080
|
+
LocalNetwork = "localNetwork",
|
|
1994
2081
|
LocalNetworkAccess = "localNetworkAccess",
|
|
2082
|
+
LoopbackNetwork = "loopbackNetwork",
|
|
1995
2083
|
Midi = "midi",
|
|
1996
2084
|
MidiSysex = "midiSysex",
|
|
1997
2085
|
Nfc = "nfc",
|
|
@@ -2110,15 +2198,15 @@ export declare namespace Browser {
|
|
|
2110
2198
|
*/
|
|
2111
2199
|
setting: PermissionSetting;
|
|
2112
2200
|
/**
|
|
2113
|
-
*
|
|
2201
|
+
* Embedding origin the permission applies to, all origins if not specified.
|
|
2114
2202
|
*/
|
|
2115
2203
|
origin?: string;
|
|
2116
2204
|
/**
|
|
2117
|
-
*
|
|
2118
|
-
* present and valid. If the
|
|
2119
|
-
*
|
|
2205
|
+
* Embedded origin the permission applies to. It is ignored unless the embedding origin is
|
|
2206
|
+
* present and valid. If the embedding origin is provided but the embedded origin isn't, the
|
|
2207
|
+
* embedding origin is used as the embedded origin.
|
|
2120
2208
|
*/
|
|
2121
|
-
|
|
2209
|
+
embeddedOrigin?: string;
|
|
2122
2210
|
/**
|
|
2123
2211
|
* Context to override. When omitted, default browser context is used.
|
|
2124
2212
|
*/
|
|
@@ -2383,7 +2471,6 @@ export declare namespace Browser {
|
|
|
2383
2471
|
* subsequently load the required stylesheet contents using the `getStyleSheet[Text]()` methods.
|
|
2384
2472
|
*/
|
|
2385
2473
|
export declare namespace CSS {
|
|
2386
|
-
type StyleSheetId = OpaqueIdentifier<string, 'Protocol.CSS.StyleSheetId'>;
|
|
2387
2474
|
/**
|
|
2388
2475
|
* Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent
|
|
2389
2476
|
* stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via
|
|
@@ -2529,7 +2616,7 @@ export declare namespace CSS {
|
|
|
2529
2616
|
/**
|
|
2530
2617
|
* The stylesheet identifier.
|
|
2531
2618
|
*/
|
|
2532
|
-
styleSheetId: StyleSheetId;
|
|
2619
|
+
styleSheetId: DOM.StyleSheetId;
|
|
2533
2620
|
/**
|
|
2534
2621
|
* Owner frame identifier.
|
|
2535
2622
|
*/
|
|
@@ -2614,7 +2701,7 @@ export declare namespace CSS {
|
|
|
2614
2701
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
2615
2702
|
* stylesheet rules) this rule came from.
|
|
2616
2703
|
*/
|
|
2617
|
-
styleSheetId?: StyleSheetId;
|
|
2704
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
2618
2705
|
/**
|
|
2619
2706
|
* Rule selector data.
|
|
2620
2707
|
*/
|
|
@@ -2669,6 +2756,11 @@ export declare namespace CSS {
|
|
|
2669
2756
|
* The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
|
|
2670
2757
|
*/
|
|
2671
2758
|
startingStyles?: CSSStartingStyle[];
|
|
2759
|
+
/**
|
|
2760
|
+
* @navigation CSS at-rule array.
|
|
2761
|
+
* The array enumerates @navigation at-rules starting with the innermost one, going outwards.
|
|
2762
|
+
*/
|
|
2763
|
+
navigations?: CSSNavigation[];
|
|
2672
2764
|
}
|
|
2673
2765
|
/**
|
|
2674
2766
|
* Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
|
|
@@ -2681,7 +2773,8 @@ export declare namespace CSS {
|
|
|
2681
2773
|
LayerRule = "LayerRule",
|
|
2682
2774
|
ScopeRule = "ScopeRule",
|
|
2683
2775
|
StyleRule = "StyleRule",
|
|
2684
|
-
StartingStyleRule = "StartingStyleRule"
|
|
2776
|
+
StartingStyleRule = "StartingStyleRule",
|
|
2777
|
+
NavigationRule = "NavigationRule"
|
|
2685
2778
|
}
|
|
2686
2779
|
/**
|
|
2687
2780
|
* CSS coverage information.
|
|
@@ -2691,7 +2784,7 @@ export declare namespace CSS {
|
|
|
2691
2784
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
2692
2785
|
* stylesheet rules) this rule came from.
|
|
2693
2786
|
*/
|
|
2694
|
-
styleSheetId: StyleSheetId;
|
|
2787
|
+
styleSheetId: DOM.StyleSheetId;
|
|
2695
2788
|
/**
|
|
2696
2789
|
* Offset of the start of the rule (including selector) from the beginning of the stylesheet.
|
|
2697
2790
|
*/
|
|
@@ -2766,7 +2859,7 @@ export declare namespace CSS {
|
|
|
2766
2859
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
2767
2860
|
* stylesheet rules) this rule came from.
|
|
2768
2861
|
*/
|
|
2769
|
-
styleSheetId?: StyleSheetId;
|
|
2862
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
2770
2863
|
/**
|
|
2771
2864
|
* CSS properties in the style.
|
|
2772
2865
|
*/
|
|
@@ -2859,7 +2952,7 @@ export declare namespace CSS {
|
|
|
2859
2952
|
/**
|
|
2860
2953
|
* Identifier of the stylesheet containing this object (if exists).
|
|
2861
2954
|
*/
|
|
2862
|
-
styleSheetId?: StyleSheetId;
|
|
2955
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
2863
2956
|
/**
|
|
2864
2957
|
* Array of media queries.
|
|
2865
2958
|
*/
|
|
@@ -2919,7 +3012,7 @@ export declare namespace CSS {
|
|
|
2919
3012
|
/**
|
|
2920
3013
|
* Identifier of the stylesheet containing this object (if exists).
|
|
2921
3014
|
*/
|
|
2922
|
-
styleSheetId?: StyleSheetId;
|
|
3015
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
2923
3016
|
/**
|
|
2924
3017
|
* Optional name for the container.
|
|
2925
3018
|
*/
|
|
@@ -2961,7 +3054,29 @@ export declare namespace CSS {
|
|
|
2961
3054
|
/**
|
|
2962
3055
|
* Identifier of the stylesheet containing this object (if exists).
|
|
2963
3056
|
*/
|
|
2964
|
-
styleSheetId?: StyleSheetId;
|
|
3057
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3058
|
+
}
|
|
3059
|
+
/**
|
|
3060
|
+
* CSS Navigation at-rule descriptor.
|
|
3061
|
+
*/
|
|
3062
|
+
interface CSSNavigation {
|
|
3063
|
+
/**
|
|
3064
|
+
* Navigation rule text.
|
|
3065
|
+
*/
|
|
3066
|
+
text: string;
|
|
3067
|
+
/**
|
|
3068
|
+
* Whether the navigation condition is satisfied.
|
|
3069
|
+
*/
|
|
3070
|
+
active?: boolean;
|
|
3071
|
+
/**
|
|
3072
|
+
* The associated rule header range in the enclosing stylesheet (if
|
|
3073
|
+
* available).
|
|
3074
|
+
*/
|
|
3075
|
+
range?: SourceRange;
|
|
3076
|
+
/**
|
|
3077
|
+
* Identifier of the stylesheet containing this object (if exists).
|
|
3078
|
+
*/
|
|
3079
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
2965
3080
|
}
|
|
2966
3081
|
/**
|
|
2967
3082
|
* CSS Scope at-rule descriptor.
|
|
@@ -2979,7 +3094,7 @@ export declare namespace CSS {
|
|
|
2979
3094
|
/**
|
|
2980
3095
|
* Identifier of the stylesheet containing this object (if exists).
|
|
2981
3096
|
*/
|
|
2982
|
-
styleSheetId?: StyleSheetId;
|
|
3097
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
2983
3098
|
}
|
|
2984
3099
|
/**
|
|
2985
3100
|
* CSS Layer at-rule descriptor.
|
|
@@ -2997,7 +3112,7 @@ export declare namespace CSS {
|
|
|
2997
3112
|
/**
|
|
2998
3113
|
* Identifier of the stylesheet containing this object (if exists).
|
|
2999
3114
|
*/
|
|
3000
|
-
styleSheetId?: StyleSheetId;
|
|
3115
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3001
3116
|
}
|
|
3002
3117
|
/**
|
|
3003
3118
|
* CSS Starting Style at-rule descriptor.
|
|
@@ -3011,7 +3126,7 @@ export declare namespace CSS {
|
|
|
3011
3126
|
/**
|
|
3012
3127
|
* Identifier of the stylesheet containing this object (if exists).
|
|
3013
3128
|
*/
|
|
3014
|
-
styleSheetId?: StyleSheetId;
|
|
3129
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3015
3130
|
}
|
|
3016
3131
|
/**
|
|
3017
3132
|
* CSS Layer data.
|
|
@@ -3131,7 +3246,7 @@ export declare namespace CSS {
|
|
|
3131
3246
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
3132
3247
|
* stylesheet rules) this rule came from.
|
|
3133
3248
|
*/
|
|
3134
|
-
styleSheetId?: StyleSheetId;
|
|
3249
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3135
3250
|
/**
|
|
3136
3251
|
* Parent stylesheet's origin.
|
|
3137
3252
|
*/
|
|
@@ -3153,7 +3268,7 @@ export declare namespace CSS {
|
|
|
3153
3268
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
3154
3269
|
* stylesheet rules) this rule came from.
|
|
3155
3270
|
*/
|
|
3156
|
-
styleSheetId?: StyleSheetId;
|
|
3271
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3157
3272
|
/**
|
|
3158
3273
|
* Parent stylesheet's origin.
|
|
3159
3274
|
*/
|
|
@@ -3186,23 +3301,45 @@ export declare namespace CSS {
|
|
|
3186
3301
|
inherits: boolean;
|
|
3187
3302
|
syntax: string;
|
|
3188
3303
|
}
|
|
3304
|
+
const enum CSSAtRuleType {
|
|
3305
|
+
FontFace = "font-face",
|
|
3306
|
+
FontFeatureValues = "font-feature-values",
|
|
3307
|
+
FontPaletteValues = "font-palette-values"
|
|
3308
|
+
}
|
|
3309
|
+
const enum CSSAtRuleSubsection {
|
|
3310
|
+
Swash = "swash",
|
|
3311
|
+
Annotation = "annotation",
|
|
3312
|
+
Ornaments = "ornaments",
|
|
3313
|
+
Stylistic = "stylistic",
|
|
3314
|
+
Styleset = "styleset",
|
|
3315
|
+
CharacterVariant = "character-variant"
|
|
3316
|
+
}
|
|
3189
3317
|
/**
|
|
3190
|
-
* CSS
|
|
3318
|
+
* CSS generic @rule representation.
|
|
3191
3319
|
*/
|
|
3192
|
-
interface
|
|
3320
|
+
interface CSSAtRule {
|
|
3321
|
+
/**
|
|
3322
|
+
* Type of at-rule.
|
|
3323
|
+
*/
|
|
3324
|
+
type: CSSAtRuleType;
|
|
3325
|
+
/**
|
|
3326
|
+
* Subsection of font-feature-values, if this is a subsection.
|
|
3327
|
+
*/
|
|
3328
|
+
subsection?: CSSAtRuleSubsection;
|
|
3329
|
+
/**
|
|
3330
|
+
* LINT_SKIP.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType)
|
|
3331
|
+
* Associated name, if applicable.
|
|
3332
|
+
*/
|
|
3333
|
+
name?: Value;
|
|
3193
3334
|
/**
|
|
3194
3335
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
3195
3336
|
* stylesheet rules) this rule came from.
|
|
3196
3337
|
*/
|
|
3197
|
-
styleSheetId?: StyleSheetId;
|
|
3338
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3198
3339
|
/**
|
|
3199
3340
|
* Parent stylesheet's origin.
|
|
3200
3341
|
*/
|
|
3201
3342
|
origin: StyleSheetOrigin;
|
|
3202
|
-
/**
|
|
3203
|
-
* Associated font palette name.
|
|
3204
|
-
*/
|
|
3205
|
-
fontPaletteName: Value;
|
|
3206
3343
|
/**
|
|
3207
3344
|
* Associated style declaration.
|
|
3208
3345
|
*/
|
|
@@ -3216,7 +3353,7 @@ export declare namespace CSS {
|
|
|
3216
3353
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
3217
3354
|
* stylesheet rules) this rule came from.
|
|
3218
3355
|
*/
|
|
3219
|
-
styleSheetId?: StyleSheetId;
|
|
3356
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3220
3357
|
/**
|
|
3221
3358
|
* Parent stylesheet's origin.
|
|
3222
3359
|
*/
|
|
@@ -3259,6 +3396,10 @@ export declare namespace CSS {
|
|
|
3259
3396
|
* @supports CSS at-rule condition. Only one type of condition should be set.
|
|
3260
3397
|
*/
|
|
3261
3398
|
supports?: CSSSupports;
|
|
3399
|
+
/**
|
|
3400
|
+
* @navigation condition. Only one type of condition should be set.
|
|
3401
|
+
*/
|
|
3402
|
+
navigation?: CSSNavigation;
|
|
3262
3403
|
/**
|
|
3263
3404
|
* Block body.
|
|
3264
3405
|
*/
|
|
@@ -3293,7 +3434,7 @@ export declare namespace CSS {
|
|
|
3293
3434
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
3294
3435
|
* stylesheet rules) this rule came from.
|
|
3295
3436
|
*/
|
|
3296
|
-
styleSheetId?: StyleSheetId;
|
|
3437
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3297
3438
|
/**
|
|
3298
3439
|
* Parent stylesheet's origin.
|
|
3299
3440
|
*/
|
|
@@ -3306,6 +3447,10 @@ export declare namespace CSS {
|
|
|
3306
3447
|
* Function body.
|
|
3307
3448
|
*/
|
|
3308
3449
|
children: CSSFunctionNode[];
|
|
3450
|
+
/**
|
|
3451
|
+
* The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
|
|
3452
|
+
*/
|
|
3453
|
+
originTreeScopeNodeId?: DOM.BackendNodeId;
|
|
3309
3454
|
}
|
|
3310
3455
|
/**
|
|
3311
3456
|
* CSS keyframe rule representation.
|
|
@@ -3315,7 +3460,7 @@ export declare namespace CSS {
|
|
|
3315
3460
|
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
|
3316
3461
|
* stylesheet rules) this rule came from.
|
|
3317
3462
|
*/
|
|
3318
|
-
styleSheetId?: StyleSheetId;
|
|
3463
|
+
styleSheetId?: DOM.StyleSheetId;
|
|
3319
3464
|
/**
|
|
3320
3465
|
* Parent stylesheet's origin.
|
|
3321
3466
|
*/
|
|
@@ -3336,7 +3481,7 @@ export declare namespace CSS {
|
|
|
3336
3481
|
/**
|
|
3337
3482
|
* The css style sheet identifier.
|
|
3338
3483
|
*/
|
|
3339
|
-
styleSheetId: StyleSheetId;
|
|
3484
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3340
3485
|
/**
|
|
3341
3486
|
* The range of the style text in the enclosing stylesheet.
|
|
3342
3487
|
*/
|
|
@@ -3350,7 +3495,7 @@ export declare namespace CSS {
|
|
|
3350
3495
|
/**
|
|
3351
3496
|
* The css style sheet identifier where a new rule should be inserted.
|
|
3352
3497
|
*/
|
|
3353
|
-
styleSheetId: StyleSheetId;
|
|
3498
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3354
3499
|
/**
|
|
3355
3500
|
* The text of a new rule.
|
|
3356
3501
|
*/
|
|
@@ -3373,7 +3518,7 @@ export declare namespace CSS {
|
|
|
3373
3518
|
rule: CSSRule;
|
|
3374
3519
|
}
|
|
3375
3520
|
interface CollectClassNamesRequest {
|
|
3376
|
-
styleSheetId: StyleSheetId;
|
|
3521
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3377
3522
|
}
|
|
3378
3523
|
interface CollectClassNamesResponse extends ProtocolResponseWithError {
|
|
3379
3524
|
/**
|
|
@@ -3398,7 +3543,7 @@ export declare namespace CSS {
|
|
|
3398
3543
|
/**
|
|
3399
3544
|
* Identifier of the created "via-inspector" stylesheet.
|
|
3400
3545
|
*/
|
|
3401
|
-
styleSheetId: StyleSheetId;
|
|
3546
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3402
3547
|
}
|
|
3403
3548
|
interface ForcePseudoStateRequest {
|
|
3404
3549
|
/**
|
|
@@ -3573,9 +3718,9 @@ export declare namespace CSS {
|
|
|
3573
3718
|
*/
|
|
3574
3719
|
cssPropertyRegistrations?: CSSPropertyRegistration[];
|
|
3575
3720
|
/**
|
|
3576
|
-
* A
|
|
3721
|
+
* A list of simple @rules matching this node or its pseudo-elements.
|
|
3577
3722
|
*/
|
|
3578
|
-
|
|
3723
|
+
cssAtRules?: CSSAtRule[];
|
|
3579
3724
|
/**
|
|
3580
3725
|
* Id of the first parent element that does not have display: contents.
|
|
3581
3726
|
*/
|
|
@@ -3601,7 +3746,7 @@ export declare namespace CSS {
|
|
|
3601
3746
|
fonts: PlatformFontUsage[];
|
|
3602
3747
|
}
|
|
3603
3748
|
interface GetStyleSheetTextRequest {
|
|
3604
|
-
styleSheetId: StyleSheetId;
|
|
3749
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3605
3750
|
}
|
|
3606
3751
|
interface GetStyleSheetTextResponse extends ProtocolResponseWithError {
|
|
3607
3752
|
/**
|
|
@@ -3616,7 +3761,7 @@ export declare namespace CSS {
|
|
|
3616
3761
|
rootLayer: CSSLayerData;
|
|
3617
3762
|
}
|
|
3618
3763
|
interface GetLocationForSelectorRequest {
|
|
3619
|
-
styleSheetId: StyleSheetId;
|
|
3764
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3620
3765
|
selectorText: string;
|
|
3621
3766
|
}
|
|
3622
3767
|
interface GetLocationForSelectorResponse extends ProtocolResponseWithError {
|
|
@@ -3643,7 +3788,7 @@ export declare namespace CSS {
|
|
|
3643
3788
|
value: string;
|
|
3644
3789
|
}
|
|
3645
3790
|
interface SetPropertyRulePropertyNameRequest {
|
|
3646
|
-
styleSheetId: StyleSheetId;
|
|
3791
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3647
3792
|
range: SourceRange;
|
|
3648
3793
|
propertyName: string;
|
|
3649
3794
|
}
|
|
@@ -3654,7 +3799,7 @@ export declare namespace CSS {
|
|
|
3654
3799
|
propertyName: Value;
|
|
3655
3800
|
}
|
|
3656
3801
|
interface SetKeyframeKeyRequest {
|
|
3657
|
-
styleSheetId: StyleSheetId;
|
|
3802
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3658
3803
|
range: SourceRange;
|
|
3659
3804
|
keyText: string;
|
|
3660
3805
|
}
|
|
@@ -3665,7 +3810,7 @@ export declare namespace CSS {
|
|
|
3665
3810
|
keyText: Value;
|
|
3666
3811
|
}
|
|
3667
3812
|
interface SetMediaTextRequest {
|
|
3668
|
-
styleSheetId: StyleSheetId;
|
|
3813
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3669
3814
|
range: SourceRange;
|
|
3670
3815
|
text: string;
|
|
3671
3816
|
}
|
|
@@ -3676,7 +3821,7 @@ export declare namespace CSS {
|
|
|
3676
3821
|
media: CSSMedia;
|
|
3677
3822
|
}
|
|
3678
3823
|
interface SetContainerQueryTextRequest {
|
|
3679
|
-
styleSheetId: StyleSheetId;
|
|
3824
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3680
3825
|
range: SourceRange;
|
|
3681
3826
|
text: string;
|
|
3682
3827
|
}
|
|
@@ -3687,7 +3832,7 @@ export declare namespace CSS {
|
|
|
3687
3832
|
containerQuery: CSSContainerQuery;
|
|
3688
3833
|
}
|
|
3689
3834
|
interface SetSupportsTextRequest {
|
|
3690
|
-
styleSheetId: StyleSheetId;
|
|
3835
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3691
3836
|
range: SourceRange;
|
|
3692
3837
|
text: string;
|
|
3693
3838
|
}
|
|
@@ -3697,8 +3842,19 @@ export declare namespace CSS {
|
|
|
3697
3842
|
*/
|
|
3698
3843
|
supports: CSSSupports;
|
|
3699
3844
|
}
|
|
3845
|
+
interface SetNavigationTextRequest {
|
|
3846
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3847
|
+
range: SourceRange;
|
|
3848
|
+
text: string;
|
|
3849
|
+
}
|
|
3850
|
+
interface SetNavigationTextResponse extends ProtocolResponseWithError {
|
|
3851
|
+
/**
|
|
3852
|
+
* The resulting CSS Navigation rule after modification.
|
|
3853
|
+
*/
|
|
3854
|
+
navigation: CSSNavigation;
|
|
3855
|
+
}
|
|
3700
3856
|
interface SetScopeTextRequest {
|
|
3701
|
-
styleSheetId: StyleSheetId;
|
|
3857
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3702
3858
|
range: SourceRange;
|
|
3703
3859
|
text: string;
|
|
3704
3860
|
}
|
|
@@ -3709,7 +3865,7 @@ export declare namespace CSS {
|
|
|
3709
3865
|
scope: CSSScope;
|
|
3710
3866
|
}
|
|
3711
3867
|
interface SetRuleSelectorRequest {
|
|
3712
|
-
styleSheetId: StyleSheetId;
|
|
3868
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3713
3869
|
range: SourceRange;
|
|
3714
3870
|
selector: string;
|
|
3715
3871
|
}
|
|
@@ -3720,7 +3876,7 @@ export declare namespace CSS {
|
|
|
3720
3876
|
selectorList: SelectorList;
|
|
3721
3877
|
}
|
|
3722
3878
|
interface SetStyleSheetTextRequest {
|
|
3723
|
-
styleSheetId: StyleSheetId;
|
|
3879
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3724
3880
|
text: string;
|
|
3725
3881
|
}
|
|
3726
3882
|
interface SetStyleSheetTextResponse extends ProtocolResponseWithError {
|
|
@@ -3783,7 +3939,7 @@ export declare namespace CSS {
|
|
|
3783
3939
|
* Fired whenever a stylesheet is changed as a result of the client operation.
|
|
3784
3940
|
*/
|
|
3785
3941
|
interface StyleSheetChangedEvent {
|
|
3786
|
-
styleSheetId: StyleSheetId;
|
|
3942
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3787
3943
|
}
|
|
3788
3944
|
/**
|
|
3789
3945
|
* Fired whenever an active document stylesheet is removed.
|
|
@@ -3792,7 +3948,7 @@ export declare namespace CSS {
|
|
|
3792
3948
|
/**
|
|
3793
3949
|
* Identifier of the removed stylesheet.
|
|
3794
3950
|
*/
|
|
3795
|
-
styleSheetId: StyleSheetId;
|
|
3951
|
+
styleSheetId: DOM.StyleSheetId;
|
|
3796
3952
|
}
|
|
3797
3953
|
interface ComputedStyleUpdatedEvent {
|
|
3798
3954
|
/**
|
|
@@ -4023,6 +4179,25 @@ export declare namespace Cast {
|
|
|
4023
4179
|
issueMessage: string;
|
|
4024
4180
|
}
|
|
4025
4181
|
}
|
|
4182
|
+
/**
|
|
4183
|
+
* This domain exposes the current state of the CrashReportContext API.
|
|
4184
|
+
*/
|
|
4185
|
+
export declare namespace CrashReportContext {
|
|
4186
|
+
/**
|
|
4187
|
+
* Key-value pair in CrashReportContext.
|
|
4188
|
+
*/
|
|
4189
|
+
interface CrashReportContextEntry {
|
|
4190
|
+
key: string;
|
|
4191
|
+
value: string;
|
|
4192
|
+
/**
|
|
4193
|
+
* The ID of the frame where the key-value pair was set.
|
|
4194
|
+
*/
|
|
4195
|
+
frameId: Page.FrameId;
|
|
4196
|
+
}
|
|
4197
|
+
interface GetEntriesResponse extends ProtocolResponseWithError {
|
|
4198
|
+
entries: CrashReportContextEntry[];
|
|
4199
|
+
}
|
|
4200
|
+
}
|
|
4026
4201
|
/**
|
|
4027
4202
|
* This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object
|
|
4028
4203
|
* that has an `id`. This `id` can be used to get additional information on the Node, resolve it into
|
|
@@ -4042,6 +4217,10 @@ export declare namespace DOM {
|
|
|
4042
4217
|
* front-end.
|
|
4043
4218
|
*/
|
|
4044
4219
|
type BackendNodeId = OpaqueIdentifier<integer, 'Protocol.DOM.BackendNodeId'>;
|
|
4220
|
+
/**
|
|
4221
|
+
* Unique identifier for a CSS stylesheet.
|
|
4222
|
+
*/
|
|
4223
|
+
type StyleSheetId = OpaqueIdentifier<string, 'Protocol.DOM.StyleSheetId'>;
|
|
4045
4224
|
/**
|
|
4046
4225
|
* Backend node with a friendly name.
|
|
4047
4226
|
*/
|
|
@@ -4065,6 +4244,7 @@ export declare namespace DOM {
|
|
|
4065
4244
|
Checkmark = "checkmark",
|
|
4066
4245
|
Before = "before",
|
|
4067
4246
|
After = "after",
|
|
4247
|
+
ExpandIcon = "expand-icon",
|
|
4068
4248
|
PickerIcon = "picker-icon",
|
|
4069
4249
|
InterestHint = "interest-hint",
|
|
4070
4250
|
Marker = "marker",
|
|
@@ -4098,7 +4278,8 @@ export declare namespace DOM {
|
|
|
4098
4278
|
FileSelectorButton = "file-selector-button",
|
|
4099
4279
|
DetailsContent = "details-content",
|
|
4100
4280
|
Picker = "picker",
|
|
4101
|
-
PermissionIcon = "permission-icon"
|
|
4281
|
+
PermissionIcon = "permission-icon",
|
|
4282
|
+
OverscrollAreaParent = "overscroll-area-parent"
|
|
4102
4283
|
}
|
|
4103
4284
|
/**
|
|
4104
4285
|
* Shadow root type.
|
|
@@ -4270,6 +4451,8 @@ export declare namespace DOM {
|
|
|
4270
4451
|
assignedSlot?: BackendNode;
|
|
4271
4452
|
isScrollable?: boolean;
|
|
4272
4453
|
affectedByStartingStyles?: boolean;
|
|
4454
|
+
adoptedStyleSheets?: StyleSheetId[];
|
|
4455
|
+
adProvenance?: Network.AdProvenance;
|
|
4273
4456
|
}
|
|
4274
4457
|
/**
|
|
4275
4458
|
* A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
|
@@ -5100,6 +5283,19 @@ export declare namespace DOM {
|
|
|
5100
5283
|
*/
|
|
5101
5284
|
value: string;
|
|
5102
5285
|
}
|
|
5286
|
+
/**
|
|
5287
|
+
* Fired when `Element`'s adoptedStyleSheets are modified.
|
|
5288
|
+
*/
|
|
5289
|
+
interface AdoptedStyleSheetsModifiedEvent {
|
|
5290
|
+
/**
|
|
5291
|
+
* Id of the node that has changed.
|
|
5292
|
+
*/
|
|
5293
|
+
nodeId: NodeId;
|
|
5294
|
+
/**
|
|
5295
|
+
* New adoptedStyleSheets array.
|
|
5296
|
+
*/
|
|
5297
|
+
adoptedStyleSheets: StyleSheetId[];
|
|
5298
|
+
}
|
|
5103
5299
|
/**
|
|
5104
5300
|
* Fired when `Element`'s attribute is removed.
|
|
5105
5301
|
*/
|
|
@@ -5217,6 +5413,19 @@ export declare namespace DOM {
|
|
|
5217
5413
|
*/
|
|
5218
5414
|
isScrollable: boolean;
|
|
5219
5415
|
}
|
|
5416
|
+
/**
|
|
5417
|
+
* Fired when a node's ad related state changes.
|
|
5418
|
+
*/
|
|
5419
|
+
interface AdRelatedStateUpdatedEvent {
|
|
5420
|
+
/**
|
|
5421
|
+
* The id of the node.
|
|
5422
|
+
*/
|
|
5423
|
+
nodeId: DOM.NodeId;
|
|
5424
|
+
/**
|
|
5425
|
+
* The provenance of the ad related node, if it is ad related.
|
|
5426
|
+
*/
|
|
5427
|
+
adProvenance?: Network.AdProvenance;
|
|
5428
|
+
}
|
|
5220
5429
|
/**
|
|
5221
5430
|
* Fired when a node's starting styles changes.
|
|
5222
5431
|
*/
|
|
@@ -6350,6 +6559,7 @@ export declare namespace Emulation {
|
|
|
6350
6559
|
*/
|
|
6351
6560
|
const enum DisabledImageType {
|
|
6352
6561
|
Avif = "avif",
|
|
6562
|
+
Jxl = "jxl",
|
|
6353
6563
|
Webp = "webp"
|
|
6354
6564
|
}
|
|
6355
6565
|
interface CanEmulateResponse extends ProtocolResponseWithError {
|
|
@@ -6387,6 +6597,10 @@ export declare namespace Emulation {
|
|
|
6387
6597
|
interface SetSafeAreaInsetsOverrideRequest {
|
|
6388
6598
|
insets: SafeAreaInsets;
|
|
6389
6599
|
}
|
|
6600
|
+
const enum SetDeviceMetricsOverrideRequestScrollbarType {
|
|
6601
|
+
Overlay = "overlay",
|
|
6602
|
+
Default = "default"
|
|
6603
|
+
}
|
|
6390
6604
|
interface SetDeviceMetricsOverrideRequest {
|
|
6391
6605
|
/**
|
|
6392
6606
|
* Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
|
|
@@ -6452,6 +6666,18 @@ export declare namespace Emulation {
|
|
|
6452
6666
|
* @deprecated
|
|
6453
6667
|
*/
|
|
6454
6668
|
devicePosture?: DevicePosture;
|
|
6669
|
+
/**
|
|
6670
|
+
* Scrollbar type. Default: `default`.
|
|
6671
|
+
*/
|
|
6672
|
+
scrollbarType?: SetDeviceMetricsOverrideRequestScrollbarType;
|
|
6673
|
+
/**
|
|
6674
|
+
* If set to true, enables screen orientation lock emulation, which
|
|
6675
|
+
* intercepts screen.orientation.lock() calls from the page and reports
|
|
6676
|
+
* orientation changes via screenOrientationLockChanged events. This is
|
|
6677
|
+
* useful for emulating mobile device orientation lock behavior in
|
|
6678
|
+
* responsive design mode.
|
|
6679
|
+
*/
|
|
6680
|
+
screenOrientationLockEmulation?: boolean;
|
|
6455
6681
|
}
|
|
6456
6682
|
interface SetDevicePostureOverrideRequest {
|
|
6457
6683
|
posture: DevicePosture;
|
|
@@ -6756,9 +6982,76 @@ export declare namespace Emulation {
|
|
|
6756
6982
|
interface AddScreenResponse extends ProtocolResponseWithError {
|
|
6757
6983
|
screenInfo: ScreenInfo;
|
|
6758
6984
|
}
|
|
6985
|
+
interface UpdateScreenRequest {
|
|
6986
|
+
/**
|
|
6987
|
+
* Target screen identifier.
|
|
6988
|
+
*/
|
|
6989
|
+
screenId: ScreenId;
|
|
6990
|
+
/**
|
|
6991
|
+
* Offset of the left edge of the screen in pixels.
|
|
6992
|
+
*/
|
|
6993
|
+
left?: integer;
|
|
6994
|
+
/**
|
|
6995
|
+
* Offset of the top edge of the screen in pixels.
|
|
6996
|
+
*/
|
|
6997
|
+
top?: integer;
|
|
6998
|
+
/**
|
|
6999
|
+
* The width of the screen in pixels.
|
|
7000
|
+
*/
|
|
7001
|
+
width?: integer;
|
|
7002
|
+
/**
|
|
7003
|
+
* The height of the screen in pixels.
|
|
7004
|
+
*/
|
|
7005
|
+
height?: integer;
|
|
7006
|
+
/**
|
|
7007
|
+
* Specifies the screen's work area.
|
|
7008
|
+
*/
|
|
7009
|
+
workAreaInsets?: WorkAreaInsets;
|
|
7010
|
+
/**
|
|
7011
|
+
* Specifies the screen's device pixel ratio.
|
|
7012
|
+
*/
|
|
7013
|
+
devicePixelRatio?: number;
|
|
7014
|
+
/**
|
|
7015
|
+
* Specifies the screen's rotation angle. Available values are 0, 90, 180 and 270.
|
|
7016
|
+
*/
|
|
7017
|
+
rotation?: integer;
|
|
7018
|
+
/**
|
|
7019
|
+
* Specifies the screen's color depth in bits.
|
|
7020
|
+
*/
|
|
7021
|
+
colorDepth?: integer;
|
|
7022
|
+
/**
|
|
7023
|
+
* Specifies the descriptive label for the screen.
|
|
7024
|
+
*/
|
|
7025
|
+
label?: string;
|
|
7026
|
+
/**
|
|
7027
|
+
* Indicates whether the screen is internal to the device or external, attached to the device. Default is false.
|
|
7028
|
+
*/
|
|
7029
|
+
isInternal?: boolean;
|
|
7030
|
+
}
|
|
7031
|
+
interface UpdateScreenResponse extends ProtocolResponseWithError {
|
|
7032
|
+
screenInfo: ScreenInfo;
|
|
7033
|
+
}
|
|
6759
7034
|
interface RemoveScreenRequest {
|
|
6760
7035
|
screenId: ScreenId;
|
|
6761
7036
|
}
|
|
7037
|
+
interface SetPrimaryScreenRequest {
|
|
7038
|
+
screenId: ScreenId;
|
|
7039
|
+
}
|
|
7040
|
+
/**
|
|
7041
|
+
* Fired when a page calls screen.orientation.lock() or screen.orientation.unlock()
|
|
7042
|
+
* while device emulation is enabled. This allows the DevTools frontend to update the
|
|
7043
|
+
* emulated device orientation accordingly.
|
|
7044
|
+
*/
|
|
7045
|
+
interface ScreenOrientationLockChangedEvent {
|
|
7046
|
+
/**
|
|
7047
|
+
* Whether the screen orientation is currently locked.
|
|
7048
|
+
*/
|
|
7049
|
+
locked: boolean;
|
|
7050
|
+
/**
|
|
7051
|
+
* The orientation lock type requested by the page. Only set when locked is true.
|
|
7052
|
+
*/
|
|
7053
|
+
orientation?: ScreenOrientation;
|
|
7054
|
+
}
|
|
6762
7055
|
}
|
|
6763
7056
|
/**
|
|
6764
7057
|
* EventBreakpoints permits setting JavaScript breakpoints on operations and events
|
|
@@ -6792,11 +7085,50 @@ export declare namespace Extensions {
|
|
|
6792
7085
|
Sync = "sync",
|
|
6793
7086
|
Managed = "managed"
|
|
6794
7087
|
}
|
|
7088
|
+
/**
|
|
7089
|
+
* Detailed information about an extension.
|
|
7090
|
+
*/
|
|
7091
|
+
interface ExtensionInfo {
|
|
7092
|
+
/**
|
|
7093
|
+
* Extension id.
|
|
7094
|
+
*/
|
|
7095
|
+
id: string;
|
|
7096
|
+
/**
|
|
7097
|
+
* Extension name.
|
|
7098
|
+
*/
|
|
7099
|
+
name: string;
|
|
7100
|
+
/**
|
|
7101
|
+
* Extension version.
|
|
7102
|
+
*/
|
|
7103
|
+
version: string;
|
|
7104
|
+
/**
|
|
7105
|
+
* The path from which the extension was loaded.
|
|
7106
|
+
*/
|
|
7107
|
+
path: string;
|
|
7108
|
+
/**
|
|
7109
|
+
* Extension enabled status.
|
|
7110
|
+
*/
|
|
7111
|
+
enabled: boolean;
|
|
7112
|
+
}
|
|
7113
|
+
interface TriggerActionRequest {
|
|
7114
|
+
/**
|
|
7115
|
+
* Extension id.
|
|
7116
|
+
*/
|
|
7117
|
+
id: string;
|
|
7118
|
+
/**
|
|
7119
|
+
* A tab target ID to trigger the default extension action on.
|
|
7120
|
+
*/
|
|
7121
|
+
targetId: string;
|
|
7122
|
+
}
|
|
6795
7123
|
interface LoadUnpackedRequest {
|
|
6796
7124
|
/**
|
|
6797
7125
|
* Absolute file path.
|
|
6798
7126
|
*/
|
|
6799
7127
|
path: string;
|
|
7128
|
+
/**
|
|
7129
|
+
* Enable the extension in incognito
|
|
7130
|
+
*/
|
|
7131
|
+
enableInIncognito?: boolean;
|
|
6800
7132
|
}
|
|
6801
7133
|
interface LoadUnpackedResponse extends ProtocolResponseWithError {
|
|
6802
7134
|
/**
|
|
@@ -6804,6 +7136,9 @@ export declare namespace Extensions {
|
|
|
6804
7136
|
*/
|
|
6805
7137
|
id: string;
|
|
6806
7138
|
}
|
|
7139
|
+
interface GetExtensionsResponse extends ProtocolResponseWithError {
|
|
7140
|
+
extensions: ExtensionInfo[];
|
|
7141
|
+
}
|
|
6807
7142
|
interface UninstallRequest {
|
|
6808
7143
|
/**
|
|
6809
7144
|
* Extension id.
|
|
@@ -9124,6 +9459,16 @@ export declare namespace Network {
|
|
|
9124
9459
|
High = "High",
|
|
9125
9460
|
VeryHigh = "VeryHigh"
|
|
9126
9461
|
}
|
|
9462
|
+
/**
|
|
9463
|
+
* The render-blocking behavior of a resource request.
|
|
9464
|
+
*/
|
|
9465
|
+
const enum RenderBlockingBehavior {
|
|
9466
|
+
Blocking = "Blocking",
|
|
9467
|
+
InBodyParserBlocking = "InBodyParserBlocking",
|
|
9468
|
+
NonBlocking = "NonBlocking",
|
|
9469
|
+
NonBlockingDynamic = "NonBlockingDynamic",
|
|
9470
|
+
PotentiallyBlocking = "PotentiallyBlocking"
|
|
9471
|
+
}
|
|
9127
9472
|
/**
|
|
9128
9473
|
* Post data entry for HTTP request
|
|
9129
9474
|
*/
|
|
@@ -9339,19 +9684,6 @@ export declare namespace Network {
|
|
|
9339
9684
|
CorpNotSameSite = "corp-not-same-site",
|
|
9340
9685
|
SriMessageSignatureMismatch = "sri-message-signature-mismatch"
|
|
9341
9686
|
}
|
|
9342
|
-
/**
|
|
9343
|
-
* Sets Controls for IP Proxy of requests.
|
|
9344
|
-
* Page reload is required before the new behavior will be observed.
|
|
9345
|
-
*/
|
|
9346
|
-
const enum IpProxyStatus {
|
|
9347
|
-
Available = "Available",
|
|
9348
|
-
FeatureNotEnabled = "FeatureNotEnabled",
|
|
9349
|
-
MaskedDomainListNotEnabled = "MaskedDomainListNotEnabled",
|
|
9350
|
-
MaskedDomainListNotPopulated = "MaskedDomainListNotPopulated",
|
|
9351
|
-
AuthTokensUnavailable = "AuthTokensUnavailable",
|
|
9352
|
-
Unavailable = "Unavailable",
|
|
9353
|
-
BypassedByDevTools = "BypassedByDevTools"
|
|
9354
|
-
}
|
|
9355
9687
|
/**
|
|
9356
9688
|
* The reason why request was blocked.
|
|
9357
9689
|
*/
|
|
@@ -9375,21 +9707,14 @@ export declare namespace Network {
|
|
|
9375
9707
|
PreflightInvalidAllowCredentials = "PreflightInvalidAllowCredentials",
|
|
9376
9708
|
PreflightMissingAllowExternal = "PreflightMissingAllowExternal",
|
|
9377
9709
|
PreflightInvalidAllowExternal = "PreflightInvalidAllowExternal",
|
|
9378
|
-
PreflightMissingAllowPrivateNetwork = "PreflightMissingAllowPrivateNetwork",
|
|
9379
|
-
PreflightInvalidAllowPrivateNetwork = "PreflightInvalidAllowPrivateNetwork",
|
|
9380
9710
|
InvalidAllowMethodsPreflightResponse = "InvalidAllowMethodsPreflightResponse",
|
|
9381
9711
|
InvalidAllowHeadersPreflightResponse = "InvalidAllowHeadersPreflightResponse",
|
|
9382
9712
|
MethodDisallowedByPreflightResponse = "MethodDisallowedByPreflightResponse",
|
|
9383
9713
|
HeaderDisallowedByPreflightResponse = "HeaderDisallowedByPreflightResponse",
|
|
9384
9714
|
RedirectContainsCredentials = "RedirectContainsCredentials",
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
UnexpectedPrivateNetworkAccess = "UnexpectedPrivateNetworkAccess",
|
|
9715
|
+
InsecureLocalNetwork = "InsecureLocalNetwork",
|
|
9716
|
+
InvalidLocalNetworkAccess = "InvalidLocalNetworkAccess",
|
|
9388
9717
|
NoCorsRedirectModeNotFollow = "NoCorsRedirectModeNotFollow",
|
|
9389
|
-
PreflightMissingPrivateNetworkAccessId = "PreflightMissingPrivateNetworkAccessId",
|
|
9390
|
-
PreflightMissingPrivateNetworkAccessName = "PreflightMissingPrivateNetworkAccessName",
|
|
9391
|
-
PrivateNetworkAccessPermissionUnavailable = "PrivateNetworkAccessPermissionUnavailable",
|
|
9392
|
-
PrivateNetworkAccessPermissionDenied = "PrivateNetworkAccessPermissionDenied",
|
|
9393
9718
|
LocalNetworkAccessPermissionDenied = "LocalNetworkAccessPermissionDenied"
|
|
9394
9719
|
}
|
|
9395
9720
|
interface CorsErrorStatus {
|
|
@@ -9588,11 +9913,6 @@ export declare namespace Network {
|
|
|
9588
9913
|
* Security details for the request.
|
|
9589
9914
|
*/
|
|
9590
9915
|
securityDetails?: SecurityDetails;
|
|
9591
|
-
/**
|
|
9592
|
-
* Indicates whether the request was sent through IP Protection proxies. If
|
|
9593
|
-
* set to true, the request used the IP Protection privacy feature.
|
|
9594
|
-
*/
|
|
9595
|
-
isIpProtectionUsed?: boolean;
|
|
9596
9916
|
}
|
|
9597
9917
|
/**
|
|
9598
9918
|
* WebSocket request data.
|
|
@@ -9678,6 +9998,7 @@ export declare namespace Network {
|
|
|
9678
9998
|
Preload = "preload",
|
|
9679
9999
|
SignedExchange = "SignedExchange",
|
|
9680
10000
|
Preflight = "preflight",
|
|
10001
|
+
FedCM = "FedCM",
|
|
9681
10002
|
Other = "other"
|
|
9682
10003
|
}
|
|
9683
10004
|
/**
|
|
@@ -9778,11 +10099,6 @@ export declare namespace Network {
|
|
|
9778
10099
|
* Cookie Priority
|
|
9779
10100
|
*/
|
|
9780
10101
|
priority: CookiePriority;
|
|
9781
|
-
/**
|
|
9782
|
-
* True if cookie is SameParty.
|
|
9783
|
-
* @deprecated
|
|
9784
|
-
*/
|
|
9785
|
-
sameParty: boolean;
|
|
9786
10102
|
/**
|
|
9787
10103
|
* Cookie source scheme type.
|
|
9788
10104
|
*/
|
|
@@ -9823,8 +10139,6 @@ export declare namespace Network {
|
|
|
9823
10139
|
SchemefulSameSiteStrict = "SchemefulSameSiteStrict",
|
|
9824
10140
|
SchemefulSameSiteLax = "SchemefulSameSiteLax",
|
|
9825
10141
|
SchemefulSameSiteUnspecifiedTreatedAsLax = "SchemefulSameSiteUnspecifiedTreatedAsLax",
|
|
9826
|
-
SamePartyFromCrossPartyContext = "SamePartyFromCrossPartyContext",
|
|
9827
|
-
SamePartyConflictsWithOtherAttributes = "SamePartyConflictsWithOtherAttributes",
|
|
9828
10142
|
NameValuePairExceedsMaxSize = "NameValuePairExceedsMaxSize",
|
|
9829
10143
|
DisallowedCharacter = "DisallowedCharacter",
|
|
9830
10144
|
NoCookieContent = "NoCookieContent"
|
|
@@ -9847,7 +10161,6 @@ export declare namespace Network {
|
|
|
9847
10161
|
SchemefulSameSiteStrict = "SchemefulSameSiteStrict",
|
|
9848
10162
|
SchemefulSameSiteLax = "SchemefulSameSiteLax",
|
|
9849
10163
|
SchemefulSameSiteUnspecifiedTreatedAsLax = "SchemefulSameSiteUnspecifiedTreatedAsLax",
|
|
9850
|
-
SamePartyFromCrossPartyContext = "SamePartyFromCrossPartyContext",
|
|
9851
10164
|
NameValuePairExceedsMaxSize = "NameValuePairExceedsMaxSize",
|
|
9852
10165
|
PortMismatch = "PortMismatch",
|
|
9853
10166
|
SchemeMismatch = "SchemeMismatch",
|
|
@@ -9971,10 +10284,6 @@ export declare namespace Network {
|
|
|
9971
10284
|
* Cookie Priority.
|
|
9972
10285
|
*/
|
|
9973
10286
|
priority?: CookiePriority;
|
|
9974
|
-
/**
|
|
9975
|
-
* True if cookie is SameParty.
|
|
9976
|
-
*/
|
|
9977
|
-
sameParty?: boolean;
|
|
9978
10287
|
/**
|
|
9979
10288
|
* Cookie source scheme type.
|
|
9980
10289
|
*/
|
|
@@ -10201,8 +10510,8 @@ export declare namespace Network {
|
|
|
10201
10510
|
interface NetworkConditions {
|
|
10202
10511
|
/**
|
|
10203
10512
|
* Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
|
|
10204
|
-
* syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are
|
|
10205
|
-
* connections).
|
|
10513
|
+
* syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
|
|
10514
|
+
* matched (including p2p connections).
|
|
10206
10515
|
*/
|
|
10207
10516
|
urlPattern: string;
|
|
10208
10517
|
/**
|
|
@@ -10234,6 +10543,18 @@ export declare namespace Network {
|
|
|
10234
10543
|
*/
|
|
10235
10544
|
packetReordering?: boolean;
|
|
10236
10545
|
}
|
|
10546
|
+
interface BlockPattern {
|
|
10547
|
+
/**
|
|
10548
|
+
* URL pattern to match. Patterns use the URLPattern constructor string syntax
|
|
10549
|
+
* (https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `*://*:*\/*.css`.
|
|
10550
|
+
*/
|
|
10551
|
+
urlPattern: string;
|
|
10552
|
+
/**
|
|
10553
|
+
* Whether or not to block the pattern. If false, a matching request will not be blocked even if it matches a later
|
|
10554
|
+
* `BlockPattern`.
|
|
10555
|
+
*/
|
|
10556
|
+
block: boolean;
|
|
10557
|
+
}
|
|
10237
10558
|
const enum DirectSocketDnsQueryType {
|
|
10238
10559
|
Ipv4 = "ipv4",
|
|
10239
10560
|
Ipv6 = "ipv6"
|
|
@@ -10277,6 +10598,12 @@ export declare namespace Network {
|
|
|
10277
10598
|
* Expected to be unsigned integer.
|
|
10278
10599
|
*/
|
|
10279
10600
|
receiveBufferSize?: number;
|
|
10601
|
+
multicastLoopback?: boolean;
|
|
10602
|
+
/**
|
|
10603
|
+
* Unsigned int 8.
|
|
10604
|
+
*/
|
|
10605
|
+
multicastTimeToLive?: integer;
|
|
10606
|
+
multicastAllowAddressSharing?: boolean;
|
|
10280
10607
|
}
|
|
10281
10608
|
interface DirectUDPMessage {
|
|
10282
10609
|
data: binary;
|
|
@@ -10290,12 +10617,10 @@ export declare namespace Network {
|
|
|
10290
10617
|
*/
|
|
10291
10618
|
remotePort?: integer;
|
|
10292
10619
|
}
|
|
10293
|
-
const enum
|
|
10620
|
+
const enum LocalNetworkAccessRequestPolicy {
|
|
10294
10621
|
Allow = "Allow",
|
|
10295
10622
|
BlockFromInsecureToMorePrivate = "BlockFromInsecureToMorePrivate",
|
|
10296
10623
|
WarnFromInsecureToMorePrivate = "WarnFromInsecureToMorePrivate",
|
|
10297
|
-
PreflightBlock = "PreflightBlock",
|
|
10298
|
-
PreflightWarn = "PreflightWarn",
|
|
10299
10624
|
PermissionBlock = "PermissionBlock",
|
|
10300
10625
|
PermissionWarn = "PermissionWarn"
|
|
10301
10626
|
}
|
|
@@ -10316,7 +10641,63 @@ export declare namespace Network {
|
|
|
10316
10641
|
interface ClientSecurityState {
|
|
10317
10642
|
initiatorIsSecureContext: boolean;
|
|
10318
10643
|
initiatorIPAddressSpace: IPAddressSpace;
|
|
10319
|
-
|
|
10644
|
+
localNetworkAccessRequestPolicy: LocalNetworkAccessRequestPolicy;
|
|
10645
|
+
}
|
|
10646
|
+
/**
|
|
10647
|
+
* Identifies the script on the stack that caused a resource or element to be
|
|
10648
|
+
* labeled as an ad. For resources, this indicates the context that triggered
|
|
10649
|
+
* the fetch. For elements, this indicates the context that caused the element
|
|
10650
|
+
* to be appended to the DOM.
|
|
10651
|
+
*/
|
|
10652
|
+
interface AdScriptIdentifier {
|
|
10653
|
+
/**
|
|
10654
|
+
* The script's V8 identifier.
|
|
10655
|
+
*/
|
|
10656
|
+
scriptId: Runtime.ScriptId;
|
|
10657
|
+
/**
|
|
10658
|
+
* V8's debugging ID for the v8::Context.
|
|
10659
|
+
*/
|
|
10660
|
+
debuggerId: Runtime.UniqueDebuggerId;
|
|
10661
|
+
/**
|
|
10662
|
+
* The script's url (or generated name based on id if inline script).
|
|
10663
|
+
*/
|
|
10664
|
+
name: string;
|
|
10665
|
+
}
|
|
10666
|
+
/**
|
|
10667
|
+
* Encapsulates the script ancestry and the root script filter list rule that
|
|
10668
|
+
* caused the resource or element to be labeled as an ad.
|
|
10669
|
+
*/
|
|
10670
|
+
interface AdAncestry {
|
|
10671
|
+
/**
|
|
10672
|
+
* A chain of `AdScriptIdentifier`s representing the ancestry of an ad
|
|
10673
|
+
* script that led to the creation of a resource or element. The chain is
|
|
10674
|
+
* ordered from the script itself (lowest level) up to its root ancestor
|
|
10675
|
+
* that was flagged by a filter list.
|
|
10676
|
+
*/
|
|
10677
|
+
ancestryChain: AdScriptIdentifier[];
|
|
10678
|
+
/**
|
|
10679
|
+
* The filter list rule that caused the root (last) script in
|
|
10680
|
+
* `ancestryChain` to be tagged as an ad.
|
|
10681
|
+
*/
|
|
10682
|
+
rootScriptFilterlistRule?: string;
|
|
10683
|
+
}
|
|
10684
|
+
/**
|
|
10685
|
+
* Represents the provenance of an ad resource or element. Only one of
|
|
10686
|
+
* `filterlistRule` or `adScriptAncestry` can be set. If `filterlistRule`
|
|
10687
|
+
* is provided, the resource URL directly matches a filter list rule. If
|
|
10688
|
+
* `adScriptAncestry` is provided, an ad script initiated the resource fetch or
|
|
10689
|
+
* appended the element to the DOM. If neither is provided, the entity is
|
|
10690
|
+
* known to be an ad, but provenance tracking information is unavailable.
|
|
10691
|
+
*/
|
|
10692
|
+
interface AdProvenance {
|
|
10693
|
+
/**
|
|
10694
|
+
* The filterlist rule that matched, if any.
|
|
10695
|
+
*/
|
|
10696
|
+
filterlistRule?: string;
|
|
10697
|
+
/**
|
|
10698
|
+
* The script ancestry that created the ad, if any.
|
|
10699
|
+
*/
|
|
10700
|
+
adScriptAncestry?: AdAncestry;
|
|
10320
10701
|
}
|
|
10321
10702
|
const enum CrossOriginOpenerPolicyValue {
|
|
10322
10703
|
SameOrigin = "SameOrigin",
|
|
@@ -10411,16 +10792,345 @@ export declare namespace Network {
|
|
|
10411
10792
|
groupName: string;
|
|
10412
10793
|
}
|
|
10413
10794
|
/**
|
|
10414
|
-
*
|
|
10795
|
+
* Unique identifier for a device bound session.
|
|
10415
10796
|
*/
|
|
10416
|
-
interface
|
|
10417
|
-
success: boolean;
|
|
10797
|
+
interface DeviceBoundSessionKey {
|
|
10418
10798
|
/**
|
|
10419
|
-
*
|
|
10799
|
+
* The site the session is set up for.
|
|
10420
10800
|
*/
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10801
|
+
site: string;
|
|
10802
|
+
/**
|
|
10803
|
+
* The id of the session.
|
|
10804
|
+
*/
|
|
10805
|
+
id: string;
|
|
10806
|
+
}
|
|
10807
|
+
const enum DeviceBoundSessionWithUsageUsage {
|
|
10808
|
+
NotInScope = "NotInScope",
|
|
10809
|
+
InScopeRefreshNotYetNeeded = "InScopeRefreshNotYetNeeded",
|
|
10810
|
+
InScopeRefreshNotAllowed = "InScopeRefreshNotAllowed",
|
|
10811
|
+
ProactiveRefreshNotPossible = "ProactiveRefreshNotPossible",
|
|
10812
|
+
ProactiveRefreshAttempted = "ProactiveRefreshAttempted",
|
|
10813
|
+
Deferred = "Deferred"
|
|
10814
|
+
}
|
|
10815
|
+
/**
|
|
10816
|
+
* How a device bound session was used during a request.
|
|
10817
|
+
*/
|
|
10818
|
+
interface DeviceBoundSessionWithUsage {
|
|
10819
|
+
/**
|
|
10820
|
+
* The key for the session.
|
|
10821
|
+
*/
|
|
10822
|
+
sessionKey: DeviceBoundSessionKey;
|
|
10823
|
+
/**
|
|
10824
|
+
* How the session was used (or not used).
|
|
10825
|
+
*/
|
|
10826
|
+
usage: DeviceBoundSessionWithUsageUsage;
|
|
10827
|
+
}
|
|
10828
|
+
/**
|
|
10829
|
+
* A device bound session's cookie craving.
|
|
10830
|
+
*/
|
|
10831
|
+
interface DeviceBoundSessionCookieCraving {
|
|
10832
|
+
/**
|
|
10833
|
+
* The name of the craving.
|
|
10834
|
+
*/
|
|
10835
|
+
name: string;
|
|
10836
|
+
/**
|
|
10837
|
+
* The domain of the craving.
|
|
10838
|
+
*/
|
|
10839
|
+
domain: string;
|
|
10840
|
+
/**
|
|
10841
|
+
* The path of the craving.
|
|
10842
|
+
*/
|
|
10843
|
+
path: string;
|
|
10844
|
+
/**
|
|
10845
|
+
* The `Secure` attribute of the craving attributes.
|
|
10846
|
+
*/
|
|
10847
|
+
secure: boolean;
|
|
10848
|
+
/**
|
|
10849
|
+
* The `HttpOnly` attribute of the craving attributes.
|
|
10850
|
+
*/
|
|
10851
|
+
httpOnly: boolean;
|
|
10852
|
+
/**
|
|
10853
|
+
* The `SameSite` attribute of the craving attributes.
|
|
10854
|
+
*/
|
|
10855
|
+
sameSite?: CookieSameSite;
|
|
10856
|
+
}
|
|
10857
|
+
const enum DeviceBoundSessionUrlRuleRuleType {
|
|
10858
|
+
Exclude = "Exclude",
|
|
10859
|
+
Include = "Include"
|
|
10860
|
+
}
|
|
10861
|
+
/**
|
|
10862
|
+
* A device bound session's inclusion URL rule.
|
|
10863
|
+
*/
|
|
10864
|
+
interface DeviceBoundSessionUrlRule {
|
|
10865
|
+
/**
|
|
10866
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type`.
|
|
10867
|
+
*/
|
|
10868
|
+
ruleType: DeviceBoundSessionUrlRuleRuleType;
|
|
10869
|
+
/**
|
|
10870
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern`.
|
|
10871
|
+
*/
|
|
10872
|
+
hostPattern: string;
|
|
10873
|
+
/**
|
|
10874
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix`.
|
|
10875
|
+
*/
|
|
10876
|
+
pathPrefix: string;
|
|
10877
|
+
}
|
|
10878
|
+
/**
|
|
10879
|
+
* A device bound session's inclusion rules.
|
|
10880
|
+
*/
|
|
10881
|
+
interface DeviceBoundSessionInclusionRules {
|
|
10882
|
+
/**
|
|
10883
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::origin_`.
|
|
10884
|
+
*/
|
|
10885
|
+
origin: string;
|
|
10886
|
+
/**
|
|
10887
|
+
* Whether the whole site is included. See comments on
|
|
10888
|
+
* `net::device_bound_sessions::SessionInclusionRules::include_site_` for more
|
|
10889
|
+
* details; this boolean is true if that value is populated.
|
|
10890
|
+
*/
|
|
10891
|
+
includeSite: boolean;
|
|
10892
|
+
/**
|
|
10893
|
+
* See comments on `net::device_bound_sessions::SessionInclusionRules::url_rules_`.
|
|
10894
|
+
*/
|
|
10895
|
+
urlRules: DeviceBoundSessionUrlRule[];
|
|
10896
|
+
}
|
|
10897
|
+
/**
|
|
10898
|
+
* A device bound session.
|
|
10899
|
+
*/
|
|
10900
|
+
interface DeviceBoundSession {
|
|
10901
|
+
/**
|
|
10902
|
+
* The site and session ID of the session.
|
|
10903
|
+
*/
|
|
10904
|
+
key: DeviceBoundSessionKey;
|
|
10905
|
+
/**
|
|
10906
|
+
* See comments on `net::device_bound_sessions::Session::refresh_url_`.
|
|
10907
|
+
*/
|
|
10908
|
+
refreshUrl: string;
|
|
10909
|
+
/**
|
|
10910
|
+
* See comments on `net::device_bound_sessions::Session::inclusion_rules_`.
|
|
10911
|
+
*/
|
|
10912
|
+
inclusionRules: DeviceBoundSessionInclusionRules;
|
|
10913
|
+
/**
|
|
10914
|
+
* See comments on `net::device_bound_sessions::Session::cookie_cravings_`.
|
|
10915
|
+
*/
|
|
10916
|
+
cookieCravings: DeviceBoundSessionCookieCraving[];
|
|
10917
|
+
/**
|
|
10918
|
+
* See comments on `net::device_bound_sessions::Session::expiry_date_`.
|
|
10919
|
+
*/
|
|
10920
|
+
expiryDate: Network.TimeSinceEpoch;
|
|
10921
|
+
/**
|
|
10922
|
+
* See comments on `net::device_bound_sessions::Session::cached_challenge__`.
|
|
10923
|
+
*/
|
|
10924
|
+
cachedChallenge?: string;
|
|
10925
|
+
/**
|
|
10926
|
+
* See comments on `net::device_bound_sessions::Session::allowed_refresh_initiators_`.
|
|
10927
|
+
*/
|
|
10928
|
+
allowedRefreshInitiators: string[];
|
|
10929
|
+
}
|
|
10930
|
+
/**
|
|
10931
|
+
* A unique identifier for a device bound session event.
|
|
10932
|
+
*/
|
|
10933
|
+
type DeviceBoundSessionEventId = OpaqueIdentifier<string, 'Protocol.Network.DeviceBoundSessionEventId'>;
|
|
10934
|
+
/**
|
|
10935
|
+
* A fetch result for a device bound session creation or refresh.
|
|
10936
|
+
*/
|
|
10937
|
+
const enum DeviceBoundSessionFetchResult {
|
|
10938
|
+
Success = "Success",
|
|
10939
|
+
KeyError = "KeyError",
|
|
10940
|
+
SigningError = "SigningError",
|
|
10941
|
+
ServerRequestedTermination = "ServerRequestedTermination",
|
|
10942
|
+
InvalidSessionId = "InvalidSessionId",
|
|
10943
|
+
InvalidChallenge = "InvalidChallenge",
|
|
10944
|
+
TooManyChallenges = "TooManyChallenges",
|
|
10945
|
+
InvalidFetcherUrl = "InvalidFetcherUrl",
|
|
10946
|
+
InvalidRefreshUrl = "InvalidRefreshUrl",
|
|
10947
|
+
TransientHttpError = "TransientHttpError",
|
|
10948
|
+
ScopeOriginSameSiteMismatch = "ScopeOriginSameSiteMismatch",
|
|
10949
|
+
RefreshUrlSameSiteMismatch = "RefreshUrlSameSiteMismatch",
|
|
10950
|
+
MismatchedSessionId = "MismatchedSessionId",
|
|
10951
|
+
MissingScope = "MissingScope",
|
|
10952
|
+
NoCredentials = "NoCredentials",
|
|
10953
|
+
SubdomainRegistrationWellKnownUnavailable = "SubdomainRegistrationWellKnownUnavailable",
|
|
10954
|
+
SubdomainRegistrationUnauthorized = "SubdomainRegistrationUnauthorized",
|
|
10955
|
+
SubdomainRegistrationWellKnownMalformed = "SubdomainRegistrationWellKnownMalformed",
|
|
10956
|
+
SessionProviderWellKnownUnavailable = "SessionProviderWellKnownUnavailable",
|
|
10957
|
+
RelyingPartyWellKnownUnavailable = "RelyingPartyWellKnownUnavailable",
|
|
10958
|
+
FederatedKeyThumbprintMismatch = "FederatedKeyThumbprintMismatch",
|
|
10959
|
+
InvalidFederatedSessionUrl = "InvalidFederatedSessionUrl",
|
|
10960
|
+
InvalidFederatedKey = "InvalidFederatedKey",
|
|
10961
|
+
TooManyRelyingOriginLabels = "TooManyRelyingOriginLabels",
|
|
10962
|
+
BoundCookieSetForbidden = "BoundCookieSetForbidden",
|
|
10963
|
+
NetError = "NetError",
|
|
10964
|
+
ProxyError = "ProxyError",
|
|
10965
|
+
EmptySessionConfig = "EmptySessionConfig",
|
|
10966
|
+
InvalidCredentialsConfig = "InvalidCredentialsConfig",
|
|
10967
|
+
InvalidCredentialsType = "InvalidCredentialsType",
|
|
10968
|
+
InvalidCredentialsEmptyName = "InvalidCredentialsEmptyName",
|
|
10969
|
+
InvalidCredentialsCookie = "InvalidCredentialsCookie",
|
|
10970
|
+
PersistentHttpError = "PersistentHttpError",
|
|
10971
|
+
RegistrationAttemptedChallenge = "RegistrationAttemptedChallenge",
|
|
10972
|
+
InvalidScopeOrigin = "InvalidScopeOrigin",
|
|
10973
|
+
ScopeOriginContainsPath = "ScopeOriginContainsPath",
|
|
10974
|
+
RefreshInitiatorNotString = "RefreshInitiatorNotString",
|
|
10975
|
+
RefreshInitiatorInvalidHostPattern = "RefreshInitiatorInvalidHostPattern",
|
|
10976
|
+
InvalidScopeSpecification = "InvalidScopeSpecification",
|
|
10977
|
+
MissingScopeSpecificationType = "MissingScopeSpecificationType",
|
|
10978
|
+
EmptyScopeSpecificationDomain = "EmptyScopeSpecificationDomain",
|
|
10979
|
+
EmptyScopeSpecificationPath = "EmptyScopeSpecificationPath",
|
|
10980
|
+
InvalidScopeSpecificationType = "InvalidScopeSpecificationType",
|
|
10981
|
+
InvalidScopeIncludeSite = "InvalidScopeIncludeSite",
|
|
10982
|
+
MissingScopeIncludeSite = "MissingScopeIncludeSite",
|
|
10983
|
+
FederatedNotAuthorizedByProvider = "FederatedNotAuthorizedByProvider",
|
|
10984
|
+
FederatedNotAuthorizedByRelyingParty = "FederatedNotAuthorizedByRelyingParty",
|
|
10985
|
+
SessionProviderWellKnownMalformed = "SessionProviderWellKnownMalformed",
|
|
10986
|
+
SessionProviderWellKnownHasProviderOrigin = "SessionProviderWellKnownHasProviderOrigin",
|
|
10987
|
+
RelyingPartyWellKnownMalformed = "RelyingPartyWellKnownMalformed",
|
|
10988
|
+
RelyingPartyWellKnownHasRelyingOrigins = "RelyingPartyWellKnownHasRelyingOrigins",
|
|
10989
|
+
InvalidFederatedSessionProviderSessionMissing = "InvalidFederatedSessionProviderSessionMissing",
|
|
10990
|
+
InvalidFederatedSessionWrongProviderOrigin = "InvalidFederatedSessionWrongProviderOrigin",
|
|
10991
|
+
InvalidCredentialsCookieCreationTime = "InvalidCredentialsCookieCreationTime",
|
|
10992
|
+
InvalidCredentialsCookieName = "InvalidCredentialsCookieName",
|
|
10993
|
+
InvalidCredentialsCookieParsing = "InvalidCredentialsCookieParsing",
|
|
10994
|
+
InvalidCredentialsCookieUnpermittedAttribute = "InvalidCredentialsCookieUnpermittedAttribute",
|
|
10995
|
+
InvalidCredentialsCookieInvalidDomain = "InvalidCredentialsCookieInvalidDomain",
|
|
10996
|
+
InvalidCredentialsCookiePrefix = "InvalidCredentialsCookiePrefix",
|
|
10997
|
+
InvalidScopeRulePath = "InvalidScopeRulePath",
|
|
10998
|
+
InvalidScopeRuleHostPattern = "InvalidScopeRuleHostPattern",
|
|
10999
|
+
ScopeRuleOriginScopedHostPatternMismatch = "ScopeRuleOriginScopedHostPatternMismatch",
|
|
11000
|
+
ScopeRuleSiteScopedHostPatternMismatch = "ScopeRuleSiteScopedHostPatternMismatch",
|
|
11001
|
+
SigningQuotaExceeded = "SigningQuotaExceeded",
|
|
11002
|
+
InvalidConfigJson = "InvalidConfigJson",
|
|
11003
|
+
InvalidFederatedSessionProviderFailedToRestoreKey = "InvalidFederatedSessionProviderFailedToRestoreKey",
|
|
11004
|
+
FailedToUnwrapKey = "FailedToUnwrapKey",
|
|
11005
|
+
SessionDeletedDuringRefresh = "SessionDeletedDuringRefresh"
|
|
11006
|
+
}
|
|
11007
|
+
/**
|
|
11008
|
+
* Details about a failed device bound session network request.
|
|
11009
|
+
*/
|
|
11010
|
+
interface DeviceBoundSessionFailedRequest {
|
|
11011
|
+
/**
|
|
11012
|
+
* The failed request URL.
|
|
11013
|
+
*/
|
|
11014
|
+
requestUrl: string;
|
|
11015
|
+
/**
|
|
11016
|
+
* The net error of the response if it was not OK.
|
|
11017
|
+
*/
|
|
11018
|
+
netError?: string;
|
|
11019
|
+
/**
|
|
11020
|
+
* The response code if the net error was OK and the response code was not
|
|
11021
|
+
* 200.
|
|
11022
|
+
*/
|
|
11023
|
+
responseError?: integer;
|
|
11024
|
+
/**
|
|
11025
|
+
* The body of the response if the net error was OK, the response code was
|
|
11026
|
+
* not 200, and the response body was not empty.
|
|
11027
|
+
*/
|
|
11028
|
+
responseErrorBody?: string;
|
|
11029
|
+
}
|
|
11030
|
+
/**
|
|
11031
|
+
* Session event details specific to creation.
|
|
11032
|
+
*/
|
|
11033
|
+
interface CreationEventDetails {
|
|
11034
|
+
/**
|
|
11035
|
+
* The result of the fetch attempt.
|
|
11036
|
+
*/
|
|
11037
|
+
fetchResult: DeviceBoundSessionFetchResult;
|
|
11038
|
+
/**
|
|
11039
|
+
* The session if there was a newly created session. This is populated for
|
|
11040
|
+
* all successful creation events.
|
|
11041
|
+
*/
|
|
11042
|
+
newSession?: DeviceBoundSession;
|
|
11043
|
+
/**
|
|
11044
|
+
* Details about a failed device bound session network request if there was
|
|
11045
|
+
* one.
|
|
11046
|
+
*/
|
|
11047
|
+
failedRequest?: DeviceBoundSessionFailedRequest;
|
|
11048
|
+
}
|
|
11049
|
+
const enum RefreshEventDetailsRefreshResult {
|
|
11050
|
+
Refreshed = "Refreshed",
|
|
11051
|
+
InitializedService = "InitializedService",
|
|
11052
|
+
Unreachable = "Unreachable",
|
|
11053
|
+
ServerError = "ServerError",
|
|
11054
|
+
RefreshQuotaExceeded = "RefreshQuotaExceeded",
|
|
11055
|
+
FatalError = "FatalError",
|
|
11056
|
+
SigningQuotaExceeded = "SigningQuotaExceeded"
|
|
11057
|
+
}
|
|
11058
|
+
/**
|
|
11059
|
+
* Session event details specific to refresh.
|
|
11060
|
+
*/
|
|
11061
|
+
interface RefreshEventDetails {
|
|
11062
|
+
/**
|
|
11063
|
+
* The result of a refresh.
|
|
11064
|
+
*/
|
|
11065
|
+
refreshResult: RefreshEventDetailsRefreshResult;
|
|
11066
|
+
/**
|
|
11067
|
+
* If there was a fetch attempt, the result of that.
|
|
11068
|
+
*/
|
|
11069
|
+
fetchResult?: DeviceBoundSessionFetchResult;
|
|
11070
|
+
/**
|
|
11071
|
+
* The session display if there was a newly created session. This is populated
|
|
11072
|
+
* for any refresh event that modifies the session config.
|
|
11073
|
+
*/
|
|
11074
|
+
newSession?: DeviceBoundSession;
|
|
11075
|
+
/**
|
|
11076
|
+
* See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
|
|
11077
|
+
*/
|
|
11078
|
+
wasFullyProactiveRefresh: boolean;
|
|
11079
|
+
/**
|
|
11080
|
+
* Details about a failed device bound session network request if there was
|
|
11081
|
+
* one.
|
|
11082
|
+
*/
|
|
11083
|
+
failedRequest?: DeviceBoundSessionFailedRequest;
|
|
11084
|
+
}
|
|
11085
|
+
const enum TerminationEventDetailsDeletionReason {
|
|
11086
|
+
Expired = "Expired",
|
|
11087
|
+
FailedToRestoreKey = "FailedToRestoreKey",
|
|
11088
|
+
FailedToUnwrapKey = "FailedToUnwrapKey",
|
|
11089
|
+
StoragePartitionCleared = "StoragePartitionCleared",
|
|
11090
|
+
ClearBrowsingData = "ClearBrowsingData",
|
|
11091
|
+
ServerRequested = "ServerRequested",
|
|
11092
|
+
InvalidSessionParams = "InvalidSessionParams",
|
|
11093
|
+
RefreshFatalError = "RefreshFatalError"
|
|
11094
|
+
}
|
|
11095
|
+
/**
|
|
11096
|
+
* Session event details specific to termination.
|
|
11097
|
+
*/
|
|
11098
|
+
interface TerminationEventDetails {
|
|
11099
|
+
/**
|
|
11100
|
+
* The reason for a session being deleted.
|
|
11101
|
+
*/
|
|
11102
|
+
deletionReason: TerminationEventDetailsDeletionReason;
|
|
11103
|
+
}
|
|
11104
|
+
const enum ChallengeEventDetailsChallengeResult {
|
|
11105
|
+
Success = "Success",
|
|
11106
|
+
NoSessionId = "NoSessionId",
|
|
11107
|
+
NoSessionMatch = "NoSessionMatch",
|
|
11108
|
+
CantSetBoundCookie = "CantSetBoundCookie"
|
|
11109
|
+
}
|
|
11110
|
+
/**
|
|
11111
|
+
* Session event details specific to challenges.
|
|
11112
|
+
*/
|
|
11113
|
+
interface ChallengeEventDetails {
|
|
11114
|
+
/**
|
|
11115
|
+
* The result of a challenge.
|
|
11116
|
+
*/
|
|
11117
|
+
challengeResult: ChallengeEventDetailsChallengeResult;
|
|
11118
|
+
/**
|
|
11119
|
+
* The challenge set.
|
|
11120
|
+
*/
|
|
11121
|
+
challenge: string;
|
|
11122
|
+
}
|
|
11123
|
+
/**
|
|
11124
|
+
* An object providing the result of a network resource load.
|
|
11125
|
+
*/
|
|
11126
|
+
interface LoadNetworkResourcePageResult {
|
|
11127
|
+
success: boolean;
|
|
11128
|
+
/**
|
|
11129
|
+
* Optional values used for error reporting.
|
|
11130
|
+
*/
|
|
11131
|
+
netError?: number;
|
|
11132
|
+
netErrorName?: string;
|
|
11133
|
+
httpStatusCode?: number;
|
|
10424
11134
|
/**
|
|
10425
11135
|
* If successful, one of the following two fields holds the result.
|
|
10426
11136
|
*/
|
|
@@ -10438,18 +11148,6 @@ export declare namespace Network {
|
|
|
10438
11148
|
disableCache: boolean;
|
|
10439
11149
|
includeCredentials: boolean;
|
|
10440
11150
|
}
|
|
10441
|
-
interface GetIPProtectionProxyStatusResponse extends ProtocolResponseWithError {
|
|
10442
|
-
/**
|
|
10443
|
-
* Whether IP proxy is available
|
|
10444
|
-
*/
|
|
10445
|
-
status: IpProxyStatus;
|
|
10446
|
-
}
|
|
10447
|
-
interface SetIPProtectionProxyBypassEnabledRequest {
|
|
10448
|
-
/**
|
|
10449
|
-
* Whether IP Proxy is being bypassed by devtools; false by default.
|
|
10450
|
-
*/
|
|
10451
|
-
enabled: boolean;
|
|
10452
|
-
}
|
|
10453
11151
|
interface SetAcceptedEncodingsRequest {
|
|
10454
11152
|
/**
|
|
10455
11153
|
* List of accepted content encodings.
|
|
@@ -10613,6 +11311,8 @@ export declare namespace Network {
|
|
|
10613
11311
|
interface EnableRequest {
|
|
10614
11312
|
/**
|
|
10615
11313
|
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
11314
|
+
* This is the maximum number of bytes that will be collected by this
|
|
11315
|
+
* DevTools session.
|
|
10616
11316
|
*/
|
|
10617
11317
|
maxTotalBufferSize?: integer;
|
|
10618
11318
|
/**
|
|
@@ -10630,10 +11330,22 @@ export declare namespace Network {
|
|
|
10630
11330
|
/**
|
|
10631
11331
|
* Enable storing response bodies outside of renderer, so that these survive
|
|
10632
11332
|
* a cross-process navigation. Requires maxTotalBufferSize to be set.
|
|
10633
|
-
* Currently defaults to false.
|
|
11333
|
+
* Currently defaults to false. This field is being deprecated in favor of the dedicated
|
|
11334
|
+
* configureDurableMessages command, due to the possibility of deadlocks when awaiting
|
|
11335
|
+
* Network.enable before issuing Runtime.runIfWaitingForDebugger.
|
|
10634
11336
|
*/
|
|
10635
11337
|
enableDurableMessages?: boolean;
|
|
10636
11338
|
}
|
|
11339
|
+
interface ConfigureDurableMessagesRequest {
|
|
11340
|
+
/**
|
|
11341
|
+
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
11342
|
+
*/
|
|
11343
|
+
maxTotalBufferSize?: integer;
|
|
11344
|
+
/**
|
|
11345
|
+
* Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
11346
|
+
*/
|
|
11347
|
+
maxResourceBufferSize?: integer;
|
|
11348
|
+
}
|
|
10637
11349
|
interface GetAllCookiesResponse extends ProtocolResponseWithError {
|
|
10638
11350
|
/**
|
|
10639
11351
|
* Array of cookie objects.
|
|
@@ -10690,6 +11402,10 @@ export declare namespace Network {
|
|
|
10690
11402
|
* Request body string, omitting files from multipart requests
|
|
10691
11403
|
*/
|
|
10692
11404
|
postData: string;
|
|
11405
|
+
/**
|
|
11406
|
+
* True, if content was sent as base64.
|
|
11407
|
+
*/
|
|
11408
|
+
base64Encoded: boolean;
|
|
10693
11409
|
}
|
|
10694
11410
|
interface GetResponseBodyForInterceptionRequest {
|
|
10695
11411
|
/**
|
|
@@ -10745,10 +11461,10 @@ export declare namespace Network {
|
|
|
10745
11461
|
}
|
|
10746
11462
|
interface SetBlockedURLsRequest {
|
|
10747
11463
|
/**
|
|
10748
|
-
*
|
|
10749
|
-
*
|
|
11464
|
+
* Patterns to match in the order in which they are given. These patterns
|
|
11465
|
+
* also take precedence over any wildcard patterns defined in `urls`.
|
|
10750
11466
|
*/
|
|
10751
|
-
urlPatterns?:
|
|
11467
|
+
urlPatterns?: BlockPattern[];
|
|
10752
11468
|
/**
|
|
10753
11469
|
* URL patterns to block. Wildcards ('*') are allowed.
|
|
10754
11470
|
* @deprecated
|
|
@@ -10809,10 +11525,6 @@ export declare namespace Network {
|
|
|
10809
11525
|
* Cookie Priority type.
|
|
10810
11526
|
*/
|
|
10811
11527
|
priority?: CookiePriority;
|
|
10812
|
-
/**
|
|
10813
|
-
* True if cookie is SameParty.
|
|
10814
|
-
*/
|
|
10815
|
-
sameParty?: boolean;
|
|
10816
11528
|
/**
|
|
10817
11529
|
* Cookie source scheme type.
|
|
10818
11530
|
*/
|
|
@@ -10905,6 +11617,24 @@ export declare namespace Network {
|
|
|
10905
11617
|
*/
|
|
10906
11618
|
enable: boolean;
|
|
10907
11619
|
}
|
|
11620
|
+
interface EnableDeviceBoundSessionsRequest {
|
|
11621
|
+
/**
|
|
11622
|
+
* Whether to enable or disable events.
|
|
11623
|
+
*/
|
|
11624
|
+
enable: boolean;
|
|
11625
|
+
}
|
|
11626
|
+
interface FetchSchemefulSiteRequest {
|
|
11627
|
+
/**
|
|
11628
|
+
* The URL origin.
|
|
11629
|
+
*/
|
|
11630
|
+
origin: string;
|
|
11631
|
+
}
|
|
11632
|
+
interface FetchSchemefulSiteResponse extends ProtocolResponseWithError {
|
|
11633
|
+
/**
|
|
11634
|
+
* The corresponding schemeful site.
|
|
11635
|
+
*/
|
|
11636
|
+
schemefulSite: string;
|
|
11637
|
+
}
|
|
10908
11638
|
interface LoadNetworkResourceRequest {
|
|
10909
11639
|
/**
|
|
10910
11640
|
* Frame id to get the resource for. Mandatory for frame targets, and
|
|
@@ -11161,6 +11891,10 @@ export declare namespace Network {
|
|
|
11161
11891
|
* Whether the request is initiated by a user gesture. Defaults to false.
|
|
11162
11892
|
*/
|
|
11163
11893
|
hasUserGesture?: boolean;
|
|
11894
|
+
/**
|
|
11895
|
+
* The render-blocking behavior of the request.
|
|
11896
|
+
*/
|
|
11897
|
+
renderBlockingBehavior?: RenderBlockingBehavior;
|
|
11164
11898
|
}
|
|
11165
11899
|
/**
|
|
11166
11900
|
* Fired when resource loading priority is changed
|
|
@@ -11454,6 +12188,14 @@ export declare namespace Network {
|
|
|
11454
12188
|
data: binary;
|
|
11455
12189
|
timestamp: MonotonicTime;
|
|
11456
12190
|
}
|
|
12191
|
+
interface DirectUDPSocketJoinedMulticastGroupEvent {
|
|
12192
|
+
identifier: RequestId;
|
|
12193
|
+
IPAddress: string;
|
|
12194
|
+
}
|
|
12195
|
+
interface DirectUDPSocketLeftMulticastGroupEvent {
|
|
12196
|
+
identifier: RequestId;
|
|
12197
|
+
IPAddress: string;
|
|
12198
|
+
}
|
|
11457
12199
|
/**
|
|
11458
12200
|
* Fired upon direct_socket.UDPSocket creation.
|
|
11459
12201
|
*/
|
|
@@ -11535,6 +12277,10 @@ export declare namespace Network {
|
|
|
11535
12277
|
* Connection timing information for the request.
|
|
11536
12278
|
*/
|
|
11537
12279
|
connectTiming: ConnectTiming;
|
|
12280
|
+
/**
|
|
12281
|
+
* How the request site's device bound sessions were used during this request.
|
|
12282
|
+
*/
|
|
12283
|
+
deviceBoundSessionUsages?: DeviceBoundSessionWithUsage[];
|
|
11538
12284
|
/**
|
|
11539
12285
|
* The client security state set for the request.
|
|
11540
12286
|
*/
|
|
@@ -11666,91 +12412,59 @@ export declare namespace Network {
|
|
|
11666
12412
|
issuedTokenCount?: integer;
|
|
11667
12413
|
}
|
|
11668
12414
|
/**
|
|
11669
|
-
*
|
|
11670
|
-
*
|
|
12415
|
+
* Is sent whenever a new report is added.
|
|
12416
|
+
* And after 'enableReportingApi' for all existing reports.
|
|
11671
12417
|
*/
|
|
11672
|
-
interface
|
|
11673
|
-
|
|
11674
|
-
* Request identifier. Used to match this information to another event.
|
|
11675
|
-
*/
|
|
11676
|
-
requestId: RequestId;
|
|
11677
|
-
/**
|
|
11678
|
-
* A list of URLs of resources in the subresource Web Bundle.
|
|
11679
|
-
*/
|
|
11680
|
-
urls: string[];
|
|
12418
|
+
interface ReportingApiReportAddedEvent {
|
|
12419
|
+
report: ReportingApiReport;
|
|
11681
12420
|
}
|
|
11682
|
-
|
|
11683
|
-
|
|
11684
|
-
|
|
11685
|
-
interface
|
|
11686
|
-
/**
|
|
11687
|
-
* Request identifier. Used to match this information to another event.
|
|
11688
|
-
*/
|
|
11689
|
-
requestId: RequestId;
|
|
12421
|
+
interface ReportingApiReportUpdatedEvent {
|
|
12422
|
+
report: ReportingApiReport;
|
|
12423
|
+
}
|
|
12424
|
+
interface ReportingApiEndpointsChangedForOriginEvent {
|
|
11690
12425
|
/**
|
|
11691
|
-
*
|
|
12426
|
+
* Origin of the document(s) which configured the endpoints.
|
|
11692
12427
|
*/
|
|
11693
|
-
|
|
12428
|
+
origin: string;
|
|
12429
|
+
endpoints: ReportingApiEndpoint[];
|
|
11694
12430
|
}
|
|
11695
12431
|
/**
|
|
11696
|
-
*
|
|
11697
|
-
* Note: this will only be fired for resources that are requested by the webpage.
|
|
12432
|
+
* Triggered when the initial set of device bound sessions is added.
|
|
11698
12433
|
*/
|
|
11699
|
-
interface
|
|
11700
|
-
/**
|
|
11701
|
-
* Request identifier of the subresource request
|
|
11702
|
-
*/
|
|
11703
|
-
innerRequestId: RequestId;
|
|
12434
|
+
interface DeviceBoundSessionsAddedEvent {
|
|
11704
12435
|
/**
|
|
11705
|
-
*
|
|
12436
|
+
* The device bound sessions.
|
|
11706
12437
|
*/
|
|
11707
|
-
|
|
11708
|
-
/**
|
|
11709
|
-
* Bundle request identifier. Used to match this information to another event.
|
|
11710
|
-
* This made be absent in case when the instrumentation was enabled only
|
|
11711
|
-
* after webbundle was parsed.
|
|
11712
|
-
*/
|
|
11713
|
-
bundleRequestId?: RequestId;
|
|
12438
|
+
sessions: DeviceBoundSession[];
|
|
11714
12439
|
}
|
|
11715
12440
|
/**
|
|
11716
|
-
*
|
|
12441
|
+
* Triggered when a device bound session event occurs.
|
|
11717
12442
|
*/
|
|
11718
|
-
interface
|
|
12443
|
+
interface DeviceBoundSessionEventOccurredEvent {
|
|
11719
12444
|
/**
|
|
11720
|
-
*
|
|
12445
|
+
* A unique identifier for this session event.
|
|
11721
12446
|
*/
|
|
11722
|
-
|
|
12447
|
+
eventId: DeviceBoundSessionEventId;
|
|
11723
12448
|
/**
|
|
11724
|
-
*
|
|
12449
|
+
* The site this session event is associated with.
|
|
11725
12450
|
*/
|
|
11726
|
-
|
|
12451
|
+
site: string;
|
|
11727
12452
|
/**
|
|
11728
|
-
*
|
|
12453
|
+
* Whether this event was considered successful.
|
|
11729
12454
|
*/
|
|
11730
|
-
|
|
12455
|
+
succeeded: boolean;
|
|
11731
12456
|
/**
|
|
11732
|
-
*
|
|
11733
|
-
*
|
|
11734
|
-
* after webbundle was parsed.
|
|
12457
|
+
* The session ID this event is associated with. May not be populated for
|
|
12458
|
+
* failed events.
|
|
11735
12459
|
*/
|
|
11736
|
-
|
|
11737
|
-
}
|
|
11738
|
-
/**
|
|
11739
|
-
* Is sent whenever a new report is added.
|
|
11740
|
-
* And after 'enableReportingApi' for all existing reports.
|
|
11741
|
-
*/
|
|
11742
|
-
interface ReportingApiReportAddedEvent {
|
|
11743
|
-
report: ReportingApiReport;
|
|
11744
|
-
}
|
|
11745
|
-
interface ReportingApiReportUpdatedEvent {
|
|
11746
|
-
report: ReportingApiReport;
|
|
11747
|
-
}
|
|
11748
|
-
interface ReportingApiEndpointsChangedForOriginEvent {
|
|
12460
|
+
sessionId?: string;
|
|
11749
12461
|
/**
|
|
11750
|
-
*
|
|
12462
|
+
* The below are the different session event type details. Exactly one is populated.
|
|
11751
12463
|
*/
|
|
11752
|
-
|
|
11753
|
-
|
|
12464
|
+
creationEventDetails?: CreationEventDetails;
|
|
12465
|
+
refreshEventDetails?: RefreshEventDetails;
|
|
12466
|
+
terminationEventDetails?: TerminationEventDetails;
|
|
12467
|
+
challengeEventDetails?: ChallengeEventDetails;
|
|
11754
12468
|
}
|
|
11755
12469
|
}
|
|
11756
12470
|
/**
|
|
@@ -12168,6 +12882,16 @@ export declare namespace Overlay {
|
|
|
12168
12882
|
CaptureAreaScreenshot = "captureAreaScreenshot",
|
|
12169
12883
|
None = "none"
|
|
12170
12884
|
}
|
|
12885
|
+
interface InspectedElementAnchorConfig {
|
|
12886
|
+
/**
|
|
12887
|
+
* Identifier of the node to highlight.
|
|
12888
|
+
*/
|
|
12889
|
+
nodeId?: DOM.NodeId;
|
|
12890
|
+
/**
|
|
12891
|
+
* Identifier of the backend node to highlight.
|
|
12892
|
+
*/
|
|
12893
|
+
backendNodeId?: DOM.BackendNodeId;
|
|
12894
|
+
}
|
|
12171
12895
|
interface GetHighlightObjectForTestRequest {
|
|
12172
12896
|
/**
|
|
12173
12897
|
* Id of the node to get highlight object for.
|
|
@@ -12373,6 +13097,12 @@ export declare namespace Overlay {
|
|
|
12373
13097
|
*/
|
|
12374
13098
|
containerQueryHighlightConfigs: ContainerQueryHighlightConfig[];
|
|
12375
13099
|
}
|
|
13100
|
+
interface SetShowInspectedElementAnchorRequest {
|
|
13101
|
+
/**
|
|
13102
|
+
* Node identifier for which to show an anchor for.
|
|
13103
|
+
*/
|
|
13104
|
+
inspectedElementAnchorConfig: InspectedElementAnchorConfig;
|
|
13105
|
+
}
|
|
12376
13106
|
interface SetShowPaintRectsRequest {
|
|
12377
13107
|
/**
|
|
12378
13108
|
* True for showing paint rectangles
|
|
@@ -12449,6 +13179,24 @@ export declare namespace Overlay {
|
|
|
12449
13179
|
*/
|
|
12450
13180
|
viewport: Page.Viewport;
|
|
12451
13181
|
}
|
|
13182
|
+
/**
|
|
13183
|
+
* Fired when user asks to show the Inspect panel.
|
|
13184
|
+
*/
|
|
13185
|
+
interface InspectPanelShowRequestedEvent {
|
|
13186
|
+
/**
|
|
13187
|
+
* Id of the node to show in the panel.
|
|
13188
|
+
*/
|
|
13189
|
+
backendNodeId: DOM.BackendNodeId;
|
|
13190
|
+
}
|
|
13191
|
+
/**
|
|
13192
|
+
* Fired when user asks to restore the Inspected Element floating window.
|
|
13193
|
+
*/
|
|
13194
|
+
interface InspectedElementWindowRestoredEvent {
|
|
13195
|
+
/**
|
|
13196
|
+
* Id of the node to restore the floating window for.
|
|
13197
|
+
*/
|
|
13198
|
+
backendNodeId: DOM.BackendNodeId;
|
|
13199
|
+
}
|
|
12452
13200
|
}
|
|
12453
13201
|
/**
|
|
12454
13202
|
* This domain allows interacting with the browser to control PWAs.
|
|
@@ -12571,41 +13319,6 @@ export declare namespace Page {
|
|
|
12571
13319
|
adFrameType: AdFrameType;
|
|
12572
13320
|
explanations?: AdFrameExplanation[];
|
|
12573
13321
|
}
|
|
12574
|
-
/**
|
|
12575
|
-
* Identifies the script which caused a script or frame to be labelled as an
|
|
12576
|
-
* ad.
|
|
12577
|
-
*/
|
|
12578
|
-
interface AdScriptId {
|
|
12579
|
-
/**
|
|
12580
|
-
* Script Id of the script which caused a script or frame to be labelled as
|
|
12581
|
-
* an ad.
|
|
12582
|
-
*/
|
|
12583
|
-
scriptId: Runtime.ScriptId;
|
|
12584
|
-
/**
|
|
12585
|
-
* Id of scriptId's debugger.
|
|
12586
|
-
*/
|
|
12587
|
-
debuggerId: Runtime.UniqueDebuggerId;
|
|
12588
|
-
}
|
|
12589
|
-
/**
|
|
12590
|
-
* Encapsulates the script ancestry and the root script filterlist rule that
|
|
12591
|
-
* caused the frame to be labelled as an ad. Only created when `ancestryChain`
|
|
12592
|
-
* is not empty.
|
|
12593
|
-
*/
|
|
12594
|
-
interface AdScriptAncestry {
|
|
12595
|
-
/**
|
|
12596
|
-
* A chain of `AdScriptId`s representing the ancestry of an ad script that
|
|
12597
|
-
* led to the creation of a frame. The chain is ordered from the script
|
|
12598
|
-
* itself (lower level) up to its root ancestor that was flagged by
|
|
12599
|
-
* filterlist.
|
|
12600
|
-
*/
|
|
12601
|
-
ancestryChain: AdScriptId[];
|
|
12602
|
-
/**
|
|
12603
|
-
* The filterlist rule that caused the root (last) script in
|
|
12604
|
-
* `ancestryChain` to be ad-tagged. Only populated if the rule is
|
|
12605
|
-
* available.
|
|
12606
|
-
*/
|
|
12607
|
-
rootScriptFilterlistRule?: string;
|
|
12608
|
-
}
|
|
12609
13322
|
/**
|
|
12610
13323
|
* Indicates whether the frame is a secure context and why it is the case.
|
|
12611
13324
|
*/
|
|
@@ -12640,6 +13353,7 @@ export declare namespace Page {
|
|
|
12640
13353
|
AmbientLightSensor = "ambient-light-sensor",
|
|
12641
13354
|
AriaNotify = "aria-notify",
|
|
12642
13355
|
AttributionReporting = "attribution-reporting",
|
|
13356
|
+
Autofill = "autofill",
|
|
12643
13357
|
Autoplay = "autoplay",
|
|
12644
13358
|
Bluetooth = "bluetooth",
|
|
12645
13359
|
BrowsingTopics = "browsing-topics",
|
|
@@ -12687,7 +13401,6 @@ export declare namespace Page {
|
|
|
12687
13401
|
EncryptedMedia = "encrypted-media",
|
|
12688
13402
|
ExecutionWhileOutOfViewport = "execution-while-out-of-viewport",
|
|
12689
13403
|
ExecutionWhileNotRendered = "execution-while-not-rendered",
|
|
12690
|
-
FencedUnpartitionedStorageRead = "fenced-unpartitioned-storage-read",
|
|
12691
13404
|
FocusWithoutUserActivation = "focus-without-user-activation",
|
|
12692
13405
|
Fullscreen = "fullscreen",
|
|
12693
13406
|
Frobulate = "frobulate",
|
|
@@ -12703,8 +13416,11 @@ export declare namespace Page {
|
|
|
12703
13416
|
LanguageDetector = "language-detector",
|
|
12704
13417
|
LanguageModel = "language-model",
|
|
12705
13418
|
LocalFonts = "local-fonts",
|
|
13419
|
+
LocalNetwork = "local-network",
|
|
12706
13420
|
LocalNetworkAccess = "local-network-access",
|
|
13421
|
+
LoopbackNetwork = "loopback-network",
|
|
12707
13422
|
Magnetometer = "magnetometer",
|
|
13423
|
+
ManualText = "manual-text",
|
|
12708
13424
|
MediaPlaybackWhileNotVisible = "media-playback-while-not-visible",
|
|
12709
13425
|
Microphone = "microphone",
|
|
12710
13426
|
Midi = "midi",
|
|
@@ -12712,7 +13428,6 @@ export declare namespace Page {
|
|
|
12712
13428
|
OtpCredentials = "otp-credentials",
|
|
12713
13429
|
Payment = "payment",
|
|
12714
13430
|
PictureInPicture = "picture-in-picture",
|
|
12715
|
-
Popins = "popins",
|
|
12716
13431
|
PrivateAggregation = "private-aggregation",
|
|
12717
13432
|
PrivateStateTokenIssuance = "private-state-token-issuance",
|
|
12718
13433
|
PrivateStateTokenRedemption = "private-state-token-redemption",
|
|
@@ -12723,7 +13438,6 @@ export declare namespace Page {
|
|
|
12723
13438
|
RunAdAuction = "run-ad-auction",
|
|
12724
13439
|
ScreenWakeLock = "screen-wake-lock",
|
|
12725
13440
|
Serial = "serial",
|
|
12726
|
-
SharedAutofill = "shared-autofill",
|
|
12727
13441
|
SharedStorage = "shared-storage",
|
|
12728
13442
|
SharedStorageSelectUrl = "shared-storage-select-url",
|
|
12729
13443
|
SmartCard = "smart-card",
|
|
@@ -13456,6 +14170,7 @@ export declare namespace Page {
|
|
|
13456
14170
|
BackForwardCacheDisabledForPrerender = "BackForwardCacheDisabledForPrerender",
|
|
13457
14171
|
UserAgentOverrideDiffers = "UserAgentOverrideDiffers",
|
|
13458
14172
|
ForegroundCacheLimit = "ForegroundCacheLimit",
|
|
14173
|
+
ForwardCacheDisabled = "ForwardCacheDisabled",
|
|
13459
14174
|
BrowsingInstanceNotSwapped = "BrowsingInstanceNotSwapped",
|
|
13460
14175
|
BackForwardCacheDisabledForDelegate = "BackForwardCacheDisabledForDelegate",
|
|
13461
14176
|
UnloadHandlerExistsInMainFrame = "UnloadHandlerExistsInMainFrame",
|
|
@@ -13499,6 +14214,7 @@ export declare namespace Page {
|
|
|
13499
14214
|
SharedWorkerMessage = "SharedWorkerMessage",
|
|
13500
14215
|
SharedWorkerWithNoActiveClient = "SharedWorkerWithNoActiveClient",
|
|
13501
14216
|
WebLocks = "WebLocks",
|
|
14217
|
+
WebLocksContention = "WebLocksContention",
|
|
13502
14218
|
WebHID = "WebHID",
|
|
13503
14219
|
WebBluetooth = "WebBluetooth",
|
|
13504
14220
|
WebShare = "WebShare",
|
|
@@ -13790,7 +14506,7 @@ export declare namespace Page {
|
|
|
13790
14506
|
* stack) to more distant ancestors (that created the immediately preceding
|
|
13791
14507
|
* script). Only sent if frame is labelled as an ad and ids are available.
|
|
13792
14508
|
*/
|
|
13793
|
-
adScriptAncestry?:
|
|
14509
|
+
adScriptAncestry?: Network.AdAncestry;
|
|
13794
14510
|
}
|
|
13795
14511
|
interface GetFrameTreeResponse extends ProtocolResponseWithError {
|
|
13796
14512
|
/**
|
|
@@ -14329,6 +15045,20 @@ export declare namespace Page {
|
|
|
14329
15045
|
interface SetPrerenderingAllowedRequest {
|
|
14330
15046
|
isAllowed: boolean;
|
|
14331
15047
|
}
|
|
15048
|
+
interface GetAnnotatedPageContentRequest {
|
|
15049
|
+
/**
|
|
15050
|
+
* Whether to include actionable information. Defaults to true.
|
|
15051
|
+
*/
|
|
15052
|
+
includeActionableInformation?: boolean;
|
|
15053
|
+
}
|
|
15054
|
+
interface GetAnnotatedPageContentResponse extends ProtocolResponseWithError {
|
|
15055
|
+
/**
|
|
15056
|
+
* The annotated page content as a base64 encoded protobuf.
|
|
15057
|
+
* The format is defined by the `AnnotatedPageContent` message in
|
|
15058
|
+
* components/optimization_guide/proto/features/common_quality_data.proto
|
|
15059
|
+
*/
|
|
15060
|
+
content: binary;
|
|
15061
|
+
}
|
|
14332
15062
|
interface DomContentEventFiredEvent {
|
|
14333
15063
|
timestamp: Network.MonotonicTime;
|
|
14334
15064
|
}
|
|
@@ -14953,7 +15683,8 @@ export declare namespace Preload {
|
|
|
14953
15683
|
*/
|
|
14954
15684
|
const enum SpeculationAction {
|
|
14955
15685
|
Prefetch = "Prefetch",
|
|
14956
|
-
Prerender = "Prerender"
|
|
15686
|
+
Prerender = "Prerender",
|
|
15687
|
+
PrerenderUntilScript = "PrerenderUntilScript"
|
|
14957
15688
|
}
|
|
14958
15689
|
/**
|
|
14959
15690
|
* Corresponds to mojom::SpeculationTargetHint.
|
|
@@ -14975,6 +15706,7 @@ export declare namespace Preload {
|
|
|
14975
15706
|
loaderId: Network.LoaderId;
|
|
14976
15707
|
action: SpeculationAction;
|
|
14977
15708
|
url: string;
|
|
15709
|
+
formSubmission?: boolean;
|
|
14978
15710
|
targetHint?: SpeculationTargetHint;
|
|
14979
15711
|
}
|
|
14980
15712
|
/**
|
|
@@ -15076,7 +15808,8 @@ export declare namespace Preload {
|
|
|
15076
15808
|
V8OptimizerDisabled = "V8OptimizerDisabled",
|
|
15077
15809
|
PrerenderFailedDuringPrefetch = "PrerenderFailedDuringPrefetch",
|
|
15078
15810
|
BrowsingDataRemoved = "BrowsingDataRemoved",
|
|
15079
|
-
PrerenderHostReused = "PrerenderHostReused"
|
|
15811
|
+
PrerenderHostReused = "PrerenderHostReused",
|
|
15812
|
+
FormSubmitWhenPrerendering = "FormSubmitWhenPrerendering"
|
|
15080
15813
|
}
|
|
15081
15814
|
/**
|
|
15082
15815
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
|
@@ -15548,48 +16281,374 @@ export declare namespace ServiceWorker {
|
|
|
15548
16281
|
lineNumber: integer;
|
|
15549
16282
|
columnNumber: integer;
|
|
15550
16283
|
}
|
|
15551
|
-
interface DeliverPushMessageRequest {
|
|
15552
|
-
origin: string;
|
|
15553
|
-
registrationId: RegistrationID;
|
|
15554
|
-
data: string;
|
|
16284
|
+
interface DeliverPushMessageRequest {
|
|
16285
|
+
origin: string;
|
|
16286
|
+
registrationId: RegistrationID;
|
|
16287
|
+
data: string;
|
|
16288
|
+
}
|
|
16289
|
+
interface DispatchSyncEventRequest {
|
|
16290
|
+
origin: string;
|
|
16291
|
+
registrationId: RegistrationID;
|
|
16292
|
+
tag: string;
|
|
16293
|
+
lastChance: boolean;
|
|
16294
|
+
}
|
|
16295
|
+
interface DispatchPeriodicSyncEventRequest {
|
|
16296
|
+
origin: string;
|
|
16297
|
+
registrationId: RegistrationID;
|
|
16298
|
+
tag: string;
|
|
16299
|
+
}
|
|
16300
|
+
interface SetForceUpdateOnPageLoadRequest {
|
|
16301
|
+
forceUpdateOnPageLoad: boolean;
|
|
16302
|
+
}
|
|
16303
|
+
interface SkipWaitingRequest {
|
|
16304
|
+
scopeURL: string;
|
|
16305
|
+
}
|
|
16306
|
+
interface StartWorkerRequest {
|
|
16307
|
+
scopeURL: string;
|
|
16308
|
+
}
|
|
16309
|
+
interface StopWorkerRequest {
|
|
16310
|
+
versionId: string;
|
|
16311
|
+
}
|
|
16312
|
+
interface UnregisterRequest {
|
|
16313
|
+
scopeURL: string;
|
|
16314
|
+
}
|
|
16315
|
+
interface UpdateRegistrationRequest {
|
|
16316
|
+
scopeURL: string;
|
|
16317
|
+
}
|
|
16318
|
+
interface WorkerErrorReportedEvent {
|
|
16319
|
+
errorMessage: ServiceWorkerErrorMessage;
|
|
16320
|
+
}
|
|
16321
|
+
interface WorkerRegistrationUpdatedEvent {
|
|
16322
|
+
registrations: ServiceWorkerRegistration[];
|
|
16323
|
+
}
|
|
16324
|
+
interface WorkerVersionUpdatedEvent {
|
|
16325
|
+
versions: ServiceWorkerVersion[];
|
|
16326
|
+
}
|
|
16327
|
+
}
|
|
16328
|
+
export declare namespace SmartCardEmulation {
|
|
16329
|
+
/**
|
|
16330
|
+
* Indicates the PC/SC error code.
|
|
16331
|
+
*
|
|
16332
|
+
* This maps to:
|
|
16333
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__ErrorCodes.html
|
|
16334
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/secauthn/authentication-return-values
|
|
16335
|
+
*/
|
|
16336
|
+
const enum ResultCode {
|
|
16337
|
+
Success = "success",
|
|
16338
|
+
RemovedCard = "removed-card",
|
|
16339
|
+
ResetCard = "reset-card",
|
|
16340
|
+
UnpoweredCard = "unpowered-card",
|
|
16341
|
+
UnresponsiveCard = "unresponsive-card",
|
|
16342
|
+
UnsupportedCard = "unsupported-card",
|
|
16343
|
+
ReaderUnavailable = "reader-unavailable",
|
|
16344
|
+
SharingViolation = "sharing-violation",
|
|
16345
|
+
NotTransacted = "not-transacted",
|
|
16346
|
+
NoSmartcard = "no-smartcard",
|
|
16347
|
+
ProtoMismatch = "proto-mismatch",
|
|
16348
|
+
SystemCancelled = "system-cancelled",
|
|
16349
|
+
NotReady = "not-ready",
|
|
16350
|
+
Cancelled = "cancelled",
|
|
16351
|
+
InsufficientBuffer = "insufficient-buffer",
|
|
16352
|
+
InvalidHandle = "invalid-handle",
|
|
16353
|
+
InvalidParameter = "invalid-parameter",
|
|
16354
|
+
InvalidValue = "invalid-value",
|
|
16355
|
+
NoMemory = "no-memory",
|
|
16356
|
+
Timeout = "timeout",
|
|
16357
|
+
UnknownReader = "unknown-reader",
|
|
16358
|
+
UnsupportedFeature = "unsupported-feature",
|
|
16359
|
+
NoReadersAvailable = "no-readers-available",
|
|
16360
|
+
ServiceStopped = "service-stopped",
|
|
16361
|
+
NoService = "no-service",
|
|
16362
|
+
CommError = "comm-error",
|
|
16363
|
+
InternalError = "internal-error",
|
|
16364
|
+
ServerTooBusy = "server-too-busy",
|
|
16365
|
+
Unexpected = "unexpected",
|
|
16366
|
+
Shutdown = "shutdown",
|
|
16367
|
+
UnknownCard = "unknown-card",
|
|
16368
|
+
Unknown = "unknown"
|
|
16369
|
+
}
|
|
16370
|
+
/**
|
|
16371
|
+
* Maps to the |SCARD_SHARE_*| values.
|
|
16372
|
+
*/
|
|
16373
|
+
const enum ShareMode {
|
|
16374
|
+
Shared = "shared",
|
|
16375
|
+
Exclusive = "exclusive",
|
|
16376
|
+
Direct = "direct"
|
|
16377
|
+
}
|
|
16378
|
+
/**
|
|
16379
|
+
* Indicates what the reader should do with the card.
|
|
16380
|
+
*/
|
|
16381
|
+
const enum Disposition {
|
|
16382
|
+
LeaveCard = "leave-card",
|
|
16383
|
+
ResetCard = "reset-card",
|
|
16384
|
+
UnpowerCard = "unpower-card",
|
|
16385
|
+
EjectCard = "eject-card"
|
|
16386
|
+
}
|
|
16387
|
+
/**
|
|
16388
|
+
* Maps to |SCARD_*| connection state values.
|
|
16389
|
+
*/
|
|
16390
|
+
const enum ConnectionState {
|
|
16391
|
+
Absent = "absent",
|
|
16392
|
+
Present = "present",
|
|
16393
|
+
Swallowed = "swallowed",
|
|
16394
|
+
Powered = "powered",
|
|
16395
|
+
Negotiable = "negotiable",
|
|
16396
|
+
Specific = "specific"
|
|
16397
|
+
}
|
|
16398
|
+
/**
|
|
16399
|
+
* Maps to the |SCARD_STATE_*| flags.
|
|
16400
|
+
*/
|
|
16401
|
+
interface ReaderStateFlags {
|
|
16402
|
+
unaware?: boolean;
|
|
16403
|
+
ignore?: boolean;
|
|
16404
|
+
changed?: boolean;
|
|
16405
|
+
unknown?: boolean;
|
|
16406
|
+
unavailable?: boolean;
|
|
16407
|
+
empty?: boolean;
|
|
16408
|
+
present?: boolean;
|
|
16409
|
+
exclusive?: boolean;
|
|
16410
|
+
inuse?: boolean;
|
|
16411
|
+
mute?: boolean;
|
|
16412
|
+
unpowered?: boolean;
|
|
16413
|
+
}
|
|
16414
|
+
/**
|
|
16415
|
+
* Maps to the |SCARD_PROTOCOL_*| flags.
|
|
16416
|
+
*/
|
|
16417
|
+
interface ProtocolSet {
|
|
16418
|
+
t0?: boolean;
|
|
16419
|
+
t1?: boolean;
|
|
16420
|
+
raw?: boolean;
|
|
16421
|
+
}
|
|
16422
|
+
/**
|
|
16423
|
+
* Maps to the |SCARD_PROTOCOL_*| values.
|
|
16424
|
+
*/
|
|
16425
|
+
const enum Protocol {
|
|
16426
|
+
T0 = "t0",
|
|
16427
|
+
T1 = "t1",
|
|
16428
|
+
Raw = "raw"
|
|
16429
|
+
}
|
|
16430
|
+
interface ReaderStateIn {
|
|
16431
|
+
reader: string;
|
|
16432
|
+
currentState: ReaderStateFlags;
|
|
16433
|
+
currentInsertionCount: integer;
|
|
16434
|
+
}
|
|
16435
|
+
interface ReaderStateOut {
|
|
16436
|
+
reader: string;
|
|
16437
|
+
eventState: ReaderStateFlags;
|
|
16438
|
+
eventCount: integer;
|
|
16439
|
+
atr: binary;
|
|
16440
|
+
}
|
|
16441
|
+
interface ReportEstablishContextResultRequest {
|
|
16442
|
+
requestId: string;
|
|
16443
|
+
contextId: integer;
|
|
16444
|
+
}
|
|
16445
|
+
interface ReportReleaseContextResultRequest {
|
|
16446
|
+
requestId: string;
|
|
16447
|
+
}
|
|
16448
|
+
interface ReportListReadersResultRequest {
|
|
16449
|
+
requestId: string;
|
|
16450
|
+
readers: string[];
|
|
16451
|
+
}
|
|
16452
|
+
interface ReportGetStatusChangeResultRequest {
|
|
16453
|
+
requestId: string;
|
|
16454
|
+
readerStates: ReaderStateOut[];
|
|
16455
|
+
}
|
|
16456
|
+
interface ReportBeginTransactionResultRequest {
|
|
16457
|
+
requestId: string;
|
|
16458
|
+
handle: integer;
|
|
16459
|
+
}
|
|
16460
|
+
interface ReportPlainResultRequest {
|
|
16461
|
+
requestId: string;
|
|
16462
|
+
}
|
|
16463
|
+
interface ReportConnectResultRequest {
|
|
16464
|
+
requestId: string;
|
|
16465
|
+
handle: integer;
|
|
16466
|
+
activeProtocol?: Protocol;
|
|
16467
|
+
}
|
|
16468
|
+
interface ReportDataResultRequest {
|
|
16469
|
+
requestId: string;
|
|
16470
|
+
data: binary;
|
|
16471
|
+
}
|
|
16472
|
+
interface ReportStatusResultRequest {
|
|
16473
|
+
requestId: string;
|
|
16474
|
+
readerName: string;
|
|
16475
|
+
state: ConnectionState;
|
|
16476
|
+
atr: binary;
|
|
16477
|
+
protocol?: Protocol;
|
|
16478
|
+
}
|
|
16479
|
+
interface ReportErrorRequest {
|
|
16480
|
+
requestId: string;
|
|
16481
|
+
resultCode: ResultCode;
|
|
16482
|
+
}
|
|
16483
|
+
/**
|
|
16484
|
+
* Fired when |SCardEstablishContext| is called.
|
|
16485
|
+
*
|
|
16486
|
+
* This maps to:
|
|
16487
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaa1b8970169fd4883a6dc4a8f43f19b67
|
|
16488
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardestablishcontext
|
|
16489
|
+
*/
|
|
16490
|
+
interface EstablishContextRequestedEvent {
|
|
16491
|
+
requestId: string;
|
|
16492
|
+
}
|
|
16493
|
+
/**
|
|
16494
|
+
* Fired when |SCardReleaseContext| is called.
|
|
16495
|
+
*
|
|
16496
|
+
* This maps to:
|
|
16497
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga6aabcba7744c5c9419fdd6404f73a934
|
|
16498
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardreleasecontext
|
|
16499
|
+
*/
|
|
16500
|
+
interface ReleaseContextRequestedEvent {
|
|
16501
|
+
requestId: string;
|
|
16502
|
+
contextId: integer;
|
|
16503
|
+
}
|
|
16504
|
+
/**
|
|
16505
|
+
* Fired when |SCardListReaders| is called.
|
|
16506
|
+
*
|
|
16507
|
+
* This maps to:
|
|
16508
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9
|
|
16509
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa
|
|
16510
|
+
*/
|
|
16511
|
+
interface ListReadersRequestedEvent {
|
|
16512
|
+
requestId: string;
|
|
16513
|
+
contextId: integer;
|
|
15555
16514
|
}
|
|
15556
|
-
|
|
15557
|
-
|
|
15558
|
-
|
|
15559
|
-
|
|
15560
|
-
|
|
16515
|
+
/**
|
|
16516
|
+
* Fired when |SCardGetStatusChange| is called. Timeout is specified in milliseconds.
|
|
16517
|
+
*
|
|
16518
|
+
* This maps to:
|
|
16519
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24
|
|
16520
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea
|
|
16521
|
+
*/
|
|
16522
|
+
interface GetStatusChangeRequestedEvent {
|
|
16523
|
+
requestId: string;
|
|
16524
|
+
contextId: integer;
|
|
16525
|
+
readerStates: ReaderStateIn[];
|
|
16526
|
+
/**
|
|
16527
|
+
* in milliseconds, if absent, it means "infinite"
|
|
16528
|
+
*/
|
|
16529
|
+
timeout?: integer;
|
|
15561
16530
|
}
|
|
15562
|
-
|
|
15563
|
-
|
|
15564
|
-
|
|
15565
|
-
|
|
16531
|
+
/**
|
|
16532
|
+
* Fired when |SCardCancel| is called.
|
|
16533
|
+
*
|
|
16534
|
+
* This maps to:
|
|
16535
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6
|
|
16536
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
|
|
16537
|
+
*/
|
|
16538
|
+
interface CancelRequestedEvent {
|
|
16539
|
+
requestId: string;
|
|
16540
|
+
contextId: integer;
|
|
15566
16541
|
}
|
|
15567
|
-
|
|
15568
|
-
|
|
16542
|
+
/**
|
|
16543
|
+
* Fired when |SCardConnect| is called.
|
|
16544
|
+
*
|
|
16545
|
+
* This maps to:
|
|
16546
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4e515829752e0a8dbc4d630696a8d6a5
|
|
16547
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardconnecta
|
|
16548
|
+
*/
|
|
16549
|
+
interface ConnectRequestedEvent {
|
|
16550
|
+
requestId: string;
|
|
16551
|
+
contextId: integer;
|
|
16552
|
+
reader: string;
|
|
16553
|
+
shareMode: ShareMode;
|
|
16554
|
+
preferredProtocols: ProtocolSet;
|
|
15569
16555
|
}
|
|
15570
|
-
|
|
15571
|
-
|
|
16556
|
+
/**
|
|
16557
|
+
* Fired when |SCardDisconnect| is called.
|
|
16558
|
+
*
|
|
16559
|
+
* This maps to:
|
|
16560
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga4be198045c73ec0deb79e66c0ca1738a
|
|
16561
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scarddisconnect
|
|
16562
|
+
*/
|
|
16563
|
+
interface DisconnectRequestedEvent {
|
|
16564
|
+
requestId: string;
|
|
16565
|
+
handle: integer;
|
|
16566
|
+
disposition: Disposition;
|
|
15572
16567
|
}
|
|
15573
|
-
|
|
15574
|
-
|
|
16568
|
+
/**
|
|
16569
|
+
* Fired when |SCardTransmit| is called.
|
|
16570
|
+
*
|
|
16571
|
+
* This maps to:
|
|
16572
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga9a2d77242a271310269065e64633ab99
|
|
16573
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardtransmit
|
|
16574
|
+
*/
|
|
16575
|
+
interface TransmitRequestedEvent {
|
|
16576
|
+
requestId: string;
|
|
16577
|
+
handle: integer;
|
|
16578
|
+
data: binary;
|
|
16579
|
+
protocol?: Protocol;
|
|
15575
16580
|
}
|
|
15576
|
-
|
|
15577
|
-
|
|
16581
|
+
/**
|
|
16582
|
+
* Fired when |SCardControl| is called.
|
|
16583
|
+
*
|
|
16584
|
+
* This maps to:
|
|
16585
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gac3454d4657110fd7f753b2d3d8f4e32f
|
|
16586
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcontrol
|
|
16587
|
+
*/
|
|
16588
|
+
interface ControlRequestedEvent {
|
|
16589
|
+
requestId: string;
|
|
16590
|
+
handle: integer;
|
|
16591
|
+
controlCode: integer;
|
|
16592
|
+
data: binary;
|
|
15578
16593
|
}
|
|
15579
|
-
|
|
15580
|
-
|
|
16594
|
+
/**
|
|
16595
|
+
* Fired when |SCardGetAttrib| is called.
|
|
16596
|
+
*
|
|
16597
|
+
* This maps to:
|
|
16598
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacfec51917255b7a25b94c5104961602
|
|
16599
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetattrib
|
|
16600
|
+
*/
|
|
16601
|
+
interface GetAttribRequestedEvent {
|
|
16602
|
+
requestId: string;
|
|
16603
|
+
handle: integer;
|
|
16604
|
+
attribId: integer;
|
|
15581
16605
|
}
|
|
15582
|
-
|
|
15583
|
-
|
|
16606
|
+
/**
|
|
16607
|
+
* Fired when |SCardSetAttrib| is called.
|
|
16608
|
+
*
|
|
16609
|
+
* This maps to:
|
|
16610
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga060f0038a4ddfd5dd2b8fadf3c3a2e4f
|
|
16611
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardsetattrib
|
|
16612
|
+
*/
|
|
16613
|
+
interface SetAttribRequestedEvent {
|
|
16614
|
+
requestId: string;
|
|
16615
|
+
handle: integer;
|
|
16616
|
+
attribId: integer;
|
|
16617
|
+
data: binary;
|
|
15584
16618
|
}
|
|
15585
|
-
|
|
15586
|
-
|
|
16619
|
+
/**
|
|
16620
|
+
* Fired when |SCardStatus| is called.
|
|
16621
|
+
*
|
|
16622
|
+
* This maps to:
|
|
16623
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382
|
|
16624
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa
|
|
16625
|
+
*/
|
|
16626
|
+
interface StatusRequestedEvent {
|
|
16627
|
+
requestId: string;
|
|
16628
|
+
handle: integer;
|
|
15587
16629
|
}
|
|
15588
|
-
|
|
15589
|
-
|
|
16630
|
+
/**
|
|
16631
|
+
* Fired when |SCardBeginTransaction| is called.
|
|
16632
|
+
*
|
|
16633
|
+
* This maps to:
|
|
16634
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaddb835dce01a0da1d6ca02d33ee7d861
|
|
16635
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardbegintransaction
|
|
16636
|
+
*/
|
|
16637
|
+
interface BeginTransactionRequestedEvent {
|
|
16638
|
+
requestId: string;
|
|
16639
|
+
handle: integer;
|
|
15590
16640
|
}
|
|
15591
|
-
|
|
15592
|
-
|
|
16641
|
+
/**
|
|
16642
|
+
* Fired when |SCardEndTransaction| is called.
|
|
16643
|
+
*
|
|
16644
|
+
* This maps to:
|
|
16645
|
+
* PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae8742473b404363e5c587f570d7e2f3b
|
|
16646
|
+
* Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardendtransaction
|
|
16647
|
+
*/
|
|
16648
|
+
interface EndTransactionRequestedEvent {
|
|
16649
|
+
requestId: string;
|
|
16650
|
+
handle: integer;
|
|
16651
|
+
disposition: Disposition;
|
|
15593
16652
|
}
|
|
15594
16653
|
}
|
|
15595
16654
|
export declare namespace Storage {
|
|
@@ -15896,226 +16955,6 @@ export declare namespace Storage {
|
|
|
15896
16955
|
persistent: boolean;
|
|
15897
16956
|
durability: StorageBucketsDurability;
|
|
15898
16957
|
}
|
|
15899
|
-
const enum AttributionReportingSourceType {
|
|
15900
|
-
Navigation = "navigation",
|
|
15901
|
-
Event = "event"
|
|
15902
|
-
}
|
|
15903
|
-
type UnsignedInt64AsBase10 = string;
|
|
15904
|
-
type UnsignedInt128AsBase16 = string;
|
|
15905
|
-
type SignedInt64AsBase10 = string;
|
|
15906
|
-
interface AttributionReportingFilterDataEntry {
|
|
15907
|
-
key: string;
|
|
15908
|
-
values: string[];
|
|
15909
|
-
}
|
|
15910
|
-
interface AttributionReportingFilterConfig {
|
|
15911
|
-
filterValues: AttributionReportingFilterDataEntry[];
|
|
15912
|
-
/**
|
|
15913
|
-
* duration in seconds
|
|
15914
|
-
*/
|
|
15915
|
-
lookbackWindow?: integer;
|
|
15916
|
-
}
|
|
15917
|
-
interface AttributionReportingFilterPair {
|
|
15918
|
-
filters: AttributionReportingFilterConfig[];
|
|
15919
|
-
notFilters: AttributionReportingFilterConfig[];
|
|
15920
|
-
}
|
|
15921
|
-
interface AttributionReportingAggregationKeysEntry {
|
|
15922
|
-
key: string;
|
|
15923
|
-
value: UnsignedInt128AsBase16;
|
|
15924
|
-
}
|
|
15925
|
-
interface AttributionReportingEventReportWindows {
|
|
15926
|
-
/**
|
|
15927
|
-
* duration in seconds
|
|
15928
|
-
*/
|
|
15929
|
-
start: integer;
|
|
15930
|
-
/**
|
|
15931
|
-
* duration in seconds
|
|
15932
|
-
*/
|
|
15933
|
-
ends: integer[];
|
|
15934
|
-
}
|
|
15935
|
-
const enum AttributionReportingTriggerDataMatching {
|
|
15936
|
-
Exact = "exact",
|
|
15937
|
-
Modulus = "modulus"
|
|
15938
|
-
}
|
|
15939
|
-
interface AttributionReportingAggregatableDebugReportingData {
|
|
15940
|
-
keyPiece: UnsignedInt128AsBase16;
|
|
15941
|
-
/**
|
|
15942
|
-
* number instead of integer because not all uint32 can be represented by
|
|
15943
|
-
* int
|
|
15944
|
-
*/
|
|
15945
|
-
value: number;
|
|
15946
|
-
types: string[];
|
|
15947
|
-
}
|
|
15948
|
-
interface AttributionReportingAggregatableDebugReportingConfig {
|
|
15949
|
-
/**
|
|
15950
|
-
* number instead of integer because not all uint32 can be represented by
|
|
15951
|
-
* int, only present for source registrations
|
|
15952
|
-
*/
|
|
15953
|
-
budget?: number;
|
|
15954
|
-
keyPiece: UnsignedInt128AsBase16;
|
|
15955
|
-
debugData: AttributionReportingAggregatableDebugReportingData[];
|
|
15956
|
-
aggregationCoordinatorOrigin?: string;
|
|
15957
|
-
}
|
|
15958
|
-
interface AttributionScopesData {
|
|
15959
|
-
values: string[];
|
|
15960
|
-
/**
|
|
15961
|
-
* number instead of integer because not all uint32 can be represented by
|
|
15962
|
-
* int
|
|
15963
|
-
*/
|
|
15964
|
-
limit: number;
|
|
15965
|
-
maxEventStates: number;
|
|
15966
|
-
}
|
|
15967
|
-
interface AttributionReportingNamedBudgetDef {
|
|
15968
|
-
name: string;
|
|
15969
|
-
budget: integer;
|
|
15970
|
-
}
|
|
15971
|
-
interface AttributionReportingSourceRegistration {
|
|
15972
|
-
time: Network.TimeSinceEpoch;
|
|
15973
|
-
/**
|
|
15974
|
-
* duration in seconds
|
|
15975
|
-
*/
|
|
15976
|
-
expiry: integer;
|
|
15977
|
-
/**
|
|
15978
|
-
* number instead of integer because not all uint32 can be represented by
|
|
15979
|
-
* int
|
|
15980
|
-
*/
|
|
15981
|
-
triggerData: number[];
|
|
15982
|
-
eventReportWindows: AttributionReportingEventReportWindows;
|
|
15983
|
-
/**
|
|
15984
|
-
* duration in seconds
|
|
15985
|
-
*/
|
|
15986
|
-
aggregatableReportWindow: integer;
|
|
15987
|
-
type: AttributionReportingSourceType;
|
|
15988
|
-
sourceOrigin: string;
|
|
15989
|
-
reportingOrigin: string;
|
|
15990
|
-
destinationSites: string[];
|
|
15991
|
-
eventId: UnsignedInt64AsBase10;
|
|
15992
|
-
priority: SignedInt64AsBase10;
|
|
15993
|
-
filterData: AttributionReportingFilterDataEntry[];
|
|
15994
|
-
aggregationKeys: AttributionReportingAggregationKeysEntry[];
|
|
15995
|
-
debugKey?: UnsignedInt64AsBase10;
|
|
15996
|
-
triggerDataMatching: AttributionReportingTriggerDataMatching;
|
|
15997
|
-
destinationLimitPriority: SignedInt64AsBase10;
|
|
15998
|
-
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
|
15999
|
-
scopesData?: AttributionScopesData;
|
|
16000
|
-
maxEventLevelReports: integer;
|
|
16001
|
-
namedBudgets: AttributionReportingNamedBudgetDef[];
|
|
16002
|
-
debugReporting: boolean;
|
|
16003
|
-
eventLevelEpsilon: number;
|
|
16004
|
-
}
|
|
16005
|
-
const enum AttributionReportingSourceRegistrationResult {
|
|
16006
|
-
Success = "success",
|
|
16007
|
-
InternalError = "internalError",
|
|
16008
|
-
InsufficientSourceCapacity = "insufficientSourceCapacity",
|
|
16009
|
-
InsufficientUniqueDestinationCapacity = "insufficientUniqueDestinationCapacity",
|
|
16010
|
-
ExcessiveReportingOrigins = "excessiveReportingOrigins",
|
|
16011
|
-
ProhibitedByBrowserPolicy = "prohibitedByBrowserPolicy",
|
|
16012
|
-
SuccessNoised = "successNoised",
|
|
16013
|
-
DestinationReportingLimitReached = "destinationReportingLimitReached",
|
|
16014
|
-
DestinationGlobalLimitReached = "destinationGlobalLimitReached",
|
|
16015
|
-
DestinationBothLimitsReached = "destinationBothLimitsReached",
|
|
16016
|
-
ReportingOriginsPerSiteLimitReached = "reportingOriginsPerSiteLimitReached",
|
|
16017
|
-
ExceedsMaxChannelCapacity = "exceedsMaxChannelCapacity",
|
|
16018
|
-
ExceedsMaxScopesChannelCapacity = "exceedsMaxScopesChannelCapacity",
|
|
16019
|
-
ExceedsMaxTriggerStateCardinality = "exceedsMaxTriggerStateCardinality",
|
|
16020
|
-
ExceedsMaxEventStatesLimit = "exceedsMaxEventStatesLimit",
|
|
16021
|
-
DestinationPerDayReportingLimitReached = "destinationPerDayReportingLimitReached"
|
|
16022
|
-
}
|
|
16023
|
-
const enum AttributionReportingSourceRegistrationTimeConfig {
|
|
16024
|
-
Include = "include",
|
|
16025
|
-
Exclude = "exclude"
|
|
16026
|
-
}
|
|
16027
|
-
interface AttributionReportingAggregatableValueDictEntry {
|
|
16028
|
-
key: string;
|
|
16029
|
-
/**
|
|
16030
|
-
* number instead of integer because not all uint32 can be represented by
|
|
16031
|
-
* int
|
|
16032
|
-
*/
|
|
16033
|
-
value: number;
|
|
16034
|
-
filteringId: UnsignedInt64AsBase10;
|
|
16035
|
-
}
|
|
16036
|
-
interface AttributionReportingAggregatableValueEntry {
|
|
16037
|
-
values: AttributionReportingAggregatableValueDictEntry[];
|
|
16038
|
-
filters: AttributionReportingFilterPair;
|
|
16039
|
-
}
|
|
16040
|
-
interface AttributionReportingEventTriggerData {
|
|
16041
|
-
data: UnsignedInt64AsBase10;
|
|
16042
|
-
priority: SignedInt64AsBase10;
|
|
16043
|
-
dedupKey?: UnsignedInt64AsBase10;
|
|
16044
|
-
filters: AttributionReportingFilterPair;
|
|
16045
|
-
}
|
|
16046
|
-
interface AttributionReportingAggregatableTriggerData {
|
|
16047
|
-
keyPiece: UnsignedInt128AsBase16;
|
|
16048
|
-
sourceKeys: string[];
|
|
16049
|
-
filters: AttributionReportingFilterPair;
|
|
16050
|
-
}
|
|
16051
|
-
interface AttributionReportingAggregatableDedupKey {
|
|
16052
|
-
dedupKey?: UnsignedInt64AsBase10;
|
|
16053
|
-
filters: AttributionReportingFilterPair;
|
|
16054
|
-
}
|
|
16055
|
-
interface AttributionReportingNamedBudgetCandidate {
|
|
16056
|
-
name?: string;
|
|
16057
|
-
filters: AttributionReportingFilterPair;
|
|
16058
|
-
}
|
|
16059
|
-
interface AttributionReportingTriggerRegistration {
|
|
16060
|
-
filters: AttributionReportingFilterPair;
|
|
16061
|
-
debugKey?: UnsignedInt64AsBase10;
|
|
16062
|
-
aggregatableDedupKeys: AttributionReportingAggregatableDedupKey[];
|
|
16063
|
-
eventTriggerData: AttributionReportingEventTriggerData[];
|
|
16064
|
-
aggregatableTriggerData: AttributionReportingAggregatableTriggerData[];
|
|
16065
|
-
aggregatableValues: AttributionReportingAggregatableValueEntry[];
|
|
16066
|
-
aggregatableFilteringIdMaxBytes: integer;
|
|
16067
|
-
debugReporting: boolean;
|
|
16068
|
-
aggregationCoordinatorOrigin?: string;
|
|
16069
|
-
sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
|
|
16070
|
-
triggerContextId?: string;
|
|
16071
|
-
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
|
16072
|
-
scopes: string[];
|
|
16073
|
-
namedBudgets: AttributionReportingNamedBudgetCandidate[];
|
|
16074
|
-
}
|
|
16075
|
-
const enum AttributionReportingEventLevelResult {
|
|
16076
|
-
Success = "success",
|
|
16077
|
-
SuccessDroppedLowerPriority = "successDroppedLowerPriority",
|
|
16078
|
-
InternalError = "internalError",
|
|
16079
|
-
NoCapacityForAttributionDestination = "noCapacityForAttributionDestination",
|
|
16080
|
-
NoMatchingSources = "noMatchingSources",
|
|
16081
|
-
Deduplicated = "deduplicated",
|
|
16082
|
-
ExcessiveAttributions = "excessiveAttributions",
|
|
16083
|
-
PriorityTooLow = "priorityTooLow",
|
|
16084
|
-
NeverAttributedSource = "neverAttributedSource",
|
|
16085
|
-
ExcessiveReportingOrigins = "excessiveReportingOrigins",
|
|
16086
|
-
NoMatchingSourceFilterData = "noMatchingSourceFilterData",
|
|
16087
|
-
ProhibitedByBrowserPolicy = "prohibitedByBrowserPolicy",
|
|
16088
|
-
NoMatchingConfigurations = "noMatchingConfigurations",
|
|
16089
|
-
ExcessiveReports = "excessiveReports",
|
|
16090
|
-
FalselyAttributedSource = "falselyAttributedSource",
|
|
16091
|
-
ReportWindowPassed = "reportWindowPassed",
|
|
16092
|
-
NotRegistered = "notRegistered",
|
|
16093
|
-
ReportWindowNotStarted = "reportWindowNotStarted",
|
|
16094
|
-
NoMatchingTriggerData = "noMatchingTriggerData"
|
|
16095
|
-
}
|
|
16096
|
-
const enum AttributionReportingAggregatableResult {
|
|
16097
|
-
Success = "success",
|
|
16098
|
-
InternalError = "internalError",
|
|
16099
|
-
NoCapacityForAttributionDestination = "noCapacityForAttributionDestination",
|
|
16100
|
-
NoMatchingSources = "noMatchingSources",
|
|
16101
|
-
ExcessiveAttributions = "excessiveAttributions",
|
|
16102
|
-
ExcessiveReportingOrigins = "excessiveReportingOrigins",
|
|
16103
|
-
NoHistograms = "noHistograms",
|
|
16104
|
-
InsufficientBudget = "insufficientBudget",
|
|
16105
|
-
InsufficientNamedBudget = "insufficientNamedBudget",
|
|
16106
|
-
NoMatchingSourceFilterData = "noMatchingSourceFilterData",
|
|
16107
|
-
NotRegistered = "notRegistered",
|
|
16108
|
-
ProhibitedByBrowserPolicy = "prohibitedByBrowserPolicy",
|
|
16109
|
-
Deduplicated = "deduplicated",
|
|
16110
|
-
ReportWindowPassed = "reportWindowPassed",
|
|
16111
|
-
ExcessiveReports = "excessiveReports"
|
|
16112
|
-
}
|
|
16113
|
-
const enum AttributionReportingReportResult {
|
|
16114
|
-
Sent = "sent",
|
|
16115
|
-
Prohibited = "prohibited",
|
|
16116
|
-
FailedToAssemble = "failedToAssemble",
|
|
16117
|
-
Expired = "expired"
|
|
16118
|
-
}
|
|
16119
16958
|
/**
|
|
16120
16959
|
* A single Related Website Set object.
|
|
16121
16960
|
*/
|
|
@@ -16357,41 +17196,9 @@ export declare namespace Storage {
|
|
|
16357
17196
|
interface RunBounceTrackingMitigationsResponse extends ProtocolResponseWithError {
|
|
16358
17197
|
deletedSites: string[];
|
|
16359
17198
|
}
|
|
16360
|
-
interface SetAttributionReportingLocalTestingModeRequest {
|
|
16361
|
-
/**
|
|
16362
|
-
* If enabled, noise is suppressed and reports are sent immediately.
|
|
16363
|
-
*/
|
|
16364
|
-
enabled: boolean;
|
|
16365
|
-
}
|
|
16366
|
-
interface SetAttributionReportingTrackingRequest {
|
|
16367
|
-
enable: boolean;
|
|
16368
|
-
}
|
|
16369
|
-
interface SendPendingAttributionReportsResponse extends ProtocolResponseWithError {
|
|
16370
|
-
/**
|
|
16371
|
-
* The number of reports that were sent.
|
|
16372
|
-
*/
|
|
16373
|
-
numSent: integer;
|
|
16374
|
-
}
|
|
16375
17199
|
interface GetRelatedWebsiteSetsResponse extends ProtocolResponseWithError {
|
|
16376
17200
|
sets: RelatedWebsiteSet[];
|
|
16377
17201
|
}
|
|
16378
|
-
interface GetAffectedUrlsForThirdPartyCookieMetadataRequest {
|
|
16379
|
-
/**
|
|
16380
|
-
* The URL of the page currently being visited.
|
|
16381
|
-
*/
|
|
16382
|
-
firstPartyUrl: string;
|
|
16383
|
-
/**
|
|
16384
|
-
* The list of embedded resource URLs from the page.
|
|
16385
|
-
*/
|
|
16386
|
-
thirdPartyUrls: string[];
|
|
16387
|
-
}
|
|
16388
|
-
interface GetAffectedUrlsForThirdPartyCookieMetadataResponse extends ProtocolResponseWithError {
|
|
16389
|
-
/**
|
|
16390
|
-
* Array of matching URLs. If there is a primary pattern match for the first-
|
|
16391
|
-
* party URL, only the first-party URL is returned in the array.
|
|
16392
|
-
*/
|
|
16393
|
-
matchedUrls: string[];
|
|
16394
|
-
}
|
|
16395
17202
|
interface SetProtectedAudienceKAnonymityRequest {
|
|
16396
17203
|
owner: string;
|
|
16397
17204
|
name: string;
|
|
@@ -16611,33 +17418,6 @@ export declare namespace Storage {
|
|
|
16611
17418
|
interface StorageBucketDeletedEvent {
|
|
16612
17419
|
bucketId: string;
|
|
16613
17420
|
}
|
|
16614
|
-
interface AttributionReportingSourceRegisteredEvent {
|
|
16615
|
-
registration: AttributionReportingSourceRegistration;
|
|
16616
|
-
result: AttributionReportingSourceRegistrationResult;
|
|
16617
|
-
}
|
|
16618
|
-
interface AttributionReportingTriggerRegisteredEvent {
|
|
16619
|
-
registration: AttributionReportingTriggerRegistration;
|
|
16620
|
-
eventLevel: AttributionReportingEventLevelResult;
|
|
16621
|
-
aggregatable: AttributionReportingAggregatableResult;
|
|
16622
|
-
}
|
|
16623
|
-
interface AttributionReportingReportSentEvent {
|
|
16624
|
-
url: string;
|
|
16625
|
-
body: any;
|
|
16626
|
-
result: AttributionReportingReportResult;
|
|
16627
|
-
/**
|
|
16628
|
-
* If result is `sent`, populated with net/HTTP status.
|
|
16629
|
-
*/
|
|
16630
|
-
netError?: integer;
|
|
16631
|
-
netErrorName?: string;
|
|
16632
|
-
httpStatusCode?: integer;
|
|
16633
|
-
}
|
|
16634
|
-
interface AttributionReportingVerboseDebugReportSentEvent {
|
|
16635
|
-
url: string;
|
|
16636
|
-
body?: any[];
|
|
16637
|
-
netError?: integer;
|
|
16638
|
-
netErrorName?: string;
|
|
16639
|
-
httpStatusCode?: integer;
|
|
16640
|
-
}
|
|
16641
17421
|
}
|
|
16642
17422
|
/**
|
|
16643
17423
|
* The SystemInfo domain defines methods and events for querying low-level system information.
|
|
@@ -16748,28 +17528,6 @@ export declare namespace SystemInfo {
|
|
|
16748
17528
|
Webp = "webp",
|
|
16749
17529
|
Unknown = "unknown"
|
|
16750
17530
|
}
|
|
16751
|
-
/**
|
|
16752
|
-
* Describes a supported image decoding profile with its associated minimum and
|
|
16753
|
-
* maximum resolutions and subsampling.
|
|
16754
|
-
*/
|
|
16755
|
-
interface ImageDecodeAcceleratorCapability {
|
|
16756
|
-
/**
|
|
16757
|
-
* Image coded, e.g. Jpeg.
|
|
16758
|
-
*/
|
|
16759
|
-
imageType: ImageType;
|
|
16760
|
-
/**
|
|
16761
|
-
* Maximum supported dimensions of the image in pixels.
|
|
16762
|
-
*/
|
|
16763
|
-
maxDimensions: Size;
|
|
16764
|
-
/**
|
|
16765
|
-
* Minimum supported dimensions of the image in pixels.
|
|
16766
|
-
*/
|
|
16767
|
-
minDimensions: Size;
|
|
16768
|
-
/**
|
|
16769
|
-
* Optional array of supported subsampling formats, e.g. 4:2:0, if known.
|
|
16770
|
-
*/
|
|
16771
|
-
subsamplings: SubsamplingFormat[];
|
|
16772
|
-
}
|
|
16773
17531
|
/**
|
|
16774
17532
|
* Provides information about the GPU(s) on the system.
|
|
16775
17533
|
*/
|
|
@@ -16798,10 +17556,6 @@ export declare namespace SystemInfo {
|
|
|
16798
17556
|
* Supported accelerated video encoding capabilities.
|
|
16799
17557
|
*/
|
|
16800
17558
|
videoEncoding: VideoEncodeAcceleratorCapability[];
|
|
16801
|
-
/**
|
|
16802
|
-
* Supported accelerated image decoding capabilities.
|
|
16803
|
-
*/
|
|
16804
|
-
imageDecoding: ImageDecodeAcceleratorCapability[];
|
|
16805
17559
|
}
|
|
16806
17560
|
/**
|
|
16807
17561
|
* Represents process info.
|
|
@@ -17009,6 +17763,10 @@ export declare namespace Target {
|
|
|
17009
17763
|
* An array of browser context ids.
|
|
17010
17764
|
*/
|
|
17011
17765
|
browserContextIds: Browser.BrowserContextID[];
|
|
17766
|
+
/**
|
|
17767
|
+
* The id of the default browser context if available.
|
|
17768
|
+
*/
|
|
17769
|
+
defaultBrowserContextId?: Browser.BrowserContextID;
|
|
17012
17770
|
}
|
|
17013
17771
|
interface CreateTargetRequest {
|
|
17014
17772
|
/**
|
|
@@ -17064,6 +17822,16 @@ export declare namespace Target {
|
|
|
17064
17822
|
* `background: false`. The life-time of the tab is limited to the life-time of the session.
|
|
17065
17823
|
*/
|
|
17066
17824
|
hidden?: boolean;
|
|
17825
|
+
/**
|
|
17826
|
+
* If specified, the option is used to determine if the new target should
|
|
17827
|
+
* be focused or not. By default, the focus behavior depends on the
|
|
17828
|
+
* value of the background field. For example, background=false and focus=false
|
|
17829
|
+
* will result in the target tab being opened but the browser window remain
|
|
17830
|
+
* unchanged (if it was in the background, it will remain in the background)
|
|
17831
|
+
* and background=false with focus=undefined will result in the window being focused.
|
|
17832
|
+
* Using background: true and focus: true is not supported and will result in an error.
|
|
17833
|
+
*/
|
|
17834
|
+
focus?: boolean;
|
|
17067
17835
|
}
|
|
17068
17836
|
interface CreateTargetResponse extends ProtocolResponseWithError {
|
|
17069
17837
|
/**
|
|
@@ -17167,11 +17935,29 @@ export declare namespace Target {
|
|
|
17167
17935
|
*/
|
|
17168
17936
|
locations: RemoteLocation[];
|
|
17169
17937
|
}
|
|
17938
|
+
interface GetDevToolsTargetRequest {
|
|
17939
|
+
/**
|
|
17940
|
+
* Page or tab target ID.
|
|
17941
|
+
*/
|
|
17942
|
+
targetId: TargetID;
|
|
17943
|
+
}
|
|
17944
|
+
interface GetDevToolsTargetResponse extends ProtocolResponseWithError {
|
|
17945
|
+
/**
|
|
17946
|
+
* The targetId of DevTools page target if exists.
|
|
17947
|
+
*/
|
|
17948
|
+
targetId?: TargetID;
|
|
17949
|
+
}
|
|
17170
17950
|
interface OpenDevToolsRequest {
|
|
17171
17951
|
/**
|
|
17172
17952
|
* This can be the page or tab target ID.
|
|
17173
17953
|
*/
|
|
17174
17954
|
targetId: TargetID;
|
|
17955
|
+
/**
|
|
17956
|
+
* The id of the panel we want DevTools to open initially. Currently
|
|
17957
|
+
* supported panels are elements, console, network, sources, resources
|
|
17958
|
+
* and performance.
|
|
17959
|
+
*/
|
|
17960
|
+
panelId?: string;
|
|
17175
17961
|
}
|
|
17176
17962
|
interface OpenDevToolsResponse extends ProtocolResponseWithError {
|
|
17177
17963
|
/**
|
|
@@ -17380,6 +18166,12 @@ export declare namespace Tracing {
|
|
|
17380
18166
|
*/
|
|
17381
18167
|
categories: string[];
|
|
17382
18168
|
}
|
|
18169
|
+
interface GetTrackEventDescriptorResponse extends ProtocolResponseWithError {
|
|
18170
|
+
/**
|
|
18171
|
+
* Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message.
|
|
18172
|
+
*/
|
|
18173
|
+
descriptor: binary;
|
|
18174
|
+
}
|
|
17383
18175
|
interface RecordClockSyncMarkerRequest {
|
|
17384
18176
|
/**
|
|
17385
18177
|
* The ID of this clock sync marker
|
|
@@ -17746,7 +18538,8 @@ export declare namespace WebAuthn {
|
|
|
17746
18538
|
}
|
|
17747
18539
|
const enum Ctap2Version {
|
|
17748
18540
|
Ctap2_0 = "ctap2_0",
|
|
17749
|
-
Ctap2_1 = "ctap2_1"
|
|
18541
|
+
Ctap2_1 = "ctap2_1",
|
|
18542
|
+
Ctap2_2 = "ctap2_2"
|
|
17750
18543
|
}
|
|
17751
18544
|
const enum AuthenticatorTransport {
|
|
17752
18545
|
Usb = "usb",
|
|
@@ -17794,6 +18587,18 @@ export declare namespace WebAuthn {
|
|
|
17794
18587
|
* Defaults to false.
|
|
17795
18588
|
*/
|
|
17796
18589
|
hasPrf?: boolean;
|
|
18590
|
+
/**
|
|
18591
|
+
* If set to true, the authenticator will support the hmac-secret extension.
|
|
18592
|
+
* https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-hmac-secret-extension
|
|
18593
|
+
* Defaults to false.
|
|
18594
|
+
*/
|
|
18595
|
+
hasHmacSecret?: boolean;
|
|
18596
|
+
/**
|
|
18597
|
+
* If set to true, the authenticator will support the hmac-secret-mc extension.
|
|
18598
|
+
* https://fidoalliance.org/specs/fido-v2.2-rd-20241003/fido-client-to-authenticator-protocol-v2.2-rd-20241003.html#sctn-hmac-secret-make-cred-extension
|
|
18599
|
+
* Defaults to false.
|
|
18600
|
+
*/
|
|
18601
|
+
hasHmacSecretMc?: boolean;
|
|
17797
18602
|
/**
|
|
17798
18603
|
* If set to true, tests of user presence will succeed immediately.
|
|
17799
18604
|
* Otherwise, they will not be resolved. Defaults to true.
|
|
@@ -17975,6 +18780,126 @@ export declare namespace WebAuthn {
|
|
|
17975
18780
|
credential: Credential;
|
|
17976
18781
|
}
|
|
17977
18782
|
}
|
|
18783
|
+
export declare namespace WebMCP {
|
|
18784
|
+
/**
|
|
18785
|
+
* Tool annotations
|
|
18786
|
+
*/
|
|
18787
|
+
interface Annotation {
|
|
18788
|
+
/**
|
|
18789
|
+
* A hint indicating that the tool does not modify any state.
|
|
18790
|
+
*/
|
|
18791
|
+
readOnly?: boolean;
|
|
18792
|
+
/**
|
|
18793
|
+
* If the declarative tool was declared with the autosubmit attribute.
|
|
18794
|
+
*/
|
|
18795
|
+
autosubmit?: boolean;
|
|
18796
|
+
}
|
|
18797
|
+
/**
|
|
18798
|
+
* Represents the status of a tool invocation.
|
|
18799
|
+
*/
|
|
18800
|
+
const enum InvocationStatus {
|
|
18801
|
+
Success = "Success",
|
|
18802
|
+
Canceled = "Canceled",
|
|
18803
|
+
Error = "Error"
|
|
18804
|
+
}
|
|
18805
|
+
/**
|
|
18806
|
+
* Definition of a tool that can be invoked.
|
|
18807
|
+
*/
|
|
18808
|
+
interface Tool {
|
|
18809
|
+
/**
|
|
18810
|
+
* Tool name.
|
|
18811
|
+
*/
|
|
18812
|
+
name: string;
|
|
18813
|
+
/**
|
|
18814
|
+
* Tool description.
|
|
18815
|
+
*/
|
|
18816
|
+
description: string;
|
|
18817
|
+
/**
|
|
18818
|
+
* Schema for the tool's input parameters.
|
|
18819
|
+
*/
|
|
18820
|
+
inputSchema?: any;
|
|
18821
|
+
/**
|
|
18822
|
+
* Optional annotations for the tool.
|
|
18823
|
+
*/
|
|
18824
|
+
annotations?: Annotation;
|
|
18825
|
+
/**
|
|
18826
|
+
* Frame identifier associated with the tool registration.
|
|
18827
|
+
*/
|
|
18828
|
+
frameId: Page.FrameId;
|
|
18829
|
+
/**
|
|
18830
|
+
* Optional node ID for declarative tools.
|
|
18831
|
+
*/
|
|
18832
|
+
backendNodeId?: DOM.BackendNodeId;
|
|
18833
|
+
/**
|
|
18834
|
+
* The stack trace at the time of the registration.
|
|
18835
|
+
*/
|
|
18836
|
+
stackTrace?: Runtime.StackTrace;
|
|
18837
|
+
}
|
|
18838
|
+
/**
|
|
18839
|
+
* Event fired when new tools are added.
|
|
18840
|
+
*/
|
|
18841
|
+
interface ToolsAddedEvent {
|
|
18842
|
+
/**
|
|
18843
|
+
* Array of tools that were added.
|
|
18844
|
+
*/
|
|
18845
|
+
tools: Tool[];
|
|
18846
|
+
}
|
|
18847
|
+
/**
|
|
18848
|
+
* Event fired when tools are removed.
|
|
18849
|
+
*/
|
|
18850
|
+
interface ToolsRemovedEvent {
|
|
18851
|
+
/**
|
|
18852
|
+
* Array of tools that were removed.
|
|
18853
|
+
*/
|
|
18854
|
+
tools: Tool[];
|
|
18855
|
+
}
|
|
18856
|
+
/**
|
|
18857
|
+
* Event fired when a tool invocation starts.
|
|
18858
|
+
*/
|
|
18859
|
+
interface ToolInvokedEvent {
|
|
18860
|
+
/**
|
|
18861
|
+
* Name of the tool to invoke.
|
|
18862
|
+
*/
|
|
18863
|
+
toolName: string;
|
|
18864
|
+
/**
|
|
18865
|
+
* Frame id
|
|
18866
|
+
*/
|
|
18867
|
+
frameId: Page.FrameId;
|
|
18868
|
+
/**
|
|
18869
|
+
* Invocation identifier.
|
|
18870
|
+
*/
|
|
18871
|
+
invocationId: string;
|
|
18872
|
+
/**
|
|
18873
|
+
* The input parameters used for the invocation.
|
|
18874
|
+
*/
|
|
18875
|
+
input: string;
|
|
18876
|
+
}
|
|
18877
|
+
/**
|
|
18878
|
+
* Event fired when a tool invocation completes or fails.
|
|
18879
|
+
*/
|
|
18880
|
+
interface ToolRespondedEvent {
|
|
18881
|
+
/**
|
|
18882
|
+
* Invocation identifier.
|
|
18883
|
+
*/
|
|
18884
|
+
invocationId: string;
|
|
18885
|
+
/**
|
|
18886
|
+
* Status of the invocation.
|
|
18887
|
+
*/
|
|
18888
|
+
status: InvocationStatus;
|
|
18889
|
+
/**
|
|
18890
|
+
* Output or error delivered as delivered to the agent. Missing if `status` is anything other than Success.
|
|
18891
|
+
*/
|
|
18892
|
+
output?: any;
|
|
18893
|
+
/**
|
|
18894
|
+
* Error text for protocol users.
|
|
18895
|
+
*/
|
|
18896
|
+
errorText?: string;
|
|
18897
|
+
/**
|
|
18898
|
+
* The exception object, if the javascript tool threw an error>
|
|
18899
|
+
*/
|
|
18900
|
+
exception?: Runtime.RemoteObject;
|
|
18901
|
+
}
|
|
18902
|
+
}
|
|
17978
18903
|
/**
|
|
17979
18904
|
* Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
|
|
17980
18905
|
* breakpoints, stepping through execution, exploring stack traces, etc.
|