@paulirish/trace_engine 0.0.50 → 0.0.52
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/tsconfig.tsbuildinfo +1 -1
- package/core/platform/Constructor.d.ts +2 -2
- package/core/platform/Constructor.js.map +1 -1
- package/core/platform/StringUtilities.d.ts +2 -5
- package/core/platform/StringUtilities.js +4 -4
- package/core/platform/StringUtilities.js.map +1 -1
- package/core/platform/TypescriptUtilities.d.ts +1 -1
- package/core/platform/TypescriptUtilities.js +1 -1
- package/core/platform/TypescriptUtilities.js.map +1 -1
- package/core/platform/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/core/platform/platform-tsconfig.json +3 -4
- package/core/platform/platform.d.ts +1 -2
- package/core/platform/platform.js +1 -2
- package/core/platform/platform.js.map +1 -1
- package/generated/protocol.d.ts +306 -62
- package/locales/af.json +63 -3
- package/locales/am.json +63 -3
- package/locales/ar.json +63 -3
- package/locales/as.json +63 -3
- package/locales/az.json +63 -3
- package/locales/be.json +64 -4
- package/locales/bg.json +62 -2
- package/locales/bn.json +63 -3
- package/locales/bs.json +63 -3
- package/locales/ca.json +62 -2
- package/locales/cs.json +62 -2
- package/locales/cy.json +63 -3
- package/locales/da.json +63 -3
- package/locales/de.json +63 -3
- package/locales/el.json +62 -2
- package/locales/en-GB.json +63 -3
- package/locales/en-US.json +58 -22
- package/locales/en-XL.json +58 -22
- package/locales/es-419.json +63 -3
- package/locales/es.json +64 -4
- package/locales/et.json +64 -4
- package/locales/eu.json +79 -19
- package/locales/fa.json +62 -2
- package/locales/fi.json +63 -3
- package/locales/fil.json +63 -3
- package/locales/fr-CA.json +63 -3
- package/locales/fr.json +63 -3
- package/locales/gl.json +62 -2
- package/locales/gu.json +63 -3
- package/locales/he.json +63 -3
- package/locales/hi.json +62 -2
- package/locales/hr.json +63 -3
- package/locales/hu.json +62 -2
- package/locales/hy.json +63 -3
- package/locales/id.json +62 -2
- package/locales/is.json +64 -4
- package/locales/it.json +64 -4
- package/locales/ja.json +63 -3
- package/locales/ka.json +63 -3
- package/locales/kk.json +62 -2
- package/locales/km.json +62 -2
- package/locales/kn.json +63 -3
- package/locales/ko.json +63 -3
- package/locales/ky.json +63 -3
- package/locales/lo.json +63 -3
- package/locales/lt.json +62 -2
- package/locales/lv.json +62 -2
- package/locales/mk.json +62 -2
- package/locales/ml.json +63 -3
- package/locales/mn.json +63 -3
- package/locales/mr.json +64 -4
- package/locales/ms.json +63 -3
- package/locales/my.json +63 -3
- package/locales/ne.json +64 -4
- package/locales/nl.json +63 -3
- package/locales/no.json +62 -2
- package/locales/or.json +63 -3
- package/locales/pa.json +62 -2
- package/locales/pl.json +62 -2
- package/locales/pt-PT.json +62 -2
- package/locales/pt.json +63 -3
- package/locales/ro.json +63 -3
- package/locales/ru.json +63 -3
- package/locales/si.json +63 -3
- package/locales/sk.json +63 -3
- package/locales/sl.json +62 -2
- package/locales/sq.json +63 -3
- package/locales/sr-Latn.json +62 -2
- package/locales/sr.json +62 -2
- package/locales/sv.json +62 -2
- package/locales/sw.json +63 -3
- package/locales/ta.json +66 -6
- package/locales/te.json +63 -3
- package/locales/th.json +63 -3
- package/locales/tr.json +63 -3
- package/locales/uk.json +63 -3
- package/locales/ur.json +64 -4
- package/locales/uz.json +62 -2
- package/locales/vi.json +62 -2
- package/locales/zh-HK.json +63 -3
- package/locales/zh-TW.json +63 -3
- package/locales/zh.json +62 -2
- package/locales/zu.json +63 -3
- package/models/cpu_profile/CPUProfileDataModel.d.ts +8 -0
- package/models/cpu_profile/CPUProfileDataModel.js.map +1 -1
- package/models/cpu_profile/cpu_profile-tsconfig.json +3 -3
- package/models/cpu_profile/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/Processor.d.ts +1 -1
- package/models/trace/Processor.js +94 -74
- package/models/trace/Processor.js.map +1 -1
- package/models/trace/TracingManager.js.map +1 -1
- package/models/trace/bundle-tsconfig.json +1 -1
- package/models/trace/devtools_entrypoint-bundle-typescript-tsconfig.json +21 -3
- package/models/trace/extras/ScriptDuplication.d.ts +15 -16
- package/models/trace/extras/ScriptDuplication.js +63 -79
- package/models/trace/extras/ScriptDuplication.js.map +1 -1
- package/models/trace/extras/StackTraceForEvent.js +80 -47
- package/models/trace/extras/StackTraceForEvent.js.map +1 -1
- package/models/trace/extras/ThirdParties.d.ts +14 -20
- package/models/trace/extras/ThirdParties.js +97 -130
- package/models/trace/extras/ThirdParties.js.map +1 -1
- package/models/trace/extras/TraceTree.d.ts +15 -3
- package/models/trace/extras/TraceTree.js +36 -8
- package/models/trace/extras/TraceTree.js.map +1 -1
- package/models/trace/extras/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/extras/extras-tsconfig.json +3 -3
- package/models/trace/extras/extras.d.ts +1029 -844
- package/models/trace/extras/extras.js +1029 -844
- package/models/trace/handlers/AsyncJSCallsHandler.d.ts +5 -0
- package/models/trace/handlers/AsyncJSCallsHandler.js +48 -13
- package/models/trace/handlers/AsyncJSCallsHandler.js.map +1 -1
- package/models/trace/handlers/InvalidationsHandler.js +1 -0
- package/models/trace/handlers/InvalidationsHandler.js.map +1 -1
- package/models/trace/handlers/ModelHandlers.d.ts +0 -1
- package/models/trace/handlers/ModelHandlers.js +0 -1
- package/models/trace/handlers/ModelHandlers.js.map +1 -1
- package/models/trace/handlers/NetworkRequestsHandler.js +1 -1
- package/models/trace/handlers/NetworkRequestsHandler.js.map +1 -1
- package/models/trace/handlers/RendererHandler.d.ts +1 -1
- package/models/trace/handlers/RendererHandler.js +2 -2
- package/models/trace/handlers/RendererHandler.js.map +1 -1
- package/models/trace/handlers/ScreenshotsHandler.js +4 -1
- package/models/trace/handlers/ScreenshotsHandler.js.map +1 -1
- package/models/trace/handlers/ScriptsHandler.d.ts +12 -0
- package/models/trace/handlers/ScriptsHandler.js +99 -1
- package/models/trace/handlers/ScriptsHandler.js.map +1 -1
- package/models/trace/handlers/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/handlers/handlers-tsconfig.json +3 -4
- package/models/trace/handlers/helpers.js +9 -0
- package/models/trace/handlers/helpers.js.map +1 -1
- package/models/trace/helpers/Network.d.ts +5 -0
- package/models/trace/helpers/Network.js +17 -0
- package/models/trace/helpers/Network.js.map +1 -1
- package/models/trace/helpers/SamplesIntegrator.js +19 -23
- package/models/trace/helpers/SamplesIntegrator.js.map +1 -1
- package/models/trace/helpers/SyntheticEvents.d.ts +0 -1
- package/models/trace/helpers/SyntheticEvents.js +0 -4
- package/models/trace/helpers/SyntheticEvents.js.map +1 -1
- package/models/trace/helpers/Trace.d.ts +2 -1
- package/models/trace/helpers/Trace.js +101 -1
- package/models/trace/helpers/Trace.js.map +1 -1
- package/models/trace/helpers/TreeHelpers.d.ts +2 -5
- package/models/trace/helpers/TreeHelpers.js +0 -4
- package/models/trace/helpers/TreeHelpers.js.map +1 -1
- package/models/trace/helpers/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/helpers/helpers-tsconfig.json +3 -3
- package/models/trace/insights/CLSCulprits.d.ts +6 -1
- package/models/trace/insights/CLSCulprits.js +11 -2
- package/models/trace/insights/CLSCulprits.js.map +1 -1
- package/models/trace/insights/{UseCache.d.ts → Cache.d.ts} +2 -3
- package/models/trace/insights/{UseCache.js → Cache.js} +12 -6
- package/models/trace/insights/Cache.js.map +1 -0
- package/models/trace/insights/Common.d.ts +21 -2
- package/models/trace/insights/Common.js +89 -2
- package/models/trace/insights/Common.js.map +1 -1
- package/models/trace/insights/DocumentLatency.js +3 -8
- package/models/trace/insights/DocumentLatency.js.map +1 -1
- package/models/trace/insights/DuplicatedJavaScript.d.ts +7 -4
- package/models/trace/insights/DuplicatedJavaScript.js +31 -5
- package/models/trace/insights/DuplicatedJavaScript.js.map +1 -1
- package/models/trace/insights/ForcedReflow.d.ts +5 -1
- package/models/trace/insights/ForcedReflow.js +6 -2
- package/models/trace/insights/ForcedReflow.js.map +1 -1
- package/models/trace/insights/ImageDelivery.d.ts +0 -1
- package/models/trace/insights/ImageDelivery.js +1 -1
- package/models/trace/insights/ImageDelivery.js.map +1 -1
- package/models/trace/insights/InteractionToNextPaint.d.ts +1 -0
- package/models/trace/insights/InteractionToNextPaint.js +3 -0
- package/models/trace/insights/InteractionToNextPaint.js.map +1 -1
- package/models/trace/insights/LegacyJavaScript.d.ts +32 -0
- package/models/trace/insights/LegacyJavaScript.js +80 -0
- package/models/trace/insights/LegacyJavaScript.js.map +1 -0
- package/models/trace/insights/Models.d.ts +3 -1
- package/models/trace/insights/Models.js +3 -1
- package/models/trace/insights/Models.js.map +1 -1
- package/models/trace/insights/ModernHTTP.d.ts +51 -0
- package/models/trace/insights/ModernHTTP.js +187 -0
- package/models/trace/insights/ModernHTTP.js.map +1 -0
- package/models/trace/insights/NetworkDependencyTree.js +1 -1
- package/models/trace/insights/NetworkDependencyTree.js.map +1 -1
- package/models/trace/insights/ThirdParties.d.ts +1 -5
- package/models/trace/insights/ThirdParties.js +8 -21
- package/models/trace/insights/ThirdParties.js.map +1 -1
- package/models/trace/insights/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/insights/insights-tsconfig.json +9 -4
- package/models/trace/insights/types.d.ts +10 -0
- package/models/trace/insights/types.js.map +1 -1
- package/models/trace/lantern/core/core-tsconfig.json +3 -3
- package/models/trace/lantern/core/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/lantern/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/lantern/graph/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/lantern/graph/graph-tsconfig.json +3 -3
- package/models/trace/lantern/lantern-tsconfig.json +3 -3
- package/models/trace/lantern/metrics/Metric.d.ts +4 -4
- package/models/trace/lantern/metrics/Metric.js +4 -6
- package/models/trace/lantern/metrics/Metric.js.map +1 -1
- package/models/trace/lantern/metrics/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/lantern/metrics/metrics-tsconfig.json +3 -3
- package/models/trace/lantern/simulation/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/lantern/simulation/simulation-tsconfig.json +3 -3
- package/models/trace/lantern/types/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/lantern/types/types-tsconfig.json +3 -3
- package/models/trace/trace-tsconfig.json +3 -3
- package/models/trace/types/Configuration.d.ts +2 -0
- package/models/trace/types/Configuration.js.map +1 -1
- package/models/trace/types/TraceEvents.d.ts +30 -54
- package/models/trace/types/TraceEvents.js +8 -23
- package/models/trace/types/TraceEvents.js.map +1 -1
- package/models/trace/types/devtools_entrypoint-bundle-typescript-tsconfig.json +3 -3
- package/models/trace/types/types-tsconfig.json +3 -3
- package/package.json +3 -2
- package/test/test-trace-engine.mjs +19 -17
- package/third_party/legacy-javascript/legacy-javascript.d.ts +1 -0
- package/third_party/legacy-javascript/legacy-javascript.js +1 -0
- package/core/platform/ServerTiming.d.ts +0 -31
- package/core/platform/ServerTiming.js +0 -212
- package/core/platform/ServerTiming.js.map +0 -1
- package/models/trace/handlers/ServerTimingsHandler.d.ts +0 -9
- package/models/trace/handlers/ServerTimingsHandler.js +0 -106
- package/models/trace/handlers/ServerTimingsHandler.js.map +0 -1
- package/models/trace/insights/UseCache.js.map +0 -1
package/generated/protocol.d.ts
CHANGED
|
@@ -1022,7 +1022,8 @@ export declare namespace Audits {
|
|
|
1022
1022
|
SignatureInputHeaderMissingRequiredParameters = "SignatureInputHeaderMissingRequiredParameters",
|
|
1023
1023
|
ValidationFailedSignatureExpired = "ValidationFailedSignatureExpired",
|
|
1024
1024
|
ValidationFailedInvalidLength = "ValidationFailedInvalidLength",
|
|
1025
|
-
ValidationFailedSignatureMismatch = "ValidationFailedSignatureMismatch"
|
|
1025
|
+
ValidationFailedSignatureMismatch = "ValidationFailedSignatureMismatch",
|
|
1026
|
+
ValidationFailedIntegrityMismatch = "ValidationFailedIntegrityMismatch"
|
|
1026
1027
|
}
|
|
1027
1028
|
/**
|
|
1028
1029
|
* Details for issues around "Attribution Reporting API" usage.
|
|
@@ -1059,6 +1060,8 @@ export declare namespace Audits {
|
|
|
1059
1060
|
}
|
|
1060
1061
|
interface SRIMessageSignatureIssueDetails {
|
|
1061
1062
|
error: SRIMessageSignatureError;
|
|
1063
|
+
signatureBase: string;
|
|
1064
|
+
integrityAssertions: string[];
|
|
1062
1065
|
request: AffectedRequest;
|
|
1063
1066
|
}
|
|
1064
1067
|
const enum GenericIssueErrorType {
|
|
@@ -1182,7 +1185,8 @@ export declare namespace Audits {
|
|
|
1182
1185
|
RelyingPartyOriginIsOpaque = "RelyingPartyOriginIsOpaque",
|
|
1183
1186
|
TypeNotMatching = "TypeNotMatching",
|
|
1184
1187
|
UiDismissedNoEmbargo = "UiDismissedNoEmbargo",
|
|
1185
|
-
CorsError = "CorsError"
|
|
1188
|
+
CorsError = "CorsError",
|
|
1189
|
+
SuppressedBySegmentationPlatform = "SuppressedBySegmentationPlatform"
|
|
1186
1190
|
}
|
|
1187
1191
|
interface FederatedAuthUserInfoRequestIssueDetails {
|
|
1188
1192
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
|
@@ -1855,7 +1859,8 @@ export declare namespace Browser {
|
|
|
1855
1859
|
*/
|
|
1856
1860
|
const enum BrowserCommandId {
|
|
1857
1861
|
OpenTabSearch = "openTabSearch",
|
|
1858
|
-
CloseTabSearch = "closeTabSearch"
|
|
1862
|
+
CloseTabSearch = "closeTabSearch",
|
|
1863
|
+
OpenGlic = "openGlic"
|
|
1859
1864
|
}
|
|
1860
1865
|
/**
|
|
1861
1866
|
* Chrome histogram bucket.
|
|
@@ -6035,6 +6040,7 @@ export declare namespace Emulation {
|
|
|
6035
6040
|
/**
|
|
6036
6041
|
* If set, the display feature of a multi-segment screen. If not set, multi-segment support
|
|
6037
6042
|
* is turned-off.
|
|
6043
|
+
* Deprecated, use Emulation.setDisplayFeaturesOverride.
|
|
6038
6044
|
*/
|
|
6039
6045
|
displayFeature?: DisplayFeature;
|
|
6040
6046
|
/**
|
|
@@ -6047,6 +6053,9 @@ export declare namespace Emulation {
|
|
|
6047
6053
|
interface SetDevicePostureOverrideRequest {
|
|
6048
6054
|
posture: DevicePosture;
|
|
6049
6055
|
}
|
|
6056
|
+
interface SetDisplayFeaturesOverrideRequest {
|
|
6057
|
+
features: DisplayFeature[];
|
|
6058
|
+
}
|
|
6050
6059
|
interface SetScrollbarsHiddenRequest {
|
|
6051
6060
|
/**
|
|
6052
6061
|
* Whether scrollbars should be always hidden.
|
|
@@ -6112,6 +6121,22 @@ export declare namespace Emulation {
|
|
|
6112
6121
|
* Mock accuracy
|
|
6113
6122
|
*/
|
|
6114
6123
|
accuracy?: number;
|
|
6124
|
+
/**
|
|
6125
|
+
* Mock altitude
|
|
6126
|
+
*/
|
|
6127
|
+
altitude?: number;
|
|
6128
|
+
/**
|
|
6129
|
+
* Mock altitudeAccuracy
|
|
6130
|
+
*/
|
|
6131
|
+
altitudeAccuracy?: number;
|
|
6132
|
+
/**
|
|
6133
|
+
* Mock heading
|
|
6134
|
+
*/
|
|
6135
|
+
heading?: number;
|
|
6136
|
+
/**
|
|
6137
|
+
* Mock speed
|
|
6138
|
+
*/
|
|
6139
|
+
speed?: number;
|
|
6115
6140
|
}
|
|
6116
6141
|
interface GetOverriddenSensorInformationRequest {
|
|
6117
6142
|
type: SensorType;
|
|
@@ -6259,6 +6284,13 @@ export declare namespace Emulation {
|
|
|
6259
6284
|
*/
|
|
6260
6285
|
enabled: boolean;
|
|
6261
6286
|
}
|
|
6287
|
+
interface SetSmallViewportHeightDifferenceOverrideRequest {
|
|
6288
|
+
/**
|
|
6289
|
+
* This will cause an element of size 100svh to be `difference` pixels smaller than an element
|
|
6290
|
+
* of size 100lvh.
|
|
6291
|
+
*/
|
|
6292
|
+
difference: integer;
|
|
6293
|
+
}
|
|
6262
6294
|
}
|
|
6263
6295
|
/**
|
|
6264
6296
|
* This domain provides experimental commands only supported in headless mode.
|
|
@@ -8286,7 +8318,8 @@ export declare namespace Network {
|
|
|
8286
8318
|
Network = "network",
|
|
8287
8319
|
Cache = "cache",
|
|
8288
8320
|
FetchEvent = "fetch-event",
|
|
8289
|
-
RaceNetworkAndFetchHandler = "race-network-and-fetch-handler"
|
|
8321
|
+
RaceNetworkAndFetchHandler = "race-network-and-fetch-handler",
|
|
8322
|
+
RaceNetworkAndCache = "race-network-and-cache"
|
|
8290
8323
|
}
|
|
8291
8324
|
interface ServiceWorkerRouterInfo {
|
|
8292
8325
|
/**
|
|
@@ -8672,7 +8705,8 @@ export declare namespace Network {
|
|
|
8672
8705
|
SamePartyFromCrossPartyContext = "SamePartyFromCrossPartyContext",
|
|
8673
8706
|
NameValuePairExceedsMaxSize = "NameValuePairExceedsMaxSize",
|
|
8674
8707
|
PortMismatch = "PortMismatch",
|
|
8675
|
-
SchemeMismatch = "SchemeMismatch"
|
|
8708
|
+
SchemeMismatch = "SchemeMismatch",
|
|
8709
|
+
AnonymousContext = "AnonymousContext"
|
|
8676
8710
|
}
|
|
8677
8711
|
/**
|
|
8678
8712
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
|
@@ -10114,6 +10148,35 @@ export declare namespace Network {
|
|
|
10114
10148
|
identifier: RequestId;
|
|
10115
10149
|
timestamp: MonotonicTime;
|
|
10116
10150
|
}
|
|
10151
|
+
/**
|
|
10152
|
+
* Fired when data is sent to tcp direct socket stream.
|
|
10153
|
+
*/
|
|
10154
|
+
interface DirectTCPSocketChunkSentEvent {
|
|
10155
|
+
identifier: RequestId;
|
|
10156
|
+
data: binary;
|
|
10157
|
+
timestamp: MonotonicTime;
|
|
10158
|
+
}
|
|
10159
|
+
/**
|
|
10160
|
+
* Fired when data is received from tcp direct socket stream.
|
|
10161
|
+
*/
|
|
10162
|
+
interface DirectTCPSocketChunkReceivedEvent {
|
|
10163
|
+
identifier: RequestId;
|
|
10164
|
+
data: binary;
|
|
10165
|
+
timestamp: MonotonicTime;
|
|
10166
|
+
}
|
|
10167
|
+
/**
|
|
10168
|
+
* Fired when there is an error
|
|
10169
|
+
* when writing to tcp direct socket stream.
|
|
10170
|
+
* For example, if user writes illegal type like string
|
|
10171
|
+
* instead of ArrayBuffer or ArrayBufferView.
|
|
10172
|
+
* There's no reporting for reading, because
|
|
10173
|
+
* we cannot know errors on the other side.
|
|
10174
|
+
*/
|
|
10175
|
+
interface DirectTCPSocketChunkErrorEvent {
|
|
10176
|
+
identifier: RequestId;
|
|
10177
|
+
errorMessage: string;
|
|
10178
|
+
timestamp: MonotonicTime;
|
|
10179
|
+
}
|
|
10117
10180
|
/**
|
|
10118
10181
|
* Fired when additional information about a requestWillBeSent event is available from the
|
|
10119
10182
|
* network stack. Not every requestWillBeSent event will have an additional
|
|
@@ -11158,6 +11221,7 @@ export declare namespace Page {
|
|
|
11158
11221
|
CrossOriginIsolated = "cross-origin-isolated",
|
|
11159
11222
|
DeferredFetch = "deferred-fetch",
|
|
11160
11223
|
DeferredFetchMinimal = "deferred-fetch-minimal",
|
|
11224
|
+
DeviceAttributes = "device-attributes",
|
|
11161
11225
|
DigitalCredentialsGet = "digital-credentials-get",
|
|
11162
11226
|
DirectSockets = "direct-sockets",
|
|
11163
11227
|
DirectSocketsPrivate = "direct-sockets-private",
|
|
@@ -11179,6 +11243,7 @@ export declare namespace Page {
|
|
|
11179
11243
|
InterestCohort = "interest-cohort",
|
|
11180
11244
|
JoinAdInterestGroup = "join-ad-interest-group",
|
|
11181
11245
|
KeyboardMap = "keyboard-map",
|
|
11246
|
+
LanguageDetector = "language-detector",
|
|
11182
11247
|
LocalFonts = "local-fonts",
|
|
11183
11248
|
Magnetometer = "magnetometer",
|
|
11184
11249
|
MediaPlaybackWhileNotVisible = "media-playback-while-not-visible",
|
|
@@ -11193,6 +11258,7 @@ export declare namespace Page {
|
|
|
11193
11258
|
PrivateStateTokenRedemption = "private-state-token-redemption",
|
|
11194
11259
|
PublickeyCredentialsCreate = "publickey-credentials-create",
|
|
11195
11260
|
PublickeyCredentialsGet = "publickey-credentials-get",
|
|
11261
|
+
Rewriter = "rewriter",
|
|
11196
11262
|
RunAdAuction = "run-ad-auction",
|
|
11197
11263
|
ScreenWakeLock = "screen-wake-lock",
|
|
11198
11264
|
Serial = "serial",
|
|
@@ -11203,7 +11269,9 @@ export declare namespace Page {
|
|
|
11203
11269
|
SpeakerSelection = "speaker-selection",
|
|
11204
11270
|
StorageAccess = "storage-access",
|
|
11205
11271
|
SubApps = "sub-apps",
|
|
11272
|
+
Summarizer = "summarizer",
|
|
11206
11273
|
SyncXhr = "sync-xhr",
|
|
11274
|
+
Translator = "translator",
|
|
11207
11275
|
Unload = "unload",
|
|
11208
11276
|
Usb = "usb",
|
|
11209
11277
|
UsbUnrestricted = "usb-unrestricted",
|
|
@@ -11212,6 +11280,7 @@ export declare namespace Page {
|
|
|
11212
11280
|
WebPrinting = "web-printing",
|
|
11213
11281
|
WebShare = "web-share",
|
|
11214
11282
|
WindowManagement = "window-management",
|
|
11283
|
+
Writer = "writer",
|
|
11215
11284
|
XrSpatialTracking = "xr-spatial-tracking"
|
|
11216
11285
|
}
|
|
11217
11286
|
/**
|
|
@@ -12035,7 +12104,8 @@ export declare namespace Page {
|
|
|
12035
12104
|
RequestedByWebViewClient = "RequestedByWebViewClient",
|
|
12036
12105
|
PostMessageByWebViewClient = "PostMessageByWebViewClient",
|
|
12037
12106
|
CacheControlNoStoreDeviceBoundSessionTerminated = "CacheControlNoStoreDeviceBoundSessionTerminated",
|
|
12038
|
-
|
|
12107
|
+
CacheLimitPrunedOnModerateMemoryPressure = "CacheLimitPrunedOnModerateMemoryPressure",
|
|
12108
|
+
CacheLimitPrunedOnCriticalMemoryPressure = "CacheLimitPrunedOnCriticalMemoryPressure"
|
|
12039
12109
|
}
|
|
12040
12110
|
/**
|
|
12041
12111
|
* Types of not restored reasons for back-forward cache.
|
|
@@ -12253,15 +12323,17 @@ export declare namespace Page {
|
|
|
12253
12323
|
*/
|
|
12254
12324
|
recommendedId?: string;
|
|
12255
12325
|
}
|
|
12256
|
-
interface
|
|
12326
|
+
interface GetAdScriptAncestryIdsRequest {
|
|
12257
12327
|
frameId: FrameId;
|
|
12258
12328
|
}
|
|
12259
|
-
interface
|
|
12329
|
+
interface GetAdScriptAncestryIdsResponse extends ProtocolResponseWithError {
|
|
12260
12330
|
/**
|
|
12261
|
-
*
|
|
12262
|
-
*
|
|
12331
|
+
* The ancestry chain of ad script identifiers leading to this frame's
|
|
12332
|
+
* creation, ordered from the most immediate script (in the frame creation
|
|
12333
|
+
* stack) to more distant ancestors (that created the immediately preceding
|
|
12334
|
+
* script). Only sent if frame is labelled as an ad and ids are available.
|
|
12263
12335
|
*/
|
|
12264
|
-
|
|
12336
|
+
adScriptAncestryIds: AdScriptId[];
|
|
12265
12337
|
}
|
|
12266
12338
|
interface GetFrameTreeResponse extends ProtocolResponseWithError {
|
|
12267
12339
|
/**
|
|
@@ -13027,6 +13099,10 @@ export declare namespace Page {
|
|
|
13027
13099
|
* closed.
|
|
13028
13100
|
*/
|
|
13029
13101
|
interface JavascriptDialogClosedEvent {
|
|
13102
|
+
/**
|
|
13103
|
+
* Frame id.
|
|
13104
|
+
*/
|
|
13105
|
+
frameId: FrameId;
|
|
13030
13106
|
/**
|
|
13031
13107
|
* Whether dialog was confirmed.
|
|
13032
13108
|
*/
|
|
@@ -13045,6 +13121,10 @@ export declare namespace Page {
|
|
|
13045
13121
|
* Frame url.
|
|
13046
13122
|
*/
|
|
13047
13123
|
url: string;
|
|
13124
|
+
/**
|
|
13125
|
+
* Frame id.
|
|
13126
|
+
*/
|
|
13127
|
+
frameId: FrameId;
|
|
13048
13128
|
/**
|
|
13049
13129
|
* Message that will be displayed by the dialog.
|
|
13050
13130
|
*/
|
|
@@ -13802,30 +13882,33 @@ export declare namespace Storage {
|
|
|
13802
13882
|
SellerTrustedSignals = "sellerTrustedSignals"
|
|
13803
13883
|
}
|
|
13804
13884
|
/**
|
|
13805
|
-
* Enum of shared storage access
|
|
13806
|
-
*/
|
|
13807
|
-
const enum
|
|
13808
|
-
|
|
13809
|
-
|
|
13810
|
-
|
|
13811
|
-
|
|
13812
|
-
|
|
13813
|
-
|
|
13814
|
-
|
|
13815
|
-
|
|
13816
|
-
|
|
13817
|
-
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
|
|
13821
|
-
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
|
|
13827
|
-
|
|
13828
|
-
|
|
13885
|
+
* Enum of shared storage access scopes.
|
|
13886
|
+
*/
|
|
13887
|
+
const enum SharedStorageAccessScope {
|
|
13888
|
+
Window = "window",
|
|
13889
|
+
SharedStorageWorklet = "sharedStorageWorklet",
|
|
13890
|
+
ProtectedAudienceWorklet = "protectedAudienceWorklet",
|
|
13891
|
+
Header = "header"
|
|
13892
|
+
}
|
|
13893
|
+
/**
|
|
13894
|
+
* Enum of shared storage access methods.
|
|
13895
|
+
*/
|
|
13896
|
+
const enum SharedStorageAccessMethod {
|
|
13897
|
+
AddModule = "addModule",
|
|
13898
|
+
CreateWorklet = "createWorklet",
|
|
13899
|
+
SelectURL = "selectURL",
|
|
13900
|
+
Run = "run",
|
|
13901
|
+
BatchUpdate = "batchUpdate",
|
|
13902
|
+
Set = "set",
|
|
13903
|
+
Append = "append",
|
|
13904
|
+
Delete = "delete",
|
|
13905
|
+
Clear = "clear",
|
|
13906
|
+
Get = "get",
|
|
13907
|
+
Keys = "keys",
|
|
13908
|
+
Values = "values",
|
|
13909
|
+
Entries = "entries",
|
|
13910
|
+
Length = "length",
|
|
13911
|
+
RemainingBudget = "remainingBudget"
|
|
13829
13912
|
}
|
|
13830
13913
|
/**
|
|
13831
13914
|
* Struct for a single key-value pair in an origin's shared storage.
|
|
@@ -13856,6 +13939,28 @@ export declare namespace Storage {
|
|
|
13856
13939
|
*/
|
|
13857
13940
|
bytesUsed: integer;
|
|
13858
13941
|
}
|
|
13942
|
+
/**
|
|
13943
|
+
* Represents a dictionary object passed in as privateAggregationConfig to
|
|
13944
|
+
* run or selectURL.
|
|
13945
|
+
*/
|
|
13946
|
+
interface SharedStoragePrivateAggregationConfig {
|
|
13947
|
+
/**
|
|
13948
|
+
* The chosen aggregation service deployment.
|
|
13949
|
+
*/
|
|
13950
|
+
aggregationCoordinatorOrigin?: string;
|
|
13951
|
+
/**
|
|
13952
|
+
* The context ID provided.
|
|
13953
|
+
*/
|
|
13954
|
+
contextId?: string;
|
|
13955
|
+
/**
|
|
13956
|
+
* Configures the maximum size allowed for filtering IDs.
|
|
13957
|
+
*/
|
|
13958
|
+
filteringIdMaxBytes: integer;
|
|
13959
|
+
/**
|
|
13960
|
+
* The limit on the number of contributions in the final report.
|
|
13961
|
+
*/
|
|
13962
|
+
maxContributions?: integer;
|
|
13963
|
+
}
|
|
13859
13964
|
/**
|
|
13860
13965
|
* Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
|
13861
13966
|
*/
|
|
@@ -13883,57 +13988,90 @@ export declare namespace Storage {
|
|
|
13883
13988
|
interface SharedStorageAccessParams {
|
|
13884
13989
|
/**
|
|
13885
13990
|
* Spec of the module script URL.
|
|
13886
|
-
* Present only for
|
|
13991
|
+
* Present only for SharedStorageAccessMethods: addModule and
|
|
13992
|
+
* createWorklet.
|
|
13887
13993
|
*/
|
|
13888
13994
|
scriptSourceUrl?: string;
|
|
13995
|
+
/**
|
|
13996
|
+
* String denoting "context-origin", "script-origin", or a custom
|
|
13997
|
+
* origin to be used as the worklet's data origin.
|
|
13998
|
+
* Present only for SharedStorageAccessMethod: createWorklet.
|
|
13999
|
+
*/
|
|
14000
|
+
dataOrigin?: string;
|
|
13889
14001
|
/**
|
|
13890
14002
|
* Name of the registered operation to be run.
|
|
13891
|
-
* Present only for
|
|
13892
|
-
* SharedStorageAccessType.documentSelectURL.
|
|
14003
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
13893
14004
|
*/
|
|
13894
14005
|
operationName?: string;
|
|
14006
|
+
/**
|
|
14007
|
+
* Whether or not to keep the worket alive for future run or selectURL
|
|
14008
|
+
* calls.
|
|
14009
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
14010
|
+
*/
|
|
14011
|
+
keepAlive?: boolean;
|
|
14012
|
+
/**
|
|
14013
|
+
* Configures the private aggregation options.
|
|
14014
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
14015
|
+
*/
|
|
14016
|
+
privateAggregationConfig?: SharedStoragePrivateAggregationConfig;
|
|
13895
14017
|
/**
|
|
13896
14018
|
* The operation's serialized data in bytes (converted to a string).
|
|
13897
|
-
* Present only for
|
|
13898
|
-
*
|
|
14019
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
|
14020
|
+
* TODO(crbug.com/401011862): Consider updating this parameter to binary.
|
|
13899
14021
|
*/
|
|
13900
14022
|
serializedData?: string;
|
|
13901
14023
|
/**
|
|
13902
14024
|
* Array of candidate URLs' specs, along with any associated metadata.
|
|
13903
|
-
* Present only for
|
|
14025
|
+
* Present only for SharedStorageAccessMethod: selectURL.
|
|
13904
14026
|
*/
|
|
13905
14027
|
urlsWithMetadata?: SharedStorageUrlWithMetadata[];
|
|
14028
|
+
/**
|
|
14029
|
+
* Spec of the URN:UUID generated for a selectURL call.
|
|
14030
|
+
* Present only for SharedStorageAccessMethod: selectURL.
|
|
14031
|
+
*/
|
|
14032
|
+
urnUuid?: string;
|
|
13906
14033
|
/**
|
|
13907
14034
|
* Key for a specific entry in an origin's shared storage.
|
|
13908
|
-
* Present only for
|
|
13909
|
-
*
|
|
13910
|
-
* SharedStorageAccessType.documentDelete,
|
|
13911
|
-
* SharedStorageAccessType.workletSet,
|
|
13912
|
-
* SharedStorageAccessType.workletAppend,
|
|
13913
|
-
* SharedStorageAccessType.workletDelete,
|
|
13914
|
-
* SharedStorageAccessType.workletGet,
|
|
13915
|
-
* SharedStorageAccessType.headerSet,
|
|
13916
|
-
* SharedStorageAccessType.headerAppend, and
|
|
13917
|
-
* SharedStorageAccessType.headerDelete.
|
|
14035
|
+
* Present only for SharedStorageAccessMethods: set, append, delete, and
|
|
14036
|
+
* get.
|
|
13918
14037
|
*/
|
|
13919
14038
|
key?: string;
|
|
13920
14039
|
/**
|
|
13921
14040
|
* Value for a specific entry in an origin's shared storage.
|
|
13922
|
-
* Present only for
|
|
13923
|
-
* SharedStorageAccessType.documentAppend,
|
|
13924
|
-
* SharedStorageAccessType.workletSet,
|
|
13925
|
-
* SharedStorageAccessType.workletAppend,
|
|
13926
|
-
* SharedStorageAccessType.headerSet, and
|
|
13927
|
-
* SharedStorageAccessType.headerAppend.
|
|
14041
|
+
* Present only for SharedStorageAccessMethods: set and append.
|
|
13928
14042
|
*/
|
|
13929
14043
|
value?: string;
|
|
13930
14044
|
/**
|
|
13931
14045
|
* Whether or not to set an entry for a key if that key is already present.
|
|
13932
|
-
* Present only for
|
|
13933
|
-
* SharedStorageAccessType.workletSet, and
|
|
13934
|
-
* SharedStorageAccessType.headerSet.
|
|
14046
|
+
* Present only for SharedStorageAccessMethod: set.
|
|
13935
14047
|
*/
|
|
13936
14048
|
ignoreIfPresent?: boolean;
|
|
14049
|
+
/**
|
|
14050
|
+
* If the method is called on a worklet, or as part of
|
|
14051
|
+
* a worklet script, it will have an ID for the associated worklet.
|
|
14052
|
+
* Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
|
14053
|
+
* run, selectURL, and any other SharedStorageAccessMethod when the
|
|
14054
|
+
* SharedStorageAccessScope is worklet.
|
|
14055
|
+
*/
|
|
14056
|
+
workletId?: string;
|
|
14057
|
+
/**
|
|
14058
|
+
* Name of the lock to be acquired, if present.
|
|
14059
|
+
* Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
|
14060
|
+
* set, append, delete, and clear.
|
|
14061
|
+
*/
|
|
14062
|
+
withLock?: string;
|
|
14063
|
+
/**
|
|
14064
|
+
* If the method has been called as part of a batchUpdate, then this
|
|
14065
|
+
* number identifies the batch to which it belongs.
|
|
14066
|
+
* Optionally present only for SharedStorageAccessMethods:
|
|
14067
|
+
* batchUpdate (required), set, append, delete, and clear.
|
|
14068
|
+
*/
|
|
14069
|
+
batchUpdateId?: string;
|
|
14070
|
+
/**
|
|
14071
|
+
* Number of modifier methods sent in batch.
|
|
14072
|
+
* Present only for SharedStorageAccessMethod: batchUpdate.
|
|
14073
|
+
*/
|
|
14074
|
+
batchSize?: integer;
|
|
13937
14075
|
}
|
|
13938
14076
|
const enum StorageBucketsDurability {
|
|
13939
14077
|
Relaxed = "relaxed",
|
|
@@ -14033,6 +14171,10 @@ export declare namespace Storage {
|
|
|
14033
14171
|
limit: number;
|
|
14034
14172
|
maxEventStates: number;
|
|
14035
14173
|
}
|
|
14174
|
+
interface AttributionReportingNamedBudgetDef {
|
|
14175
|
+
name: string;
|
|
14176
|
+
budget: integer;
|
|
14177
|
+
}
|
|
14036
14178
|
interface AttributionReportingSourceRegistration {
|
|
14037
14179
|
time: Network.TimeSinceEpoch;
|
|
14038
14180
|
/**
|
|
@@ -14058,6 +14200,9 @@ export declare namespace Storage {
|
|
|
14058
14200
|
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
|
14059
14201
|
scopesData?: AttributionScopesData;
|
|
14060
14202
|
maxEventLevelReports: integer;
|
|
14203
|
+
namedBudgets: AttributionReportingNamedBudgetDef[];
|
|
14204
|
+
debugReporting: boolean;
|
|
14205
|
+
eventLevelEpsilon: number;
|
|
14061
14206
|
}
|
|
14062
14207
|
const enum AttributionReportingSourceRegistrationResult {
|
|
14063
14208
|
Success = "success",
|
|
@@ -14109,6 +14254,10 @@ export declare namespace Storage {
|
|
|
14109
14254
|
dedupKey?: UnsignedInt64AsBase10;
|
|
14110
14255
|
filters: AttributionReportingFilterPair;
|
|
14111
14256
|
}
|
|
14257
|
+
interface AttributionReportingNamedBudgetCandidate {
|
|
14258
|
+
name?: string;
|
|
14259
|
+
filters: AttributionReportingFilterPair;
|
|
14260
|
+
}
|
|
14112
14261
|
interface AttributionReportingTriggerRegistration {
|
|
14113
14262
|
filters: AttributionReportingFilterPair;
|
|
14114
14263
|
debugKey?: UnsignedInt64AsBase10;
|
|
@@ -14123,6 +14272,7 @@ export declare namespace Storage {
|
|
|
14123
14272
|
triggerContextId?: string;
|
|
14124
14273
|
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
|
14125
14274
|
scopes: string[];
|
|
14275
|
+
namedBudgets: AttributionReportingNamedBudgetCandidate[];
|
|
14126
14276
|
}
|
|
14127
14277
|
const enum AttributionReportingEventLevelResult {
|
|
14128
14278
|
Success = "success",
|
|
@@ -14432,6 +14582,11 @@ export declare namespace Storage {
|
|
|
14432
14582
|
*/
|
|
14433
14583
|
matchedUrls: string[];
|
|
14434
14584
|
}
|
|
14585
|
+
interface SetProtectedAudienceKAnonymityRequest {
|
|
14586
|
+
owner: string;
|
|
14587
|
+
name: string;
|
|
14588
|
+
hashes: binary[];
|
|
14589
|
+
}
|
|
14435
14590
|
/**
|
|
14436
14591
|
* A cache's contents have been modified.
|
|
14437
14592
|
*/
|
|
@@ -14578,18 +14733,26 @@ export declare namespace Storage {
|
|
|
14578
14733
|
* Time of the access.
|
|
14579
14734
|
*/
|
|
14580
14735
|
accessTime: Network.TimeSinceEpoch;
|
|
14736
|
+
/**
|
|
14737
|
+
* Enum value indicating the access scope.
|
|
14738
|
+
*/
|
|
14739
|
+
scope: SharedStorageAccessScope;
|
|
14581
14740
|
/**
|
|
14582
14741
|
* Enum value indicating the Shared Storage API method invoked.
|
|
14583
14742
|
*/
|
|
14584
|
-
|
|
14743
|
+
method: SharedStorageAccessMethod;
|
|
14585
14744
|
/**
|
|
14586
14745
|
* DevTools Frame Token for the primary frame tree's root.
|
|
14587
14746
|
*/
|
|
14588
14747
|
mainFrameId: Page.FrameId;
|
|
14589
14748
|
/**
|
|
14590
|
-
*
|
|
14749
|
+
* Serialization of the origin owning the Shared Storage data.
|
|
14591
14750
|
*/
|
|
14592
14751
|
ownerOrigin: string;
|
|
14752
|
+
/**
|
|
14753
|
+
* Serialization of the site owning the Shared Storage data.
|
|
14754
|
+
*/
|
|
14755
|
+
ownerSite: string;
|
|
14593
14756
|
/**
|
|
14594
14757
|
* The sub-parameters wrapped by `params` are all optional and their
|
|
14595
14758
|
* presence/absence depends on `type`.
|
|
@@ -15026,6 +15189,12 @@ export declare namespace Target {
|
|
|
15026
15189
|
* Whether to create the target of type "tab".
|
|
15027
15190
|
*/
|
|
15028
15191
|
forTab?: boolean;
|
|
15192
|
+
/**
|
|
15193
|
+
* Whether to create a hidden target. The hidden target is observable via protocol, but not
|
|
15194
|
+
* present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
|
|
15195
|
+
* `background: false`. The life-time of the tab is limited to the life-time of the session.
|
|
15196
|
+
*/
|
|
15197
|
+
hidden?: boolean;
|
|
15029
15198
|
}
|
|
15030
15199
|
interface CreateTargetResponse extends ProtocolResponseWithError {
|
|
15031
15200
|
/**
|
|
@@ -16600,6 +16769,7 @@ export declare namespace Preload {
|
|
|
16600
16769
|
PrefetchFailedMIMENotSupported = "PrefetchFailedMIMENotSupported",
|
|
16601
16770
|
PrefetchFailedNetError = "PrefetchFailedNetError",
|
|
16602
16771
|
PrefetchFailedNon2XX = "PrefetchFailedNon2XX",
|
|
16772
|
+
PrefetchEvictedAfterBrowsingDataRemoved = "PrefetchEvictedAfterBrowsingDataRemoved",
|
|
16603
16773
|
PrefetchEvictedAfterCandidateRemoved = "PrefetchEvictedAfterCandidateRemoved",
|
|
16604
16774
|
PrefetchEvictedForNewerPrefetch = "PrefetchEvictedForNewerPrefetch",
|
|
16605
16775
|
PrefetchHeldback = "PrefetchHeldback",
|
|
@@ -16897,6 +17067,13 @@ export declare namespace BluetoothEmulation {
|
|
|
16897
17067
|
PoweredOff = "powered-off",
|
|
16898
17068
|
PoweredOn = "powered-on"
|
|
16899
17069
|
}
|
|
17070
|
+
/**
|
|
17071
|
+
* Indicates the various types of GATT event.
|
|
17072
|
+
*/
|
|
17073
|
+
const enum GATTOperationType {
|
|
17074
|
+
Connection = "connection",
|
|
17075
|
+
Discovery = "discovery"
|
|
17076
|
+
}
|
|
16900
17077
|
/**
|
|
16901
17078
|
* Stores the manufacturer data
|
|
16902
17079
|
*/
|
|
@@ -16940,6 +17117,20 @@ export declare namespace BluetoothEmulation {
|
|
|
16940
17117
|
rssi: integer;
|
|
16941
17118
|
scanRecord: ScanRecord;
|
|
16942
17119
|
}
|
|
17120
|
+
/**
|
|
17121
|
+
* Describes the properties of a characteristic. This follows Bluetooth Core
|
|
17122
|
+
* Specification BT 4.2 Vol 3 Part G 3.3.1. Characteristic Properties.
|
|
17123
|
+
*/
|
|
17124
|
+
interface CharacteristicProperties {
|
|
17125
|
+
broadcast?: boolean;
|
|
17126
|
+
read?: boolean;
|
|
17127
|
+
writeWithoutResponse?: boolean;
|
|
17128
|
+
write?: boolean;
|
|
17129
|
+
notify?: boolean;
|
|
17130
|
+
indicate?: boolean;
|
|
17131
|
+
authenticatedSignedWrites?: boolean;
|
|
17132
|
+
extendedProperties?: boolean;
|
|
17133
|
+
}
|
|
16943
17134
|
interface EnableRequest {
|
|
16944
17135
|
/**
|
|
16945
17136
|
* State of the simulated central.
|
|
@@ -16965,6 +17156,59 @@ export declare namespace BluetoothEmulation {
|
|
|
16965
17156
|
interface SimulateAdvertisementRequest {
|
|
16966
17157
|
entry: ScanEntry;
|
|
16967
17158
|
}
|
|
17159
|
+
interface SimulateGATTOperationResponseRequest {
|
|
17160
|
+
address: string;
|
|
17161
|
+
type: GATTOperationType;
|
|
17162
|
+
code: integer;
|
|
17163
|
+
}
|
|
17164
|
+
interface AddServiceRequest {
|
|
17165
|
+
address: string;
|
|
17166
|
+
serviceUuid: string;
|
|
17167
|
+
}
|
|
17168
|
+
interface AddServiceResponse extends ProtocolResponseWithError {
|
|
17169
|
+
/**
|
|
17170
|
+
* An identifier that uniquely represents this service.
|
|
17171
|
+
*/
|
|
17172
|
+
serviceId: string;
|
|
17173
|
+
}
|
|
17174
|
+
interface RemoveServiceRequest {
|
|
17175
|
+
serviceId: string;
|
|
17176
|
+
}
|
|
17177
|
+
interface AddCharacteristicRequest {
|
|
17178
|
+
serviceId: string;
|
|
17179
|
+
characteristicUuid: string;
|
|
17180
|
+
properties: CharacteristicProperties;
|
|
17181
|
+
}
|
|
17182
|
+
interface AddCharacteristicResponse extends ProtocolResponseWithError {
|
|
17183
|
+
/**
|
|
17184
|
+
* An identifier that uniquely represents this characteristic.
|
|
17185
|
+
*/
|
|
17186
|
+
characteristicId: string;
|
|
17187
|
+
}
|
|
17188
|
+
interface RemoveCharacteristicRequest {
|
|
17189
|
+
characteristicId: string;
|
|
17190
|
+
}
|
|
17191
|
+
interface AddDescriptorRequest {
|
|
17192
|
+
characteristicId: string;
|
|
17193
|
+
descriptorUuid: string;
|
|
17194
|
+
}
|
|
17195
|
+
interface AddDescriptorResponse extends ProtocolResponseWithError {
|
|
17196
|
+
/**
|
|
17197
|
+
* An identifier that uniquely represents this descriptor.
|
|
17198
|
+
*/
|
|
17199
|
+
descriptorId: string;
|
|
17200
|
+
}
|
|
17201
|
+
interface RemoveDescriptorRequest {
|
|
17202
|
+
descriptorId: string;
|
|
17203
|
+
}
|
|
17204
|
+
/**
|
|
17205
|
+
* Event for when a GATT operation of |type| to the peripheral with |address|
|
|
17206
|
+
* happened.
|
|
17207
|
+
*/
|
|
17208
|
+
interface GattOperationReceivedEvent {
|
|
17209
|
+
address: string;
|
|
17210
|
+
type: GATTOperationType;
|
|
17211
|
+
}
|
|
16968
17212
|
}
|
|
16969
17213
|
/**
|
|
16970
17214
|
* Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
|