@checkly/playwright-core 1.41.26 → 1.42.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ThirdPartyNotices.txt +3 -3
- package/bin/reinstall_chrome_beta_win.ps1 +2 -1
- package/bin/reinstall_chrome_stable_win.ps1 +2 -1
- package/bin/reinstall_msedge_beta_win.ps1 +2 -1
- package/bin/reinstall_msedge_dev_win.ps1 +2 -1
- package/bin/reinstall_msedge_stable_win.ps1 +2 -1
- package/browsers.json +14 -15
- package/cli.js +2 -1
- package/lib/checkly/fetch.js +28 -1
- package/lib/cli/cli.js +2 -1
- package/lib/cli/driver.js +9 -1
- package/lib/cli/program.js +12 -4
- package/lib/client/browserContext.js +1 -1
- package/lib/client/channelOwner.js +1 -1
- package/lib/client/clientHelper.js +5 -1
- package/lib/client/connection.js +1 -1
- package/lib/client/consoleMessage.js +1 -1
- package/lib/client/electron.js +3 -0
- package/lib/client/events.js +1 -0
- package/lib/client/frame.js +2 -1
- package/lib/client/harRouter.js +7 -1
- package/lib/client/page.js +25 -6
- package/lib/common/debugLogger.js +3 -1
- package/lib/common/socksProxy.js +1 -1
- package/lib/generated/consoleApiSource.js +1 -1
- package/lib/generated/injectedScriptSource.js +1 -1
- package/lib/generated/recorderSource.js +1 -1
- package/lib/outofprocess.js +1 -1
- package/lib/protocol/validator.js +60 -30
- package/lib/remote/playwrightConnection.js +1 -1
- package/lib/remote/playwrightServer.js +72 -166
- package/lib/server/android/android.js +1 -1
- package/lib/server/browserType.js +2 -2
- package/lib/server/chromium/chromium.js +5 -4
- package/lib/server/chromium/crConnection.js +1 -1
- package/lib/server/chromium/crNetworkManager.js +1 -3
- package/lib/server/chromium/crPage.js +45 -2
- package/lib/server/chromium/crPdf.js +8 -2
- package/lib/server/console.js +1 -3
- package/lib/server/debugController.js +0 -3
- package/lib/server/deviceDescriptorsSource.json +50 -50
- package/lib/server/dispatchers/browserContextDispatcher.js +3 -2
- package/lib/server/dispatchers/dispatcher.js +9 -10
- package/lib/server/dispatchers/electronDispatcher.js +13 -0
- package/lib/server/dispatchers/frameDispatcher.js +0 -6
- package/lib/server/dispatchers/networkDispatchers.js +1 -0
- package/lib/server/dispatchers/pageDispatcher.js +14 -10
- package/lib/server/dom.js +130 -167
- package/lib/server/electron/electron.js +38 -12
- package/lib/server/electron/loader.js +4 -2
- package/lib/server/fetch.js +1 -0
- package/lib/server/firefox/ffAccessibility.js +2 -1
- package/lib/server/firefox/ffConnection.js +1 -1
- package/lib/server/firefox/ffPage.js +1 -1
- package/lib/server/frames.js +39 -20
- package/lib/server/helper.js +1 -1
- package/lib/server/page.js +49 -5
- package/lib/server/pipeTransport.js +1 -1
- package/lib/server/playwright.js +1 -1
- package/lib/server/progress.js +3 -11
- package/lib/server/recorder/csharp.js +1 -1
- package/lib/server/recorder/java.js +36 -4
- package/lib/server/recorder.js +2 -2
- package/lib/server/registry/browserFetcher.js +1 -1
- package/lib/server/registry/dependencies.js +5 -4
- package/lib/server/registry/index.js +48 -30
- package/lib/server/registry/nativeDeps.js +0 -94
- package/lib/server/trace/recorder/snapshotter.js +1 -1
- package/lib/server/trace/recorder/tracing.js +5 -2
- package/lib/server/trace/viewer/traceViewer.js +1 -1
- package/lib/server/transport.js +4 -2
- package/lib/server/webkit/wkConnection.js +1 -1
- package/lib/server/webkit/wkPage.js +2 -2
- package/lib/utils/comparators.js +4 -4
- package/lib/utils/fileUtils.js +4 -0
- package/lib/utils/hostPlatform.js +1 -1
- package/lib/utils/index.js +33 -0
- package/lib/utils/isomorphic/locatorParser.js +6 -4
- package/lib/utils/isomorphic/stringUtils.js +5 -0
- package/lib/utils/network.js +32 -0
- package/lib/utils/processLauncher.js +7 -0
- package/lib/utils/rtti.js +7 -4
- package/lib/utils/wsServer.js +5 -3
- package/lib/utilsBundleImpl/index.js +4 -4
- package/lib/vite/htmlReport/index.html +11 -11
- package/lib/vite/{traceViewer/assets/codeMirrorModule-GJA8DRmd.js → recorder/assets/codeMirrorModule-W69B4LBB.js} +1 -1
- package/lib/vite/recorder/assets/{index-yg8ypzl6.js → index-Ly3PcVUb.js} +2 -2
- package/lib/vite/recorder/index.html +1 -1
- package/lib/vite/traceViewer/assets/{codeMirrorModule-2ImvVqMb.js → codeMirrorModule-BK3t1EEu.js} +1 -1
- package/lib/vite/traceViewer/assets/codeMirrorModule-cc2329e4.js +15593 -0
- package/lib/vite/traceViewer/assets/codeMirrorModule-d725feea.js +15586 -0
- package/lib/vite/traceViewer/assets/{codeMirrorModule-fqJB1XDu.js → codeMirrorModule-e5a15eec.js} +1 -1
- package/lib/vite/traceViewer/assets/codeMirrorModule-kT-uS7F4.js +15592 -0
- package/lib/vite/traceViewer/assets/codeMirrorModule-rcsC5no8.js +15592 -0
- package/lib/vite/traceViewer/assets/codeMirrorModule-yboVpgC0.js +15592 -0
- package/lib/vite/traceViewer/assets/codeMirrorModule-ytMY1awF.js +15585 -0
- package/lib/vite/traceViewer/assets/wsPort-54626118.js +18361 -0
- package/lib/vite/traceViewer/assets/{wsPort-uVqol1LI.js → wsPort-964mA9MZ.js} +18 -18
- package/lib/vite/traceViewer/assets/wsPort-CAXygIGt.js +18540 -0
- package/lib/vite/traceViewer/assets/wsPort-a88a6a12.js +18361 -0
- package/lib/vite/traceViewer/assets/{wsPort-722747dc.js → wsPort-cb764cde.js} +1 -1
- package/lib/vite/traceViewer/assets/wsPort-lTlmZhJd.js +18564 -0
- package/lib/vite/traceViewer/assets/wsPort-xpIMLVfx.js +18540 -0
- package/lib/vite/traceViewer/assets/wsPort-yM58htfg.js +18360 -0
- package/lib/vite/traceViewer/assets/xtermModule-60687b6b.js +6410 -0
- package/lib/vite/traceViewer/assets/xtermModule-_6TC5FYT.js +6529 -0
- package/lib/vite/traceViewer/codeMirrorModule.eb494ea9.css +344 -0
- package/lib/vite/traceViewer/codeMirrorModule.svF_VrcJ.css +344 -0
- package/lib/vite/traceViewer/{index.0d08c336.js → index.4a8ee36e.js} +1 -1
- package/lib/vite/traceViewer/index.55e65778.js +181 -0
- package/lib/vite/traceViewer/index.5mge2rY_.css +124 -0
- package/lib/vite/traceViewer/index.5nqVcfiC.js +180 -0
- package/lib/vite/traceViewer/index.742fd3e5.js +181 -0
- package/lib/vite/traceViewer/index.76e9f312.css +124 -0
- package/lib/vite/traceViewer/{index.LR1HufLs.js → index.cbtHmFgM.js} +1 -1
- package/lib/vite/traceViewer/index.html +3 -3
- package/lib/vite/traceViewer/index.ici1bqta.js +180 -0
- package/lib/vite/traceViewer/index.mxOcKqpu.js +180 -0
- package/lib/vite/traceViewer/index.zXVxM5ps.js +180 -0
- package/lib/vite/traceViewer/sw.bundle.js +4 -4
- package/lib/vite/traceViewer/uiMode.216233d5.js +1484 -0
- package/lib/vite/traceViewer/uiMode.2c31018f.css +1324 -0
- package/lib/vite/traceViewer/{uiMode.c1ebfc43.js → uiMode.468b0309.js} +1 -1
- package/lib/vite/traceViewer/uiMode.67C8Ij-c.js +1490 -0
- package/lib/vite/traceViewer/uiMode.F_k6a2aC.js +1488 -0
- package/lib/vite/traceViewer/uiMode.NjZAwD_B.js +1485 -0
- package/lib/vite/traceViewer/uiMode.YQRCZjm8.js +1485 -0
- package/lib/vite/traceViewer/uiMode.b2068d00.js +1484 -0
- package/lib/vite/traceViewer/uiMode.e-PLonGl.js +1490 -0
- package/lib/vite/traceViewer/{uiMode.PlLkrJDI.js → uiMode.fcU_T5Nf.js} +1 -1
- package/lib/vite/traceViewer/uiMode.html +3 -3
- package/lib/vite/traceViewer/uiMode.xvJHbkzl.css +1324 -0
- package/lib/vite/traceViewer/uiMode.ybQP_6Xr.js +10 -0
- package/lib/vite/traceViewer/wsPort.997c92cf.css +3513 -0
- package/lib/vite/traceViewer/wsPort.Oa05jfrO.css +3513 -0
- package/lib/vite/traceViewer/wsPort.p5jUwABW.css +3450 -0
- package/lib/vite/traceViewer/xtermModule.125f4259.css +191 -0
- package/lib/vite/traceViewer/xtermModule.OKEVRlkP.css +209 -0
- package/package.json +6 -5
- package/types/protocol.d.ts +367 -53
- package/types/types.d.ts +220 -50
- package/LICENSE +0 -202
- package/NOTICE +0 -5
- package/lib/vite/recorder/assets/codeMirrorModule-I9ks4y7D.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-2mdjgmqe.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-56536a77.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-A2_PGeGB.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-GluP1cQ1.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-aUzO-LID.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-b361a51f.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-f333a775.js +0 -24
- package/lib/vite/traceViewer/assets/codeMirrorModule-y3M3aAqy.js +0 -24
- package/lib/vite/traceViewer/assets/wsPort-762c6840.js +0 -64
- package/lib/vite/traceViewer/assets/wsPort-93o0i57c.js +0 -69
- package/lib/vite/traceViewer/assets/wsPort-L8WBvZfK.js +0 -69
- package/lib/vite/traceViewer/assets/wsPort-Rvwd4WC-.js +0 -69
- package/lib/vite/traceViewer/assets/wsPort-db501ca9.js +0 -64
- package/lib/vite/traceViewer/assets/wsPort-dlD7vDkY.js +0 -69
- package/lib/vite/traceViewer/assets/wsPort-qI0zJPR7.js +0 -69
- package/lib/vite/traceViewer/assets/wsPort-qOE2NWrO.js +0 -69
- package/lib/vite/traceViewer/assets/wsPort-sh0wpjYp.js +0 -69
- package/lib/vite/traceViewer/index.4X7zDysg.js +0 -2
- package/lib/vite/traceViewer/index.4xhUWj1f.js +0 -2
- package/lib/vite/traceViewer/index.HkJgzlGy.js +0 -2
- package/lib/vite/traceViewer/index.Ox-CymYJ.js +0 -2
- package/lib/vite/traceViewer/index.d05939c9.js +0 -2
- package/lib/vite/traceViewer/index.ed9a3c58.js +0 -2
- package/lib/vite/traceViewer/index.kRjx5sAJ.js +0 -2
- package/lib/vite/traceViewer/index.krETyIB_.js +0 -2
- package/lib/vite/traceViewer/index.o6j3Cv4u.js +0 -2
- package/lib/vite/traceViewer/uiMode.1Wcp_Kto.js +0 -10
- package/lib/vite/traceViewer/uiMode.3ff70f7d.js +0 -4
- package/lib/vite/traceViewer/uiMode.8e0454c4.js +0 -4
- package/lib/vite/traceViewer/uiMode.GTNzARcV.js +0 -10
- package/lib/vite/traceViewer/uiMode.Rcwfn0db.js +0 -10
- package/lib/vite/traceViewer/uiMode.YGPXSUMv.js +0 -10
- package/lib/vite/traceViewer/uiMode.YYFJGvtV.js +0 -10
- package/lib/vite/traceViewer/uiMode.qpn6w4df.js +0 -10
- package/lib/vite/traceViewer/uiMode.zV-7Lf9v.js +0 -10
- package/lib/vite/traceViewer/wsPort.kSgQKQ0y.css +0 -1
package/types/protocol.d.ts
CHANGED
|
@@ -245,7 +245,7 @@ If omitted, the full tree is returned.
|
|
|
245
245
|
depth?: number;
|
|
246
246
|
/**
|
|
247
247
|
* The frame for whose document the AX tree should be retrieved.
|
|
248
|
-
If
|
|
248
|
+
If omitted, the root frame is used.
|
|
249
249
|
*/
|
|
250
250
|
frameId?: Page.FrameId;
|
|
251
251
|
}
|
|
@@ -305,7 +305,7 @@ If omitted, the root frame is used.
|
|
|
305
305
|
/**
|
|
306
306
|
* Query a DOM node's accessibility subtree for accessible name and role.
|
|
307
307
|
This command computes the name and role for all nodes in the subtree, including those that are
|
|
308
|
-
ignored for accessibility, and returns those that
|
|
308
|
+
ignored for accessibility, and returns those that match the specified name and role. If no DOM
|
|
309
309
|
node is specified, or the DOM node does not exist, the command returns an error. If neither
|
|
310
310
|
`accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
|
311
311
|
*/
|
|
@@ -367,6 +367,9 @@ including nodes that are ignored for accessibility.
|
|
|
367
367
|
playbackRate: number;
|
|
368
368
|
/**
|
|
369
369
|
* `Animation`'s start time.
|
|
370
|
+
Milliseconds for time based animations and
|
|
371
|
+
percentage [0 - 100] for scroll driven animations
|
|
372
|
+
(i.e. when viewOrScrollTimeline exists).
|
|
370
373
|
*/
|
|
371
374
|
startTime: number;
|
|
372
375
|
/**
|
|
@@ -386,6 +389,39 @@ including nodes that are ignored for accessibility.
|
|
|
386
389
|
animation/transition.
|
|
387
390
|
*/
|
|
388
391
|
cssId?: string;
|
|
392
|
+
/**
|
|
393
|
+
* View or scroll timeline
|
|
394
|
+
*/
|
|
395
|
+
viewOrScrollTimeline?: ViewOrScrollTimeline;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Timeline instance
|
|
399
|
+
*/
|
|
400
|
+
export interface ViewOrScrollTimeline {
|
|
401
|
+
/**
|
|
402
|
+
* Scroll container node
|
|
403
|
+
*/
|
|
404
|
+
sourceNodeId?: DOM.BackendNodeId;
|
|
405
|
+
/**
|
|
406
|
+
* Represents the starting scroll position of the timeline
|
|
407
|
+
as a length offset in pixels from scroll origin.
|
|
408
|
+
*/
|
|
409
|
+
startOffset?: number;
|
|
410
|
+
/**
|
|
411
|
+
* Represents the ending scroll position of the timeline
|
|
412
|
+
as a length offset in pixels from scroll origin.
|
|
413
|
+
*/
|
|
414
|
+
endOffset?: number;
|
|
415
|
+
/**
|
|
416
|
+
* The element whose principal box's visibility in the
|
|
417
|
+
scrollport defined the progress of the timeline.
|
|
418
|
+
Does not exist for animations with ScrollTimeline
|
|
419
|
+
*/
|
|
420
|
+
subjectNodeId?: DOM.BackendNodeId;
|
|
421
|
+
/**
|
|
422
|
+
* Orientation of the scroll
|
|
423
|
+
*/
|
|
424
|
+
axis: DOM.ScrollOrientation;
|
|
389
425
|
}
|
|
390
426
|
/**
|
|
391
427
|
* AnimationEffect instance
|
|
@@ -409,6 +445,9 @@ animation/transition.
|
|
|
409
445
|
iterations: number;
|
|
410
446
|
/**
|
|
411
447
|
* `AnimationEffect`'s iteration duration.
|
|
448
|
+
Milliseconds for time based animations and
|
|
449
|
+
percentage [0 - 100] for scroll driven animations
|
|
450
|
+
(i.e. when viewOrScrollTimeline exists).
|
|
412
451
|
*/
|
|
413
452
|
duration: number;
|
|
414
453
|
/**
|
|
@@ -675,7 +714,7 @@ may be used by the front-end as additional context.
|
|
|
675
714
|
request?: AffectedRequest;
|
|
676
715
|
}
|
|
677
716
|
export type MixedContentResolutionStatus = "MixedContentBlocked"|"MixedContentAutomaticallyUpgraded"|"MixedContentWarning";
|
|
678
|
-
export type MixedContentResourceType = "AttributionSrc"|"Audio"|"Beacon"|"CSPReport"|"Download"|"EventSource"|"Favicon"|"Font"|"Form"|"Frame"|"Image"|"Import"|"Manifest"|"Ping"|"PluginData"|"PluginResource"|"Prefetch"|"Resource"|"Script"|"ServiceWorker"|"SharedWorker"|"SpeculationRules"|"Stylesheet"|"Track"|"Video"|"Worker"|"XMLHttpRequest"|"XSLT";
|
|
717
|
+
export type MixedContentResourceType = "AttributionSrc"|"Audio"|"Beacon"|"CSPReport"|"Download"|"EventSource"|"Favicon"|"Font"|"Form"|"Frame"|"Image"|"Import"|"JSON"|"Manifest"|"Ping"|"PluginData"|"PluginResource"|"Prefetch"|"Resource"|"Script"|"ServiceWorker"|"SharedWorker"|"SpeculationRules"|"Stylesheet"|"Track"|"Video"|"Worker"|"XMLHttpRequest"|"XSLT";
|
|
679
718
|
export interface MixedContentIssueDetails {
|
|
680
719
|
/**
|
|
681
720
|
* The type of resource causing the mixed content issue (css, js, iframe,
|
|
@@ -1132,7 +1171,7 @@ Munich 81456
|
|
|
1132
1171
|
*/
|
|
1133
1172
|
export interface AddressUI {
|
|
1134
1173
|
/**
|
|
1135
|
-
* A two dimension array containing the
|
|
1174
|
+
* A two dimension array containing the representation of values from an address profile.
|
|
1136
1175
|
*/
|
|
1137
1176
|
addressFields: AddressFields[];
|
|
1138
1177
|
}
|
|
@@ -1165,6 +1204,14 @@ Munich 81456
|
|
|
1165
1204
|
* The filling strategy
|
|
1166
1205
|
*/
|
|
1167
1206
|
fillingStrategy: FillingStrategy;
|
|
1207
|
+
/**
|
|
1208
|
+
* The frame the field belongs to
|
|
1209
|
+
*/
|
|
1210
|
+
frameId: Page.FrameId;
|
|
1211
|
+
/**
|
|
1212
|
+
* The form field's DOM node
|
|
1213
|
+
*/
|
|
1214
|
+
fieldId: DOM.BackendNodeId;
|
|
1168
1215
|
}
|
|
1169
1216
|
|
|
1170
1217
|
/**
|
|
@@ -1363,7 +1410,7 @@ events afterwards if enabled and recording.
|
|
|
1363
1410
|
*/
|
|
1364
1411
|
windowState?: WindowState;
|
|
1365
1412
|
}
|
|
1366
|
-
export type PermissionType = "accessibilityEvents"|"audioCapture"|"backgroundSync"|"backgroundFetch"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"flash"|"geolocation"|"idleDetection"|"localFonts"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"protectedMediaIdentifier"|"sensors"|"storageAccess"|"topLevelStorageAccess"|"videoCapture"|"videoCapturePanTiltZoom"|"wakeLockScreen"|"wakeLockSystem"|"windowManagement";
|
|
1413
|
+
export type PermissionType = "accessibilityEvents"|"audioCapture"|"backgroundSync"|"backgroundFetch"|"capturedSurfaceControl"|"clipboardReadWrite"|"clipboardSanitizedWrite"|"displayCapture"|"durableStorage"|"flash"|"geolocation"|"idleDetection"|"localFonts"|"midi"|"midiSysex"|"nfc"|"notifications"|"paymentHandler"|"periodicBackgroundSync"|"protectedMediaIdentifier"|"sensors"|"storageAccess"|"speakerSelection"|"topLevelStorageAccess"|"videoCapture"|"videoCapturePanTiltZoom"|"wakeLockScreen"|"wakeLockSystem"|"windowManagement";
|
|
1367
1414
|
export type PermissionSetting = "granted"|"denied"|"prompt";
|
|
1368
1415
|
/**
|
|
1369
1416
|
* Definition of PermissionDescriptor defined in the Permissions API:
|
|
@@ -1536,7 +1583,7 @@ Note that userVisibleOnly = true is the only currently supported type.
|
|
|
1536
1583
|
/**
|
|
1537
1584
|
* Whether to allow all or deny all download requests, or use default Chrome behavior if
|
|
1538
1585
|
available (otherwise deny). |allowAndName| allows download and names files according to
|
|
1539
|
-
their
|
|
1586
|
+
their download guids.
|
|
1540
1587
|
*/
|
|
1541
1588
|
behavior: "deny"|"allow"|"allowAndName"|"default";
|
|
1542
1589
|
/**
|
|
@@ -1884,7 +1931,7 @@ pseudo-classes.
|
|
|
1884
1931
|
frameId: Page.FrameId;
|
|
1885
1932
|
/**
|
|
1886
1933
|
* Stylesheet resource URL. Empty if this is a constructed stylesheet created using
|
|
1887
|
-
new CSSStyleSheet() (but non-empty if this is a constructed
|
|
1934
|
+
new CSSStyleSheet() (but non-empty if this is a constructed stylesheet imported
|
|
1888
1935
|
as a CSS module script).
|
|
1889
1936
|
*/
|
|
1890
1937
|
sourceURL: string;
|
|
@@ -2609,6 +2656,12 @@ position specified by `location`.
|
|
|
2609
2656
|
* Text position of a new rule in the target style sheet.
|
|
2610
2657
|
*/
|
|
2611
2658
|
location: SourceRange;
|
|
2659
|
+
/**
|
|
2660
|
+
* NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
|
2661
|
+
validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
|
2662
|
+
incorrect results if the declaration contains a var() for example.
|
|
2663
|
+
*/
|
|
2664
|
+
nodeForPropertySyntaxValidation?: DOM.NodeId;
|
|
2612
2665
|
}
|
|
2613
2666
|
export type addRuleReturnValue = {
|
|
2614
2667
|
/**
|
|
@@ -2983,6 +3036,12 @@ property
|
|
|
2983
3036
|
*/
|
|
2984
3037
|
export type setStyleTextsParameters = {
|
|
2985
3038
|
edits: StyleDeclarationEdit[];
|
|
3039
|
+
/**
|
|
3040
|
+
* NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
|
3041
|
+
validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
|
3042
|
+
incorrect results if the declaration contains a var() for example.
|
|
3043
|
+
*/
|
|
3044
|
+
nodeForPropertySyntaxValidation?: DOM.NodeId;
|
|
2986
3045
|
}
|
|
2987
3046
|
export type setStyleTextsReturnValue = {
|
|
2988
3047
|
/**
|
|
@@ -3362,6 +3421,10 @@ front-end.
|
|
|
3362
3421
|
* ContainerSelector logical axes
|
|
3363
3422
|
*/
|
|
3364
3423
|
export type LogicalAxes = "Inline"|"Block"|"Both";
|
|
3424
|
+
/**
|
|
3425
|
+
* Physical scroll orientation
|
|
3426
|
+
*/
|
|
3427
|
+
export type ScrollOrientation = "horizontal"|"vertical";
|
|
3365
3428
|
/**
|
|
3366
3429
|
* DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
|
|
3367
3430
|
DOMNode is a base node mirror type.
|
|
@@ -3935,7 +3998,7 @@ be called for that search.
|
|
|
3935
3998
|
*/
|
|
3936
3999
|
export type getAttributesParameters = {
|
|
3937
4000
|
/**
|
|
3938
|
-
* Id of the node to retrieve
|
|
4001
|
+
* Id of the node to retrieve attributes for.
|
|
3939
4002
|
*/
|
|
3940
4003
|
nodeId: NodeId;
|
|
3941
4004
|
}
|
|
@@ -5663,14 +5726,14 @@ resource fetches.
|
|
|
5663
5726
|
*/
|
|
5664
5727
|
export type VirtualTimePolicy = "advance"|"pause"|"pauseIfNetworkFetchesPending";
|
|
5665
5728
|
/**
|
|
5666
|
-
* Used to specify User Agent
|
|
5729
|
+
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
|
5667
5730
|
*/
|
|
5668
5731
|
export interface UserAgentBrandVersion {
|
|
5669
5732
|
brand: string;
|
|
5670
5733
|
version: string;
|
|
5671
5734
|
}
|
|
5672
5735
|
/**
|
|
5673
|
-
* Used to specify User Agent
|
|
5736
|
+
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
|
5674
5737
|
Missing optional values will be filled in by the target with what it would normally use.
|
|
5675
5738
|
*/
|
|
5676
5739
|
export interface UserAgentMetadata {
|
|
@@ -5974,7 +6037,7 @@ Sensor.start() will attempt to use a real sensor instead.
|
|
|
5974
6037
|
export type setSensorOverrideEnabledReturnValue = {
|
|
5975
6038
|
}
|
|
5976
6039
|
/**
|
|
5977
|
-
* Updates the sensor readings reported by a sensor type previously
|
|
6040
|
+
* Updates the sensor readings reported by a sensor type previously overridden
|
|
5978
6041
|
by setSensorOverrideEnabled.
|
|
5979
6042
|
*/
|
|
5980
6043
|
export type setSensorOverrideReadingsParameters = {
|
|
@@ -6097,8 +6160,9 @@ restores default host system locale.
|
|
|
6097
6160
|
*/
|
|
6098
6161
|
export type setTimezoneOverrideParameters = {
|
|
6099
6162
|
/**
|
|
6100
|
-
* The timezone identifier.
|
|
6101
|
-
|
|
6163
|
+
* The timezone identifier. List of supported timezones:
|
|
6164
|
+
https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt
|
|
6165
|
+
If empty, disables the override and restores default host system timezone.
|
|
6102
6166
|
*/
|
|
6103
6167
|
timezoneId: string;
|
|
6104
6168
|
}
|
|
@@ -6139,6 +6203,7 @@ on Android.
|
|
|
6139
6203
|
}
|
|
6140
6204
|
/**
|
|
6141
6205
|
* Allows overriding user agent with the given string.
|
|
6206
|
+
`userAgentMetadata` must be set for Client Hint headers to be sent.
|
|
6142
6207
|
*/
|
|
6143
6208
|
export type setUserAgentOverrideParameters = {
|
|
6144
6209
|
/**
|
|
@@ -6284,7 +6349,7 @@ display. Reported for diagnostic uses, may be removed in the future.
|
|
|
6284
6349
|
*/
|
|
6285
6350
|
handle: StreamHandle;
|
|
6286
6351
|
/**
|
|
6287
|
-
* Seek to the specified offset before reading (if not
|
|
6352
|
+
* Seek to the specified offset before reading (if not specified, proceed with offset
|
|
6288
6353
|
following the last read). Some types of streams may only support sequential reads.
|
|
6289
6354
|
*/
|
|
6290
6355
|
offset?: number;
|
|
@@ -6910,7 +6975,7 @@ for example an emoji keyboard or an IME.
|
|
|
6910
6975
|
export type insertTextReturnValue = {
|
|
6911
6976
|
}
|
|
6912
6977
|
/**
|
|
6913
|
-
* This method sets the current candidate text for
|
|
6978
|
+
* This method sets the current candidate text for IME.
|
|
6914
6979
|
Use imeCommitComposition to commit the final text.
|
|
6915
6980
|
Use imeSetComposition with empty string as text to cancel composition.
|
|
6916
6981
|
*/
|
|
@@ -7409,7 +7474,7 @@ transform/scrolling purposes only.
|
|
|
7409
7474
|
}
|
|
7410
7475
|
export type layerTreeDidChangePayload = {
|
|
7411
7476
|
/**
|
|
7412
|
-
* Layer tree, absent if not in the
|
|
7477
|
+
* Layer tree, absent if not in the compositing mode.
|
|
7413
7478
|
*/
|
|
7414
7479
|
layers?: Layer[];
|
|
7415
7480
|
}
|
|
@@ -8020,7 +8085,7 @@ passed by the developer (e.g. via "fetch") as understood by the backend.
|
|
|
8020
8085
|
trustTokenParams?: TrustTokenParams;
|
|
8021
8086
|
/**
|
|
8022
8087
|
* True if this resource request is considered to be the 'same site' as the
|
|
8023
|
-
request
|
|
8088
|
+
request corresponding to the main frame.
|
|
8024
8089
|
*/
|
|
8025
8090
|
isSameSite?: boolean;
|
|
8026
8091
|
}
|
|
@@ -8172,8 +8237,13 @@ records.
|
|
|
8172
8237
|
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
|
8173
8238
|
*/
|
|
8174
8239
|
export type AlternateProtocolUsage = "alternativeJobWonWithoutRace"|"alternativeJobWonRace"|"mainJobWonRace"|"mappingMissing"|"broken"|"dnsAlpnH3JobWonWithoutRace"|"dnsAlpnH3JobWonRace"|"unspecifiedReason";
|
|
8240
|
+
/**
|
|
8241
|
+
* Source of service worker router.
|
|
8242
|
+
*/
|
|
8243
|
+
export type ServiceWorkerRouterSource = "network"|"cache"|"fetch-event"|"race-network-and-fetch-handler";
|
|
8175
8244
|
export interface ServiceWorkerRouterInfo {
|
|
8176
8245
|
ruleIdMatched: number;
|
|
8246
|
+
matchedSourceType: ServiceWorkerRouterSource;
|
|
8177
8247
|
}
|
|
8178
8248
|
/**
|
|
8179
8249
|
* HTTP response data.
|
|
@@ -8203,6 +8273,10 @@ records.
|
|
|
8203
8273
|
* Resource mimeType as determined by the browser.
|
|
8204
8274
|
*/
|
|
8205
8275
|
mimeType: string;
|
|
8276
|
+
/**
|
|
8277
|
+
* Resource charset as determined by the browser (if applicable).
|
|
8278
|
+
*/
|
|
8279
|
+
charset: string;
|
|
8206
8280
|
/**
|
|
8207
8281
|
* Refined HTTP request headers that were actually transmitted over the network.
|
|
8208
8282
|
*/
|
|
@@ -8240,7 +8314,7 @@ records.
|
|
|
8240
8314
|
*/
|
|
8241
8315
|
fromPrefetchCache?: boolean;
|
|
8242
8316
|
/**
|
|
8243
|
-
*
|
|
8317
|
+
* Information about how Service Worker Static Router was used.
|
|
8244
8318
|
*/
|
|
8245
8319
|
serviceWorkerRouterInfo?: ServiceWorkerRouterInfo;
|
|
8246
8320
|
/**
|
|
@@ -8469,6 +8543,10 @@ of the request to the endpoint that set the cookie.
|
|
|
8469
8543
|
* Types of reasons why a cookie may not be sent with a request.
|
|
8470
8544
|
*/
|
|
8471
8545
|
export type CookieBlockedReason = "SecureOnly"|"NotOnPath"|"DomainMismatch"|"SameSiteStrict"|"SameSiteLax"|"SameSiteUnspecifiedTreatedAsLax"|"SameSiteNoneInsecure"|"UserPreferences"|"ThirdPartyPhaseout"|"ThirdPartyBlockedInFirstPartySet"|"UnknownError"|"SchemefulSameSiteStrict"|"SchemefulSameSiteLax"|"SchemefulSameSiteUnspecifiedTreatedAsLax"|"SamePartyFromCrossPartyContext"|"NameValuePairExceedsMaxSize";
|
|
8546
|
+
/**
|
|
8547
|
+
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
|
8548
|
+
*/
|
|
8549
|
+
export type CookieExemptionReason = "None"|"UserSetting"|"TPCDMetadata"|"TPCDDeprecationTrial"|"TPCDHeuristics"|"EnterprisePolicy"|"StorageAccess"|"TopLevelStorageAccess"|"CorsOptIn";
|
|
8472
8550
|
/**
|
|
8473
8551
|
* A cookie which was not stored from a response with the corresponding reason.
|
|
8474
8552
|
*/
|
|
@@ -8490,17 +8568,37 @@ errors.
|
|
|
8490
8568
|
cookie?: Cookie;
|
|
8491
8569
|
}
|
|
8492
8570
|
/**
|
|
8493
|
-
* A cookie
|
|
8571
|
+
* A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
|
|
8572
|
+
corresponding reason. A cookie could only have at most one exemption reason.
|
|
8494
8573
|
*/
|
|
8495
|
-
export interface
|
|
8574
|
+
export interface ExemptedSetCookieWithReason {
|
|
8496
8575
|
/**
|
|
8497
|
-
* The reason
|
|
8576
|
+
* The reason the cookie was exempted.
|
|
8498
8577
|
*/
|
|
8499
|
-
|
|
8578
|
+
exemptionReason: CookieExemptionReason;
|
|
8579
|
+
/**
|
|
8580
|
+
* The cookie object representing the cookie.
|
|
8581
|
+
*/
|
|
8582
|
+
cookie: Cookie;
|
|
8583
|
+
}
|
|
8584
|
+
/**
|
|
8585
|
+
* A cookie associated with the request which may or may not be sent with it.
|
|
8586
|
+
Includes the cookies itself and reasons for blocking or exemption.
|
|
8587
|
+
*/
|
|
8588
|
+
export interface AssociatedCookie {
|
|
8500
8589
|
/**
|
|
8501
8590
|
* The cookie object representing the cookie which was not sent.
|
|
8502
8591
|
*/
|
|
8503
8592
|
cookie: Cookie;
|
|
8593
|
+
/**
|
|
8594
|
+
* The reason(s) the cookie was blocked. If empty means the cookie is included.
|
|
8595
|
+
*/
|
|
8596
|
+
blockedReasons: CookieBlockedReason[];
|
|
8597
|
+
/**
|
|
8598
|
+
* The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could
|
|
8599
|
+
only have at most one exemption reason.
|
|
8600
|
+
*/
|
|
8601
|
+
exemptionReason?: CookieExemptionReason;
|
|
8504
8602
|
}
|
|
8505
8603
|
/**
|
|
8506
8604
|
* Cookie parameter object
|
|
@@ -8739,7 +8837,7 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
|
|
|
8739
8837
|
*/
|
|
8740
8838
|
securityDetails?: SecurityDetails;
|
|
8741
8839
|
/**
|
|
8742
|
-
* Errors occurred while handling the signed
|
|
8840
|
+
* Errors occurred while handling the signed exchange.
|
|
8743
8841
|
*/
|
|
8744
8842
|
errors?: SignedExchangeError[];
|
|
8745
8843
|
}
|
|
@@ -8883,6 +8981,10 @@ CORB and streaming.
|
|
|
8883
8981
|
* Actual bytes received (might be less than dataLength for compressed encodings).
|
|
8884
8982
|
*/
|
|
8885
8983
|
encodedDataLength: number;
|
|
8984
|
+
/**
|
|
8985
|
+
* Data that was received.
|
|
8986
|
+
*/
|
|
8987
|
+
data?: binary;
|
|
8886
8988
|
}
|
|
8887
8989
|
/**
|
|
8888
8990
|
* Fired when EventSource message is received.
|
|
@@ -8926,7 +9028,7 @@ CORB and streaming.
|
|
|
8926
9028
|
*/
|
|
8927
9029
|
type: ResourceType;
|
|
8928
9030
|
/**
|
|
8929
|
-
*
|
|
9031
|
+
* Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
|
|
8930
9032
|
*/
|
|
8931
9033
|
errorText: string;
|
|
8932
9034
|
/**
|
|
@@ -9326,9 +9428,9 @@ or requestWillBeSentExtraInfo will be fired first for the same request.
|
|
|
9326
9428
|
requestId: RequestId;
|
|
9327
9429
|
/**
|
|
9328
9430
|
* A list of cookies potentially associated to the requested URL. This includes both cookies sent with
|
|
9329
|
-
the request and the ones not sent; the latter are distinguished by having
|
|
9431
|
+
the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
|
|
9330
9432
|
*/
|
|
9331
|
-
associatedCookies:
|
|
9433
|
+
associatedCookies: AssociatedCookie[];
|
|
9332
9434
|
/**
|
|
9333
9435
|
* Raw request headers as they will be sent over the wire.
|
|
9334
9436
|
*/
|
|
@@ -9388,9 +9490,14 @@ Only sent when partitioned cookies are enabled.
|
|
|
9388
9490
|
*/
|
|
9389
9491
|
cookiePartitionKey?: string;
|
|
9390
9492
|
/**
|
|
9391
|
-
* True if partitioned cookies are enabled, but the partition key is not
|
|
9493
|
+
* True if partitioned cookies are enabled, but the partition key is not serializable to string.
|
|
9392
9494
|
*/
|
|
9393
9495
|
cookiePartitionKeyOpaque?: boolean;
|
|
9496
|
+
/**
|
|
9497
|
+
* A list of cookies which should have been blocked by 3PCD but are exempted and stored from
|
|
9498
|
+
the response with the corresponding reason.
|
|
9499
|
+
*/
|
|
9500
|
+
exemptedCookies?: ExemptedSetCookieWithReason[];
|
|
9394
9501
|
}
|
|
9395
9502
|
/**
|
|
9396
9503
|
* Fired exactly once for each Trust Token operation. Depending on
|
|
@@ -9621,7 +9728,7 @@ authChallenge.
|
|
|
9621
9728
|
export type continueInterceptedRequestReturnValue = {
|
|
9622
9729
|
}
|
|
9623
9730
|
/**
|
|
9624
|
-
* Deletes browser cookies with matching name and url or domain/path pair.
|
|
9731
|
+
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
|
9625
9732
|
*/
|
|
9626
9733
|
export type deleteCookiesParameters = {
|
|
9627
9734
|
/**
|
|
@@ -9641,6 +9748,11 @@ provided URL.
|
|
|
9641
9748
|
* If specified, deletes only cookies with the exact path.
|
|
9642
9749
|
*/
|
|
9643
9750
|
path?: string;
|
|
9751
|
+
/**
|
|
9752
|
+
* If specified, deletes only cookies with the the given name and partitionKey where domain
|
|
9753
|
+
matches provided URL.
|
|
9754
|
+
*/
|
|
9755
|
+
partitionKey?: string;
|
|
9644
9756
|
}
|
|
9645
9757
|
export type deleteCookiesReturnValue = {
|
|
9646
9758
|
}
|
|
@@ -10019,6 +10131,22 @@ continueInterceptedRequest call.
|
|
|
10019
10131
|
}
|
|
10020
10132
|
export type setUserAgentOverrideReturnValue = {
|
|
10021
10133
|
}
|
|
10134
|
+
/**
|
|
10135
|
+
* Enables streaming of the response for the given requestId.
|
|
10136
|
+
If enabled, the dataReceived event contains the data that was received during streaming.
|
|
10137
|
+
*/
|
|
10138
|
+
export type streamResourceContentParameters = {
|
|
10139
|
+
/**
|
|
10140
|
+
* Identifier of the request to stream.
|
|
10141
|
+
*/
|
|
10142
|
+
requestId: RequestId;
|
|
10143
|
+
}
|
|
10144
|
+
export type streamResourceContentReturnValue = {
|
|
10145
|
+
/**
|
|
10146
|
+
* Data that has been buffered until streaming is enabled.
|
|
10147
|
+
*/
|
|
10148
|
+
bufferedData: binary;
|
|
10149
|
+
}
|
|
10022
10150
|
/**
|
|
10023
10151
|
* Returns information about the COEP/COOP isolation status.
|
|
10024
10152
|
*/
|
|
@@ -10075,7 +10203,7 @@ should be omitted for worker targets.
|
|
|
10075
10203
|
*/
|
|
10076
10204
|
export interface SourceOrderConfig {
|
|
10077
10205
|
/**
|
|
10078
|
-
* the color to outline the
|
|
10206
|
+
* the color to outline the given element in.
|
|
10079
10207
|
*/
|
|
10080
10208
|
parentOutlineColor: DOM.RGBA;
|
|
10081
10209
|
/**
|
|
@@ -10408,7 +10536,7 @@ should be omitted for worker targets.
|
|
|
10408
10536
|
*/
|
|
10409
10537
|
showCSS: boolean;
|
|
10410
10538
|
/**
|
|
10411
|
-
*
|
|
10539
|
+
* Selected platforms to show the overlay.
|
|
10412
10540
|
*/
|
|
10413
10541
|
selectedPlatform: string;
|
|
10414
10542
|
/**
|
|
@@ -10576,8 +10704,8 @@ user manually inspects an element.
|
|
|
10576
10704
|
}
|
|
10577
10705
|
/**
|
|
10578
10706
|
* Highlights owner element of the frame with given id.
|
|
10579
|
-
Deprecated: Doesn't work
|
|
10580
|
-
|
|
10707
|
+
Deprecated: Doesn't work reliably and cannot be fixed due to process
|
|
10708
|
+
separation (the owner node might be in a different process). Determine
|
|
10581
10709
|
the owner node in the client and use highlightNode.
|
|
10582
10710
|
*/
|
|
10583
10711
|
export type highlightFrameParameters = {
|
|
@@ -10937,7 +11065,7 @@ as an ad.
|
|
|
10937
11065
|
* All Permissions Policy features. This enum should match the one defined
|
|
10938
11066
|
in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
|
10939
11067
|
*/
|
|
10940
|
-
export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factor"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"cross-origin-isolated"|"direct-sockets"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"storage-access"|"sync-xhr"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-printing"|"web-share"|"window-management"|"window-placement"|"xr-spatial-tracking";
|
|
11068
|
+
export type PermissionsPolicyFeature = "accelerometer"|"ambient-light-sensor"|"attribution-reporting"|"autoplay"|"bluetooth"|"browsing-topics"|"camera"|"captured-surface-control"|"ch-dpr"|"ch-device-memory"|"ch-downlink"|"ch-ect"|"ch-prefers-color-scheme"|"ch-prefers-reduced-motion"|"ch-prefers-reduced-transparency"|"ch-rtt"|"ch-save-data"|"ch-ua"|"ch-ua-arch"|"ch-ua-bitness"|"ch-ua-platform"|"ch-ua-model"|"ch-ua-mobile"|"ch-ua-form-factor"|"ch-ua-full-version"|"ch-ua-full-version-list"|"ch-ua-platform-version"|"ch-ua-wow64"|"ch-viewport-height"|"ch-viewport-width"|"ch-width"|"clipboard-read"|"clipboard-write"|"compute-pressure"|"cross-origin-isolated"|"direct-sockets"|"display-capture"|"document-domain"|"encrypted-media"|"execution-while-out-of-viewport"|"execution-while-not-rendered"|"focus-without-user-activation"|"fullscreen"|"frobulate"|"gamepad"|"geolocation"|"gyroscope"|"hid"|"identity-credentials-get"|"idle-detection"|"interest-cohort"|"join-ad-interest-group"|"keyboard-map"|"local-fonts"|"magnetometer"|"microphone"|"midi"|"otp-credentials"|"payment"|"picture-in-picture"|"private-aggregation"|"private-state-token-issuance"|"private-state-token-redemption"|"publickey-credentials-create"|"publickey-credentials-get"|"run-ad-auction"|"screen-wake-lock"|"serial"|"shared-autofill"|"shared-storage"|"shared-storage-select-url"|"smart-card"|"speaker-selection"|"storage-access"|"sub-apps"|"sync-xhr"|"unload"|"usb"|"usb-unrestricted"|"vertical-scroll"|"web-printing"|"web-share"|"window-management"|"window-placement"|"xr-spatial-tracking";
|
|
10941
11069
|
/**
|
|
10942
11070
|
* Reason for a permissions policy feature to be disabled.
|
|
10943
11071
|
*/
|
|
@@ -11189,7 +11317,7 @@ Example URLs: http://www.google.com/file.html -> "google.com"
|
|
|
11189
11317
|
*/
|
|
11190
11318
|
message: string;
|
|
11191
11319
|
/**
|
|
11192
|
-
* If
|
|
11320
|
+
* If critical, this is a non-recoverable parse error.
|
|
11193
11321
|
*/
|
|
11194
11322
|
critical: number;
|
|
11195
11323
|
/**
|
|
@@ -11396,7 +11524,7 @@ Example URLs: http://www.google.com/file.html -> "google.com"
|
|
|
11396
11524
|
eager?: boolean;
|
|
11397
11525
|
}
|
|
11398
11526
|
/**
|
|
11399
|
-
* Enum of possible auto-
|
|
11527
|
+
* Enum of possible auto-response for permission / prompt dialogs.
|
|
11400
11528
|
*/
|
|
11401
11529
|
export type AutoResponseMode = "none"|"autoAccept"|"autoReject"|"autoOptOut";
|
|
11402
11530
|
/**
|
|
@@ -11406,7 +11534,7 @@ Example URLs: http://www.google.com/file.html -> "google.com"
|
|
|
11406
11534
|
/**
|
|
11407
11535
|
* List of not restored reasons for back-forward cache.
|
|
11408
11536
|
*/
|
|
11409
|
-
export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"
|
|
11537
|
+
export type BackForwardCacheNotRestoredReason = "NotPrimaryMainFrame"|"BackForwardCacheDisabled"|"RelatedActiveContentsExist"|"HTTPStatusNotOK"|"SchemeNotHTTPOrHTTPS"|"Loading"|"WasGrantedMediaAccess"|"DisableForRenderFrameHostCalled"|"DomainNotAllowed"|"HTTPMethodNotGET"|"SubframeIsNavigating"|"Timeout"|"CacheLimit"|"JavaScriptExecution"|"RendererProcessKilled"|"RendererProcessCrashed"|"SchedulerTrackedFeatureUsed"|"ConflictingBrowsingInstance"|"CacheFlushed"|"ServiceWorkerVersionActivation"|"SessionRestored"|"ServiceWorkerPostMessage"|"EnteredBackForwardCacheBeforeServiceWorkerHostAdded"|"RenderFrameHostReused_SameSite"|"RenderFrameHostReused_CrossSite"|"ServiceWorkerClaim"|"IgnoreEventAndEvict"|"HaveInnerContents"|"TimeoutPuttingInCache"|"BackForwardCacheDisabledByLowMemory"|"BackForwardCacheDisabledByCommandLine"|"NetworkRequestDatapipeDrainedAsBytesConsumer"|"NetworkRequestRedirected"|"NetworkRequestTimeout"|"NetworkExceedsBufferLimit"|"NavigationCancelledWhileRestoring"|"NotMostRecentNavigationEntry"|"BackForwardCacheDisabledForPrerender"|"UserAgentOverrideDiffers"|"ForegroundCacheLimit"|"BrowsingInstanceNotSwapped"|"BackForwardCacheDisabledForDelegate"|"UnloadHandlerExistsInMainFrame"|"UnloadHandlerExistsInSubFrame"|"ServiceWorkerUnregistration"|"CacheControlNoStore"|"CacheControlNoStoreCookieModified"|"CacheControlNoStoreHTTPOnlyCookieModified"|"NoResponseHead"|"Unknown"|"ActivationNavigationsDisallowedForBug1234857"|"ErrorDocument"|"FencedFramesEmbedder"|"CookieDisabled"|"HTTPAuthRequired"|"CookieFlushed"|"WebSocket"|"WebTransport"|"WebRTC"|"MainResourceHasCacheControlNoStore"|"MainResourceHasCacheControlNoCache"|"SubresourceHasCacheControlNoStore"|"SubresourceHasCacheControlNoCache"|"ContainsPlugins"|"DocumentLoaded"|"OutstandingNetworkRequestOthers"|"RequestedMIDIPermission"|"RequestedAudioCapturePermission"|"RequestedVideoCapturePermission"|"RequestedBackForwardCacheBlockedSensors"|"RequestedBackgroundWorkPermission"|"BroadcastChannel"|"WebXR"|"SharedWorker"|"WebLocks"|"WebHID"|"WebShare"|"RequestedStorageAccessGrant"|"WebNfc"|"OutstandingNetworkRequestFetch"|"OutstandingNetworkRequestXHR"|"AppBanner"|"Printing"|"WebDatabase"|"PictureInPicture"|"Portal"|"SpeechRecognizer"|"IdleManager"|"PaymentManager"|"SpeechSynthesis"|"KeyboardLock"|"WebOTPService"|"OutstandingNetworkRequestDirectSocket"|"InjectedJavascript"|"InjectedStyleSheet"|"KeepaliveRequest"|"IndexedDBEvent"|"Dummy"|"JsNetworkRequestReceivedCacheControlNoStoreResource"|"WebRTCSticky"|"WebTransportSticky"|"WebSocketSticky"|"SmartCard"|"LiveMediaStreamTrack"|"UnloadHandler"|"ContentSecurityHandler"|"ContentWebAuthenticationAPI"|"ContentFileChooser"|"ContentSerial"|"ContentFileSystemAccess"|"ContentMediaDevicesDispatcherHost"|"ContentWebBluetooth"|"ContentWebUSB"|"ContentMediaSessionService"|"ContentScreenReader"|"EmbedderPopupBlockerTabHelper"|"EmbedderSafeBrowsingTriggeredPopupBlocker"|"EmbedderSafeBrowsingThreatDetails"|"EmbedderAppBannerManager"|"EmbedderDomDistillerViewerSource"|"EmbedderDomDistillerSelfDeletingRequestDelegate"|"EmbedderOomInterventionTabHelper"|"EmbedderOfflinePage"|"EmbedderChromePasswordManagerClientBindCredentialManager"|"EmbedderPermissionRequestManager"|"EmbedderModalDialog"|"EmbedderExtensions"|"EmbedderExtensionMessaging"|"EmbedderExtensionMessagingForOpenPort"|"EmbedderExtensionSentMessageToCachedFrame";
|
|
11410
11538
|
/**
|
|
11411
11539
|
* Types of not restored reasons for back-forward cache.
|
|
11412
11540
|
*/
|
|
@@ -11683,7 +11811,7 @@ open.
|
|
|
11683
11811
|
*/
|
|
11684
11812
|
type: DialogType;
|
|
11685
11813
|
/**
|
|
11686
|
-
* True
|
|
11814
|
+
* True if browser is capable showing or acting on the given dialog. When browser has no
|
|
11687
11815
|
dialog handler for given target, calling alert while Page domain is engaged will stall
|
|
11688
11816
|
the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
|
|
11689
11817
|
*/
|
|
@@ -11716,7 +11844,7 @@ when bfcache navigation fails.
|
|
|
11716
11844
|
*/
|
|
11717
11845
|
export type backForwardCacheNotUsedPayload = {
|
|
11718
11846
|
/**
|
|
11719
|
-
* The loader id for the associated
|
|
11847
|
+
* The loader id for the associated navigation.
|
|
11720
11848
|
*/
|
|
11721
11849
|
loaderId: Network.LoaderId;
|
|
11722
11850
|
/**
|
|
@@ -12664,7 +12792,7 @@ https://github.com/WICG/web-lifecycle/
|
|
|
12664
12792
|
}
|
|
12665
12793
|
/**
|
|
12666
12794
|
* Requests backend to produce compilation cache for the specified scripts.
|
|
12667
|
-
`scripts` are
|
|
12795
|
+
`scripts` are appended to the list of scripts for which the cache
|
|
12668
12796
|
would be produced. The list may be reset during page navigation.
|
|
12669
12797
|
When script with a matching URL is encountered, the cache is optionally
|
|
12670
12798
|
produced upon backend discretion, based on internal heuristics.
|
|
@@ -12883,7 +13011,7 @@ https://w3c.github.io/performance-timeline/#dom-performanceobserver.
|
|
|
12883
13011
|
frameId: Page.FrameId;
|
|
12884
13012
|
/**
|
|
12885
13013
|
* The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype
|
|
12886
|
-
This determines which of the optional "details"
|
|
13014
|
+
This determines which of the optional "details" fields is present.
|
|
12887
13015
|
*/
|
|
12888
13016
|
type: string;
|
|
12889
13017
|
/**
|
|
@@ -12993,7 +13121,7 @@ https://www.w3.org/TR/mixed-content/#categories
|
|
|
12993
13121
|
*/
|
|
12994
13122
|
certificateNetworkError?: string;
|
|
12995
13123
|
/**
|
|
12996
|
-
* True if the certificate uses a weak signature
|
|
13124
|
+
* True if the certificate uses a weak signature algorithm.
|
|
12997
13125
|
*/
|
|
12998
13126
|
certificateHasWeakSignature: boolean;
|
|
12999
13127
|
/**
|
|
@@ -13389,10 +13517,22 @@ Tokens from that issuer.
|
|
|
13389
13517
|
issuerOrigin: string;
|
|
13390
13518
|
count: number;
|
|
13391
13519
|
}
|
|
13520
|
+
/**
|
|
13521
|
+
* Protected audience interest group auction identifier.
|
|
13522
|
+
*/
|
|
13523
|
+
export type InterestGroupAuctionId = string;
|
|
13392
13524
|
/**
|
|
13393
13525
|
* Enum of interest group access types.
|
|
13394
13526
|
*/
|
|
13395
|
-
export type InterestGroupAccessType = "join"|"leave"|"update"|"loaded"|"bid"|"win"|"additionalBid"|"additionalBidWin"|"clear";
|
|
13527
|
+
export type InterestGroupAccessType = "join"|"leave"|"update"|"loaded"|"bid"|"win"|"additionalBid"|"additionalBidWin"|"topLevelBid"|"topLevelAdditionalBid"|"clear";
|
|
13528
|
+
/**
|
|
13529
|
+
* Enum of auction events.
|
|
13530
|
+
*/
|
|
13531
|
+
export type InterestGroupAuctionEventType = "started"|"configResolved";
|
|
13532
|
+
/**
|
|
13533
|
+
* Enum of network fetches auctions can do.
|
|
13534
|
+
*/
|
|
13535
|
+
export type InterestGroupAuctionFetchType = "bidderJs"|"bidderWasm"|"sellerJs"|"bidderTrustedSignals"|"sellerTrustedSignals";
|
|
13396
13536
|
/**
|
|
13397
13537
|
* Ad advertising element inside an interest group.
|
|
13398
13538
|
*/
|
|
@@ -13432,9 +13572,23 @@ Tokens from that issuer.
|
|
|
13432
13572
|
* Details for an origin's shared storage.
|
|
13433
13573
|
*/
|
|
13434
13574
|
export interface SharedStorageMetadata {
|
|
13575
|
+
/**
|
|
13576
|
+
* Time when the origin's shared storage was last created.
|
|
13577
|
+
*/
|
|
13435
13578
|
creationTime: Network.TimeSinceEpoch;
|
|
13579
|
+
/**
|
|
13580
|
+
* Number of key-value pairs stored in origin's shared storage.
|
|
13581
|
+
*/
|
|
13436
13582
|
length: number;
|
|
13583
|
+
/**
|
|
13584
|
+
* Current amount of bits of entropy remaining in the navigation budget.
|
|
13585
|
+
*/
|
|
13437
13586
|
remainingBudget: number;
|
|
13587
|
+
/**
|
|
13588
|
+
* Total number of bytes stored as key-value pairs in origin's shared
|
|
13589
|
+
storage.
|
|
13590
|
+
*/
|
|
13591
|
+
bytesUsed: number;
|
|
13438
13592
|
}
|
|
13439
13593
|
/**
|
|
13440
13594
|
* Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
|
@@ -13536,6 +13690,17 @@ SharedStorageAccessType.workletSet.
|
|
|
13536
13690
|
key: string;
|
|
13537
13691
|
values: string[];
|
|
13538
13692
|
}
|
|
13693
|
+
export interface AttributionReportingFilterConfig {
|
|
13694
|
+
filterValues: AttributionReportingFilterDataEntry[];
|
|
13695
|
+
/**
|
|
13696
|
+
* duration in seconds
|
|
13697
|
+
*/
|
|
13698
|
+
lookbackWindow?: number;
|
|
13699
|
+
}
|
|
13700
|
+
export interface AttributionReportingFilterPair {
|
|
13701
|
+
filters: AttributionReportingFilterConfig[];
|
|
13702
|
+
notFilters: AttributionReportingFilterConfig[];
|
|
13703
|
+
}
|
|
13539
13704
|
export interface AttributionReportingAggregationKeysEntry {
|
|
13540
13705
|
key: string;
|
|
13541
13706
|
value: UnsignedInt128AsBase16;
|
|
@@ -13582,6 +13747,48 @@ int
|
|
|
13582
13747
|
triggerDataMatching: AttributionReportingTriggerDataMatching;
|
|
13583
13748
|
}
|
|
13584
13749
|
export type AttributionReportingSourceRegistrationResult = "success"|"internalError"|"insufficientSourceCapacity"|"insufficientUniqueDestinationCapacity"|"excessiveReportingOrigins"|"prohibitedByBrowserPolicy"|"successNoised"|"destinationReportingLimitReached"|"destinationGlobalLimitReached"|"destinationBothLimitsReached"|"reportingOriginsPerSiteLimitReached"|"exceedsMaxChannelCapacity";
|
|
13750
|
+
export type AttributionReportingSourceRegistrationTimeConfig = "include"|"exclude";
|
|
13751
|
+
export interface AttributionReportingAggregatableValueDictEntry {
|
|
13752
|
+
key: string;
|
|
13753
|
+
/**
|
|
13754
|
+
* number instead of integer because not all uint32 can be represented by
|
|
13755
|
+
int
|
|
13756
|
+
*/
|
|
13757
|
+
value: number;
|
|
13758
|
+
}
|
|
13759
|
+
export interface AttributionReportingAggregatableValueEntry {
|
|
13760
|
+
values: AttributionReportingAggregatableValueDictEntry[];
|
|
13761
|
+
filters: AttributionReportingFilterPair;
|
|
13762
|
+
}
|
|
13763
|
+
export interface AttributionReportingEventTriggerData {
|
|
13764
|
+
data: UnsignedInt64AsBase10;
|
|
13765
|
+
priority: SignedInt64AsBase10;
|
|
13766
|
+
dedupKey?: UnsignedInt64AsBase10;
|
|
13767
|
+
filters: AttributionReportingFilterPair;
|
|
13768
|
+
}
|
|
13769
|
+
export interface AttributionReportingAggregatableTriggerData {
|
|
13770
|
+
keyPiece: UnsignedInt128AsBase16;
|
|
13771
|
+
sourceKeys: string[];
|
|
13772
|
+
filters: AttributionReportingFilterPair;
|
|
13773
|
+
}
|
|
13774
|
+
export interface AttributionReportingAggregatableDedupKey {
|
|
13775
|
+
dedupKey?: UnsignedInt64AsBase10;
|
|
13776
|
+
filters: AttributionReportingFilterPair;
|
|
13777
|
+
}
|
|
13778
|
+
export interface AttributionReportingTriggerRegistration {
|
|
13779
|
+
filters: AttributionReportingFilterPair;
|
|
13780
|
+
debugKey?: UnsignedInt64AsBase10;
|
|
13781
|
+
aggregatableDedupKeys: AttributionReportingAggregatableDedupKey[];
|
|
13782
|
+
eventTriggerData: AttributionReportingEventTriggerData[];
|
|
13783
|
+
aggregatableTriggerData: AttributionReportingAggregatableTriggerData[];
|
|
13784
|
+
aggregatableValues: AttributionReportingAggregatableValueEntry[];
|
|
13785
|
+
debugReporting: boolean;
|
|
13786
|
+
aggregationCoordinatorOrigin?: string;
|
|
13787
|
+
sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
|
|
13788
|
+
triggerContextId?: string;
|
|
13789
|
+
}
|
|
13790
|
+
export type AttributionReportingEventLevelResult = "success"|"successDroppedLowerPriority"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"deduplicated"|"excessiveAttributions"|"priorityTooLow"|"neverAttributedSource"|"excessiveReportingOrigins"|"noMatchingSourceFilterData"|"prohibitedByBrowserPolicy"|"noMatchingConfigurations"|"excessiveReports"|"falselyAttributedSource"|"reportWindowPassed"|"notRegistered"|"reportWindowNotStarted"|"noMatchingTriggerData";
|
|
13791
|
+
export type AttributionReportingAggregatableResult = "success"|"internalError"|"noCapacityForAttributionDestination"|"noMatchingSources"|"excessiveAttributions"|"excessiveReportingOrigins"|"noHistograms"|"insufficientBudget"|"noMatchingSourceFilterData"|"notRegistered"|"prohibitedByBrowserPolicy"|"deduplicated"|"reportWindowPassed"|"excessiveReports";
|
|
13585
13792
|
|
|
13586
13793
|
/**
|
|
13587
13794
|
* A cache's contents have been modified.
|
|
@@ -13664,13 +13871,61 @@ int
|
|
|
13664
13871
|
bucketId: string;
|
|
13665
13872
|
}
|
|
13666
13873
|
/**
|
|
13667
|
-
* One of the interest groups was accessed
|
|
13874
|
+
* One of the interest groups was accessed. Note that these events are global
|
|
13875
|
+
to all targets sharing an interest group store.
|
|
13668
13876
|
*/
|
|
13669
13877
|
export type interestGroupAccessedPayload = {
|
|
13670
13878
|
accessTime: Network.TimeSinceEpoch;
|
|
13671
13879
|
type: InterestGroupAccessType;
|
|
13672
13880
|
ownerOrigin: string;
|
|
13673
13881
|
name: string;
|
|
13882
|
+
/**
|
|
13883
|
+
* For topLevelBid/topLevelAdditionalBid, and when appropriate,
|
|
13884
|
+
win and additionalBidWin
|
|
13885
|
+
*/
|
|
13886
|
+
componentSellerOrigin?: string;
|
|
13887
|
+
/**
|
|
13888
|
+
* For bid or somethingBid event, if done locally and not on a server.
|
|
13889
|
+
*/
|
|
13890
|
+
bid?: number;
|
|
13891
|
+
bidCurrency?: string;
|
|
13892
|
+
/**
|
|
13893
|
+
* For non-global events --- links to interestGroupAuctionEvent
|
|
13894
|
+
*/
|
|
13895
|
+
uniqueAuctionId?: InterestGroupAuctionId;
|
|
13896
|
+
}
|
|
13897
|
+
/**
|
|
13898
|
+
* An auction involving interest groups is taking place. These events are
|
|
13899
|
+
target-specific.
|
|
13900
|
+
*/
|
|
13901
|
+
export type interestGroupAuctionEventOccurredPayload = {
|
|
13902
|
+
eventTime: Network.TimeSinceEpoch;
|
|
13903
|
+
type: InterestGroupAuctionEventType;
|
|
13904
|
+
uniqueAuctionId: InterestGroupAuctionId;
|
|
13905
|
+
/**
|
|
13906
|
+
* Set for child auctions.
|
|
13907
|
+
*/
|
|
13908
|
+
parentAuctionId?: InterestGroupAuctionId;
|
|
13909
|
+
/**
|
|
13910
|
+
* Set for started and configResolved
|
|
13911
|
+
*/
|
|
13912
|
+
auctionConfig?: { [key: string]: string };
|
|
13913
|
+
}
|
|
13914
|
+
/**
|
|
13915
|
+
* Specifies which auctions a particular network fetch may be related to, and
|
|
13916
|
+
in what role. Note that it is not ordered with respect to
|
|
13917
|
+
Network.requestWillBeSent (but will happen before loadingFinished
|
|
13918
|
+
loadingFailed).
|
|
13919
|
+
*/
|
|
13920
|
+
export type interestGroupAuctionNetworkRequestCreatedPayload = {
|
|
13921
|
+
type: InterestGroupAuctionFetchType;
|
|
13922
|
+
requestId: Network.RequestId;
|
|
13923
|
+
/**
|
|
13924
|
+
* This is the set of the auctions using the worklet that issued this
|
|
13925
|
+
request. In the case of trusted signals, it's possible that only some of
|
|
13926
|
+
them actually care about the keys being queried.
|
|
13927
|
+
*/
|
|
13928
|
+
auctions: InterestGroupAuctionId[];
|
|
13674
13929
|
}
|
|
13675
13930
|
/**
|
|
13676
13931
|
* Shared storage was accessed by the associated page.
|
|
@@ -13694,7 +13949,7 @@ The following parameters are included in all events.
|
|
|
13694
13949
|
*/
|
|
13695
13950
|
ownerOrigin: string;
|
|
13696
13951
|
/**
|
|
13697
|
-
* The sub-parameters
|
|
13952
|
+
* The sub-parameters wrapped by `params` are all optional and their
|
|
13698
13953
|
presence/absence depends on `type`.
|
|
13699
13954
|
*/
|
|
13700
13955
|
params: SharedStorageAccessParams;
|
|
@@ -13705,14 +13960,15 @@ presence/absence depends on `type`.
|
|
|
13705
13960
|
export type storageBucketDeletedPayload = {
|
|
13706
13961
|
bucketId: string;
|
|
13707
13962
|
}
|
|
13708
|
-
/**
|
|
13709
|
-
* TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.
|
|
13710
|
-
trigger registration.
|
|
13711
|
-
*/
|
|
13712
13963
|
export type attributionReportingSourceRegisteredPayload = {
|
|
13713
13964
|
registration: AttributionReportingSourceRegistration;
|
|
13714
13965
|
result: AttributionReportingSourceRegistrationResult;
|
|
13715
13966
|
}
|
|
13967
|
+
export type attributionReportingTriggerRegisteredPayload = {
|
|
13968
|
+
registration: AttributionReportingTriggerRegistration;
|
|
13969
|
+
eventLevel: AttributionReportingEventLevelResult;
|
|
13970
|
+
aggregatable: AttributionReportingAggregatableResult;
|
|
13971
|
+
}
|
|
13716
13972
|
|
|
13717
13973
|
/**
|
|
13718
13974
|
* Returns a storage key given a frame id.
|
|
@@ -13970,6 +14226,15 @@ Leaves other stored data, including the issuer's Redemption Records, intact.
|
|
|
13970
14226
|
}
|
|
13971
14227
|
export type setInterestGroupTrackingReturnValue = {
|
|
13972
14228
|
}
|
|
14229
|
+
/**
|
|
14230
|
+
* Enables/Disables issuing of interestGroupAuctionEventOccurred and
|
|
14231
|
+
interestGroupAuctionNetworkRequestCreated.
|
|
14232
|
+
*/
|
|
14233
|
+
export type setInterestGroupAuctionTrackingParameters = {
|
|
14234
|
+
enable: boolean;
|
|
14235
|
+
}
|
|
14236
|
+
export type setInterestGroupAuctionTrackingReturnValue = {
|
|
14237
|
+
}
|
|
13973
14238
|
/**
|
|
13974
14239
|
* Gets metadata for an origin's shared storage.
|
|
13975
14240
|
*/
|
|
@@ -14318,6 +14583,9 @@ supported.
|
|
|
14318
14583
|
export interface TargetInfo {
|
|
14319
14584
|
targetId: TargetID;
|
|
14320
14585
|
type: string;
|
|
14586
|
+
/**
|
|
14587
|
+
* List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22
|
|
14588
|
+
*/
|
|
14321
14589
|
title: string;
|
|
14322
14590
|
url: string;
|
|
14323
14591
|
/**
|
|
@@ -14348,7 +14616,7 @@ the type of "page", this may be set to "portal" or "prerender".
|
|
|
14348
14616
|
*/
|
|
14349
14617
|
export interface FilterEntry {
|
|
14350
14618
|
/**
|
|
14351
|
-
* If set, causes exclusion of
|
|
14619
|
+
* If set, causes exclusion of matching targets from the list.
|
|
14352
14620
|
*/
|
|
14353
14621
|
exclude?: boolean;
|
|
14354
14622
|
/**
|
|
@@ -14499,7 +14767,7 @@ channel with browser target.
|
|
|
14499
14767
|
|
|
14500
14768
|
Injected object will be available as `window[bindingName]`.
|
|
14501
14769
|
|
|
14502
|
-
The object has the
|
|
14770
|
+
The object has the following API:
|
|
14503
14771
|
- `binding.send(json)` - a method to send messages over the remote debugging protocol
|
|
14504
14772
|
- `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
|
|
14505
14773
|
*/
|
|
@@ -15712,6 +15980,18 @@ See https://w3c.github.io/webauthn/#signature-counter
|
|
|
15712
15980
|
See https://w3c.github.io/webauthn/#sctn-large-blob-extension
|
|
15713
15981
|
*/
|
|
15714
15982
|
largeBlob?: binary;
|
|
15983
|
+
/**
|
|
15984
|
+
* Assertions returned by this credential will have the backup eligibility
|
|
15985
|
+
(BE) flag set to this value. Defaults to the authenticator's
|
|
15986
|
+
defaultBackupEligibility value.
|
|
15987
|
+
*/
|
|
15988
|
+
backupEligibility?: boolean;
|
|
15989
|
+
/**
|
|
15990
|
+
* Assertions returned by this credential will have the backup state (BS)
|
|
15991
|
+
flag set to this value. Defaults to the authenticator's
|
|
15992
|
+
defaultBackupState value.
|
|
15993
|
+
*/
|
|
15994
|
+
backupState?: boolean;
|
|
15715
15995
|
}
|
|
15716
15996
|
|
|
15717
15997
|
/**
|
|
@@ -15858,6 +16138,18 @@ The default is true.
|
|
|
15858
16138
|
}
|
|
15859
16139
|
export type setAutomaticPresenceSimulationReturnValue = {
|
|
15860
16140
|
}
|
|
16141
|
+
/**
|
|
16142
|
+
* Allows setting credential properties.
|
|
16143
|
+
https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
|
|
16144
|
+
*/
|
|
16145
|
+
export type setCredentialPropertiesParameters = {
|
|
16146
|
+
authenticatorId: AuthenticatorId;
|
|
16147
|
+
credentialId: binary;
|
|
16148
|
+
backupEligibility?: boolean;
|
|
16149
|
+
backupState?: boolean;
|
|
16150
|
+
}
|
|
16151
|
+
export type setCredentialPropertiesReturnValue = {
|
|
16152
|
+
}
|
|
15861
16153
|
}
|
|
15862
16154
|
|
|
15863
16155
|
/**
|
|
@@ -16093,7 +16385,7 @@ See also:
|
|
|
16093
16385
|
requestId?: Network.RequestId;
|
|
16094
16386
|
/**
|
|
16095
16387
|
* Error information
|
|
16096
|
-
`errorMessage` is null
|
|
16388
|
+
`errorMessage` is null if `errorType` is null.
|
|
16097
16389
|
*/
|
|
16098
16390
|
errorType?: RuleSetErrorType;
|
|
16099
16391
|
/**
|
|
@@ -16132,7 +16424,7 @@ still keyed with the initial URL.
|
|
|
16132
16424
|
that had a speculation rule that triggered the attempt, and the
|
|
16133
16425
|
BackendNodeIds of <a href> or <area href> elements that triggered the
|
|
16134
16426
|
attempt (in the case of attempts triggered by a document rule). It is
|
|
16135
|
-
possible for
|
|
16427
|
+
possible for multiple rule sets and links to trigger a single attempt.
|
|
16136
16428
|
*/
|
|
16137
16429
|
export interface PreloadingAttemptSource {
|
|
16138
16430
|
key: PreloadingAttemptKey;
|
|
@@ -16152,7 +16444,7 @@ status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
|
|
16152
16444
|
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
|
|
16153
16445
|
filter out the ones that aren't necessary to the developers.
|
|
16154
16446
|
*/
|
|
16155
|
-
export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchFailedPerPageLimitExceeded"|"
|
|
16447
|
+
export type PrefetchStatus = "PrefetchAllowed"|"PrefetchFailedIneligibleRedirect"|"PrefetchFailedInvalidRedirect"|"PrefetchFailedMIMENotSupported"|"PrefetchFailedNetError"|"PrefetchFailedNon2XX"|"PrefetchFailedPerPageLimitExceeded"|"PrefetchEvictedAfterCandidateRemoved"|"PrefetchEvictedForNewerPrefetch"|"PrefetchHeldback"|"PrefetchIneligibleRetryAfter"|"PrefetchIsPrivacyDecoy"|"PrefetchIsStale"|"PrefetchNotEligibleBrowserContextOffTheRecord"|"PrefetchNotEligibleDataSaverEnabled"|"PrefetchNotEligibleExistingProxy"|"PrefetchNotEligibleHostIsNonUnique"|"PrefetchNotEligibleNonDefaultStoragePartition"|"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy"|"PrefetchNotEligibleSchemeIsNotHttps"|"PrefetchNotEligibleUserHasCookies"|"PrefetchNotEligibleUserHasServiceWorker"|"PrefetchNotEligibleBatterySaverEnabled"|"PrefetchNotEligiblePreloadingDisabled"|"PrefetchNotFinishedInTime"|"PrefetchNotStarted"|"PrefetchNotUsedCookiesChanged"|"PrefetchProxyNotAvailable"|"PrefetchResponseUsed"|"PrefetchSuccessfulButNotUsed"|"PrefetchNotUsedProbeFailed";
|
|
16156
16448
|
/**
|
|
16157
16449
|
* Information of headers to be displayed when the header mismatch occurred.
|
|
16158
16450
|
*/
|
|
@@ -16244,6 +16536,10 @@ whether this account has ever been used to sign in to this RP before.
|
|
|
16244
16536
|
* The buttons on the FedCM dialog.
|
|
16245
16537
|
*/
|
|
16246
16538
|
export type DialogButton = "ConfirmIdpLoginContinue"|"ErrorGotIt"|"ErrorMoreDetails";
|
|
16539
|
+
/**
|
|
16540
|
+
* The URLs that each account has
|
|
16541
|
+
*/
|
|
16542
|
+
export type AccountUrlType = "TermsOfService"|"PrivacyPolicy";
|
|
16247
16543
|
/**
|
|
16248
16544
|
* Corresponds to IdentityRequestAccount
|
|
16249
16545
|
*/
|
|
@@ -16308,6 +16604,13 @@ normally happen, if this is unimportant to what's being tested.
|
|
|
16308
16604
|
}
|
|
16309
16605
|
export type clickDialogButtonReturnValue = {
|
|
16310
16606
|
}
|
|
16607
|
+
export type openUrlParameters = {
|
|
16608
|
+
dialogId: string;
|
|
16609
|
+
accountIndex: number;
|
|
16610
|
+
accountUrlType: AccountUrlType;
|
|
16611
|
+
}
|
|
16612
|
+
export type openUrlReturnValue = {
|
|
16613
|
+
}
|
|
16311
16614
|
export type dismissDialogParameters = {
|
|
16312
16615
|
dialogId: string;
|
|
16313
16616
|
triggerCooldown?: boolean;
|
|
@@ -19076,10 +19379,13 @@ Error was thrown.
|
|
|
19076
19379
|
"Storage.indexedDBContentUpdated": Storage.indexedDBContentUpdatedPayload;
|
|
19077
19380
|
"Storage.indexedDBListUpdated": Storage.indexedDBListUpdatedPayload;
|
|
19078
19381
|
"Storage.interestGroupAccessed": Storage.interestGroupAccessedPayload;
|
|
19382
|
+
"Storage.interestGroupAuctionEventOccurred": Storage.interestGroupAuctionEventOccurredPayload;
|
|
19383
|
+
"Storage.interestGroupAuctionNetworkRequestCreated": Storage.interestGroupAuctionNetworkRequestCreatedPayload;
|
|
19079
19384
|
"Storage.sharedStorageAccessed": Storage.sharedStorageAccessedPayload;
|
|
19080
19385
|
"Storage.storageBucketCreatedOrUpdated": Storage.storageBucketCreatedOrUpdatedPayload;
|
|
19081
19386
|
"Storage.storageBucketDeleted": Storage.storageBucketDeletedPayload;
|
|
19082
19387
|
"Storage.attributionReportingSourceRegistered": Storage.attributionReportingSourceRegisteredPayload;
|
|
19388
|
+
"Storage.attributionReportingTriggerRegistered": Storage.attributionReportingTriggerRegisteredPayload;
|
|
19083
19389
|
"Target.attachedToTarget": Target.attachedToTargetPayload;
|
|
19084
19390
|
"Target.detachedFromTarget": Target.detachedFromTargetPayload;
|
|
19085
19391
|
"Target.receivedMessageFromTarget": Target.receivedMessageFromTargetPayload;
|
|
@@ -19430,6 +19736,7 @@ Error was thrown.
|
|
|
19430
19736
|
"Network.setAttachDebugStack": Network.setAttachDebugStackParameters;
|
|
19431
19737
|
"Network.setRequestInterception": Network.setRequestInterceptionParameters;
|
|
19432
19738
|
"Network.setUserAgentOverride": Network.setUserAgentOverrideParameters;
|
|
19739
|
+
"Network.streamResourceContent": Network.streamResourceContentParameters;
|
|
19433
19740
|
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
|
|
19434
19741
|
"Network.enableReportingApi": Network.enableReportingApiParameters;
|
|
19435
19742
|
"Network.loadNetworkResource": Network.loadNetworkResourceParameters;
|
|
@@ -19565,6 +19872,7 @@ Error was thrown.
|
|
|
19565
19872
|
"Storage.clearTrustTokens": Storage.clearTrustTokensParameters;
|
|
19566
19873
|
"Storage.getInterestGroupDetails": Storage.getInterestGroupDetailsParameters;
|
|
19567
19874
|
"Storage.setInterestGroupTracking": Storage.setInterestGroupTrackingParameters;
|
|
19875
|
+
"Storage.setInterestGroupAuctionTracking": Storage.setInterestGroupAuctionTrackingParameters;
|
|
19568
19876
|
"Storage.getSharedStorageMetadata": Storage.getSharedStorageMetadataParameters;
|
|
19569
19877
|
"Storage.getSharedStorageEntries": Storage.getSharedStorageEntriesParameters;
|
|
19570
19878
|
"Storage.setSharedStorageEntry": Storage.setSharedStorageEntryParameters;
|
|
@@ -19628,6 +19936,7 @@ Error was thrown.
|
|
|
19628
19936
|
"WebAuthn.clearCredentials": WebAuthn.clearCredentialsParameters;
|
|
19629
19937
|
"WebAuthn.setUserVerified": WebAuthn.setUserVerifiedParameters;
|
|
19630
19938
|
"WebAuthn.setAutomaticPresenceSimulation": WebAuthn.setAutomaticPresenceSimulationParameters;
|
|
19939
|
+
"WebAuthn.setCredentialProperties": WebAuthn.setCredentialPropertiesParameters;
|
|
19631
19940
|
"Media.enable": Media.enableParameters;
|
|
19632
19941
|
"Media.disable": Media.disableParameters;
|
|
19633
19942
|
"DeviceAccess.enable": DeviceAccess.enableParameters;
|
|
@@ -19640,6 +19949,7 @@ Error was thrown.
|
|
|
19640
19949
|
"FedCm.disable": FedCm.disableParameters;
|
|
19641
19950
|
"FedCm.selectAccount": FedCm.selectAccountParameters;
|
|
19642
19951
|
"FedCm.clickDialogButton": FedCm.clickDialogButtonParameters;
|
|
19952
|
+
"FedCm.openUrl": FedCm.openUrlParameters;
|
|
19643
19953
|
"FedCm.dismissDialog": FedCm.dismissDialogParameters;
|
|
19644
19954
|
"FedCm.resetCooldown": FedCm.resetCooldownParameters;
|
|
19645
19955
|
"Console.clearMessages": Console.clearMessagesParameters;
|
|
@@ -20008,6 +20318,7 @@ Error was thrown.
|
|
|
20008
20318
|
"Network.setAttachDebugStack": Network.setAttachDebugStackReturnValue;
|
|
20009
20319
|
"Network.setRequestInterception": Network.setRequestInterceptionReturnValue;
|
|
20010
20320
|
"Network.setUserAgentOverride": Network.setUserAgentOverrideReturnValue;
|
|
20321
|
+
"Network.streamResourceContent": Network.streamResourceContentReturnValue;
|
|
20011
20322
|
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
|
|
20012
20323
|
"Network.enableReportingApi": Network.enableReportingApiReturnValue;
|
|
20013
20324
|
"Network.loadNetworkResource": Network.loadNetworkResourceReturnValue;
|
|
@@ -20143,6 +20454,7 @@ Error was thrown.
|
|
|
20143
20454
|
"Storage.clearTrustTokens": Storage.clearTrustTokensReturnValue;
|
|
20144
20455
|
"Storage.getInterestGroupDetails": Storage.getInterestGroupDetailsReturnValue;
|
|
20145
20456
|
"Storage.setInterestGroupTracking": Storage.setInterestGroupTrackingReturnValue;
|
|
20457
|
+
"Storage.setInterestGroupAuctionTracking": Storage.setInterestGroupAuctionTrackingReturnValue;
|
|
20146
20458
|
"Storage.getSharedStorageMetadata": Storage.getSharedStorageMetadataReturnValue;
|
|
20147
20459
|
"Storage.getSharedStorageEntries": Storage.getSharedStorageEntriesReturnValue;
|
|
20148
20460
|
"Storage.setSharedStorageEntry": Storage.setSharedStorageEntryReturnValue;
|
|
@@ -20206,6 +20518,7 @@ Error was thrown.
|
|
|
20206
20518
|
"WebAuthn.clearCredentials": WebAuthn.clearCredentialsReturnValue;
|
|
20207
20519
|
"WebAuthn.setUserVerified": WebAuthn.setUserVerifiedReturnValue;
|
|
20208
20520
|
"WebAuthn.setAutomaticPresenceSimulation": WebAuthn.setAutomaticPresenceSimulationReturnValue;
|
|
20521
|
+
"WebAuthn.setCredentialProperties": WebAuthn.setCredentialPropertiesReturnValue;
|
|
20209
20522
|
"Media.enable": Media.enableReturnValue;
|
|
20210
20523
|
"Media.disable": Media.disableReturnValue;
|
|
20211
20524
|
"DeviceAccess.enable": DeviceAccess.enableReturnValue;
|
|
@@ -20218,6 +20531,7 @@ Error was thrown.
|
|
|
20218
20531
|
"FedCm.disable": FedCm.disableReturnValue;
|
|
20219
20532
|
"FedCm.selectAccount": FedCm.selectAccountReturnValue;
|
|
20220
20533
|
"FedCm.clickDialogButton": FedCm.clickDialogButtonReturnValue;
|
|
20534
|
+
"FedCm.openUrl": FedCm.openUrlReturnValue;
|
|
20221
20535
|
"FedCm.dismissDialog": FedCm.dismissDialogReturnValue;
|
|
20222
20536
|
"FedCm.resetCooldown": FedCm.resetCooldownReturnValue;
|
|
20223
20537
|
"Console.clearMessages": Console.clearMessagesReturnValue;
|