1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.
//! The `ServiceWorker` domain.
//!
//! Method names for the `ServiceWorker` domain, for use with
//! [`CdpClient::call`](crate::CdpClient::call).
//!
//! This domain is experimental and may change without notice.
/// `ServiceWorker.deliverPushMessage`
///
/// Parameters:
/// - `origin`: string
/// - `registrationId`: RegistrationID
/// - `data`: string
pub const DELIVER_PUSH_MESSAGE: &str = "ServiceWorker.deliverPushMessage";
/// `ServiceWorker.disable`
pub const DISABLE: &str = "ServiceWorker.disable";
/// `ServiceWorker.dispatchSyncEvent`
///
/// Parameters:
/// - `origin`: string
/// - `registrationId`: RegistrationID
/// - `tag`: string
/// - `lastChance`: boolean
pub const DISPATCH_SYNC_EVENT: &str = "ServiceWorker.dispatchSyncEvent";
/// `ServiceWorker.dispatchPeriodicSyncEvent`
///
/// Parameters:
/// - `origin`: string
/// - `registrationId`: RegistrationID
/// - `tag`: string
pub const DISPATCH_PERIODIC_SYNC_EVENT: &str = "ServiceWorker.dispatchPeriodicSyncEvent";
/// `ServiceWorker.enable`
pub const ENABLE: &str = "ServiceWorker.enable";
/// `ServiceWorker.setForceUpdateOnPageLoad`
///
/// Parameters:
/// - `forceUpdateOnPageLoad`: boolean
pub const SET_FORCE_UPDATE_ON_PAGE_LOAD: &str = "ServiceWorker.setForceUpdateOnPageLoad";
/// `ServiceWorker.skipWaiting`
///
/// Parameters:
/// - `scopeURL`: string
pub const SKIP_WAITING: &str = "ServiceWorker.skipWaiting";
/// `ServiceWorker.startWorker`
///
/// Parameters:
/// - `scopeURL`: string
pub const START_WORKER: &str = "ServiceWorker.startWorker";
/// `ServiceWorker.stopAllWorkers`
pub const STOP_ALL_WORKERS: &str = "ServiceWorker.stopAllWorkers";
/// `ServiceWorker.stopWorker`
///
/// Parameters:
/// - `versionId`: string
pub const STOP_WORKER: &str = "ServiceWorker.stopWorker";
/// `ServiceWorker.unregister`
///
/// Parameters:
/// - `scopeURL`: string
pub const UNREGISTER: &str = "ServiceWorker.unregister";
/// `ServiceWorker.updateRegistration`
///
/// Parameters:
/// - `scopeURL`: string
pub const UPDATE_REGISTRATION: &str = "ServiceWorker.updateRegistration";