devtools-protocol 0.0.1498597 → 0.0.1501779

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.
Files changed (55) hide show
  1. package/json/browser_protocol.json +17960 -17689
  2. package/json/js_protocol.json +6 -0
  3. package/package.json +1 -1
  4. package/pdl/browser_protocol.pdl +47 -13824
  5. package/pdl/domains/Accessibility.pdl +290 -0
  6. package/pdl/domains/Animation.pdl +195 -0
  7. package/pdl/domains/Audits.pdl +755 -0
  8. package/pdl/domains/Autofill.pdl +106 -0
  9. package/pdl/domains/BackgroundService.pdl +77 -0
  10. package/pdl/domains/BluetoothEmulation.pdl +227 -0
  11. package/pdl/domains/Browser.pdl +345 -0
  12. package/pdl/domains/CSS.pdl +996 -0
  13. package/pdl/domains/CacheStorage.pdl +125 -0
  14. package/pdl/domains/Cast.pdl +62 -0
  15. package/pdl/domains/DOM.pdl +932 -0
  16. package/pdl/domains/DOMDebugger.pdl +128 -0
  17. package/pdl/domains/DOMSnapshot.pdl +319 -0
  18. package/pdl/domains/DOMStorage.pdl +72 -0
  19. package/pdl/domains/DeviceAccess.pdl +43 -0
  20. package/pdl/domains/DeviceOrientation.pdl +20 -0
  21. package/pdl/domains/Emulation.pdl +608 -0
  22. package/pdl/domains/EventBreakpoints.pdl +24 -0
  23. package/pdl/domains/Extensions.pdl +72 -0
  24. package/pdl/domains/FedCm.pdl +100 -0
  25. package/pdl/domains/Fetch.pdl +251 -0
  26. package/pdl/domains/FileSystem.pdl +41 -0
  27. package/pdl/domains/HeadlessExperimental.pdl +56 -0
  28. package/pdl/domains/IO.pdl +45 -0
  29. package/pdl/domains/IndexedDB.pdl +226 -0
  30. package/pdl/domains/Input.pdl +336 -0
  31. package/pdl/domains/Inspector.pdl +25 -0
  32. package/pdl/domains/LayerTree.pdl +178 -0
  33. package/pdl/domains/Log.pdl +93 -0
  34. package/pdl/domains/Media.pdl +106 -0
  35. package/pdl/domains/Memory.pdl +112 -0
  36. package/pdl/domains/Network.pdl +2039 -0
  37. package/pdl/domains/Overlay.pdl +498 -0
  38. package/pdl/domains/PWA.pdl +142 -0
  39. package/pdl/domains/Page.pdl +1767 -0
  40. package/pdl/domains/Performance.pdl +54 -0
  41. package/pdl/domains/PerformanceTimeline.pdl +71 -0
  42. package/pdl/domains/Preload.pdl +290 -0
  43. package/pdl/domains/Security.pdl +196 -0
  44. package/pdl/domains/ServiceWorker.pdl +121 -0
  45. package/pdl/domains/Storage.pdl +913 -0
  46. package/pdl/domains/SystemInfo.pdl +145 -0
  47. package/pdl/domains/Target.pdl +327 -0
  48. package/pdl/domains/Tethering.pdl +28 -0
  49. package/pdl/domains/Tracing.pdl +157 -0
  50. package/pdl/domains/WebAudio.pdl +205 -0
  51. package/pdl/domains/WebAuthn.pdl +230 -0
  52. package/types/protocol-mapping.d.ts +992 -615
  53. package/types/protocol-proxy-api.d.ts +543 -522
  54. package/types/protocol-tests-proxy-api.d.ts +628 -607
  55. package/types/protocol.d.ts +8059 -7903
@@ -0,0 +1,121 @@
1
+ # Copyright 2017 The Chromium Authors
2
+ # Use of this source code is governed by a BSD-style license that can be
3
+ # found in the LICENSE file.
4
+ #
5
+ # Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
6
+
7
+ experimental domain ServiceWorker
8
+ depends on Target
9
+
10
+ type RegistrationID extends string
11
+
12
+ # ServiceWorker registration.
13
+ type ServiceWorkerRegistration extends object
14
+ properties
15
+ RegistrationID registrationId
16
+ string scopeURL
17
+ boolean isDeleted
18
+
19
+ type ServiceWorkerVersionRunningStatus extends string
20
+ enum
21
+ stopped
22
+ starting
23
+ running
24
+ stopping
25
+
26
+ type ServiceWorkerVersionStatus extends string
27
+ enum
28
+ new
29
+ installing
30
+ installed
31
+ activating
32
+ activated
33
+ redundant
34
+
35
+ # ServiceWorker version.
36
+ type ServiceWorkerVersion extends object
37
+ properties
38
+ string versionId
39
+ RegistrationID registrationId
40
+ string scriptURL
41
+ ServiceWorkerVersionRunningStatus runningStatus
42
+ ServiceWorkerVersionStatus status
43
+ # The Last-Modified header value of the main script.
44
+ optional number scriptLastModified
45
+ # The time at which the response headers of the main script were received from the server.
46
+ # For cached script it is the last time the cache entry was validated.
47
+ optional number scriptResponseTime
48
+ optional array of Target.TargetID controlledClients
49
+ optional Target.TargetID targetId
50
+ optional string routerRules
51
+
52
+ # ServiceWorker error message.
53
+ type ServiceWorkerErrorMessage extends object
54
+ properties
55
+ string errorMessage
56
+ RegistrationID registrationId
57
+ string versionId
58
+ string sourceURL
59
+ integer lineNumber
60
+ integer columnNumber
61
+
62
+ command deliverPushMessage
63
+ parameters
64
+ string origin
65
+ RegistrationID registrationId
66
+ string data
67
+
68
+ command disable
69
+
70
+ command dispatchSyncEvent
71
+ parameters
72
+ string origin
73
+ RegistrationID registrationId
74
+ string tag
75
+ boolean lastChance
76
+
77
+ command dispatchPeriodicSyncEvent
78
+ parameters
79
+ string origin
80
+ RegistrationID registrationId
81
+ string tag
82
+
83
+ command enable
84
+
85
+ command setForceUpdateOnPageLoad
86
+ parameters
87
+ boolean forceUpdateOnPageLoad
88
+
89
+ command skipWaiting
90
+ parameters
91
+ string scopeURL
92
+
93
+ command startWorker
94
+ parameters
95
+ string scopeURL
96
+
97
+ command stopAllWorkers
98
+
99
+ command stopWorker
100
+ parameters
101
+ string versionId
102
+
103
+ command unregister
104
+ parameters
105
+ string scopeURL
106
+
107
+ command updateRegistration
108
+ parameters
109
+ string scopeURL
110
+
111
+ event workerErrorReported
112
+ parameters
113
+ ServiceWorkerErrorMessage errorMessage
114
+
115
+ event workerRegistrationUpdated
116
+ parameters
117
+ array of ServiceWorkerRegistration registrations
118
+
119
+ event workerVersionUpdated
120
+ parameters
121
+ array of ServiceWorkerVersion versions