Skip to content

Commit 039ed51

Browse files
authored
Add script to get service worker globals (#281)
1 parent 8a43ab6 commit 039ed51

6 files changed

+446
-63
lines changed

data/serviceworker.mjs

+172-15
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,118 @@
1+
// This file is autogenerated by scripts
2+
// Do NOT modify this file manually
3+
14
export default {
5+
AbortController: false,
6+
AbortPaymentEvent: false,
7+
AbortSignal: false,
28
addEventListener: false,
3-
applicationCache: false,
49
atob: false,
10+
BackgroundFetchEvent: false,
11+
BackgroundFetchManager: false,
12+
BackgroundFetchRecord: false,
13+
BackgroundFetchRegistration: false,
14+
BackgroundFetchUpdateUIEvent: false,
515
Blob: false,
616
BroadcastChannel: false,
717
btoa: false,
818
ByteLengthQueuingStrategy: false,
919
Cache: false,
1020
caches: false,
1121
CacheStorage: false,
22+
CanMakePaymentEvent: false,
23+
CanvasGradient: false,
24+
CanvasPattern: false,
1225
clearInterval: false,
1326
clearTimeout: false,
1427
Client: false,
1528
clients: false,
1629
Clients: false,
17-
close: true,
30+
CloseEvent: false,
1831
CompressionStream: false,
1932
console: false,
33+
cookieStore: false,
34+
CookieStore: false,
35+
CookieStoreManager: false,
2036
CountQueuingStrategy: false,
37+
createImageBitmap: false,
38+
CropTarget: false,
39+
crossOriginIsolated: false,
2140
crypto: false,
2241
Crypto: false,
2342
CryptoKey: false,
43+
CSSSkewX: false,
44+
CSSSkewY: false,
2445
CustomEvent: false,
2546
DecompressionStream: false,
47+
dispatchEvent: false,
48+
DOMException: false,
49+
DOMMatrix: false,
50+
DOMMatrixReadOnly: false,
51+
DOMPoint: false,
52+
DOMPointReadOnly: false,
53+
DOMQuad: false,
54+
DOMRect: false,
55+
DOMRectReadOnly: false,
56+
DOMStringList: false,
2657
ErrorEvent: false,
2758
Event: false,
59+
EventSource: false,
60+
EventTarget: false,
61+
ExtendableCookieChangeEvent: false,
2862
ExtendableEvent: false,
2963
ExtendableMessageEvent: false,
3064
fetch: false,
3165
FetchEvent: false,
3266
File: false,
33-
FileReaderSync: false,
67+
FileList: false,
68+
FileReader: false,
69+
FileSystemDirectoryHandle: false,
70+
FileSystemFileHandle: false,
71+
FileSystemHandle: false,
72+
FileSystemWritableFileStream: false,
73+
FontFace: false,
74+
fonts: false,
3475
FormData: false,
76+
GPU: false,
77+
GPUAdapter: false,
78+
GPUAdapterInfo: false,
79+
GPUBindGroup: false,
80+
GPUBindGroupLayout: false,
81+
GPUBuffer: false,
82+
GPUBufferUsage: false,
83+
GPUCanvasContext: false,
84+
GPUColorWrite: false,
85+
GPUCommandBuffer: false,
86+
GPUCommandEncoder: false,
87+
GPUCompilationInfo: false,
88+
GPUCompilationMessage: false,
89+
GPUComputePassEncoder: false,
90+
GPUComputePipeline: false,
91+
GPUDevice: false,
92+
GPUDeviceLostInfo: false,
93+
GPUError: false,
94+
GPUExternalTexture: false,
95+
GPUInternalError: false,
96+
GPUMapMode: false,
97+
GPUOutOfMemoryError: false,
98+
GPUPipelineError: false,
99+
GPUPipelineLayout: false,
100+
GPUQuerySet: false,
101+
GPUQueue: false,
102+
GPURenderBundle: false,
103+
GPURenderBundleEncoder: false,
104+
GPURenderPassEncoder: false,
105+
GPURenderPipeline: false,
106+
GPUSampler: false,
107+
GPUShaderModule: false,
108+
GPUShaderStage: false,
109+
GPUSupportedFeatures: false,
110+
GPUSupportedLimits: false,
111+
GPUTexture: false,
112+
GPUTextureUsage: false,
113+
GPUTextureView: false,
114+
GPUUncapturedErrorEvent: false,
115+
GPUValidationError: false,
35116
Headers: false,
36117
IDBCursor: false,
37118
IDBCursorWithValue: false,
@@ -44,18 +125,36 @@ export default {
44125
IDBRequest: false,
45126
IDBTransaction: false,
46127
IDBVersionChangeEvent: false,
128+
ImageBitmap: false,
129+
ImageBitmapRenderingContext: false,
47130
ImageData: false,
48131
importScripts: false,
49132
indexedDB: false,
133+
InstallEvent: false,
134+
isSecureContext: false,
50135
location: false,
136+
Lock: false,
137+
LockManager: false,
138+
MediaCapabilities: false,
51139
MessageChannel: false,
52140
MessageEvent: false,
53141
MessagePort: false,
54-
name: false,
142+
NavigationPreloadManager: false,
55143
navigator: false,
144+
NavigatorUAData: false,
145+
NetworkInformation: false,
56146
Notification: false,
57-
onclose: true,
58-
onconnect: true,
147+
NotificationEvent: false,
148+
OffscreenCanvas: false,
149+
OffscreenCanvasRenderingContext2D: false,
150+
onabortpayment: true,
151+
onactivate: true,
152+
onbackgroundfetchabort: true,
153+
onbackgroundfetchclick: true,
154+
onbackgroundfetchfail: true,
155+
onbackgroundfetchsuccess: true,
156+
oncanmakepayment: true,
157+
oncookiechange: true,
59158
onerror: true,
60159
onfetch: true,
61160
oninstall: true,
@@ -64,24 +163,35 @@ export default {
64163
onmessageerror: true,
65164
onnotificationclick: true,
66165
onnotificationclose: true,
67-
onoffline: true,
68-
ononline: true,
166+
onpaymentrequest: true,
167+
onperiodicsync: true,
69168
onpush: true,
70169
onpushsubscriptionchange: true,
71170
onrejectionhandled: true,
72171
onsync: true,
73172
onunhandledrejection: true,
173+
origin: false,
174+
Path2D: false,
175+
PaymentRequestEvent: false,
74176
performance: false,
75177
Performance: false,
76178
PerformanceEntry: false,
77179
PerformanceMark: false,
78180
PerformanceMeasure: false,
79-
PerformanceNavigation: false,
80181
PerformanceObserver: false,
81182
PerformanceObserverEntryList: false,
82183
PerformanceResourceTiming: false,
83-
PerformanceTiming: false,
84-
postMessage: true,
184+
PerformanceServerTiming: false,
185+
PeriodicSyncEvent: false,
186+
PeriodicSyncManager: false,
187+
Permissions: false,
188+
PermissionStatus: false,
189+
PromiseRejectionEvent: false,
190+
PushEvent: false,
191+
PushManager: false,
192+
PushMessageData: false,
193+
PushSubscription: false,
194+
PushSubscriptionOptions: false,
85195
queueMicrotask: false,
86196
ReadableByteStreamController: false,
87197
ReadableStream: false,
@@ -91,33 +201,80 @@ export default {
91201
ReadableStreamDefaultReader: false,
92202
registration: false,
93203
removeEventListener: false,
204+
reportError: false,
205+
ReportingObserver: false,
94206
Request: false,
95207
Response: false,
208+
scheduler: false,
209+
Scheduler: false,
210+
SecurityPolicyViolationEvent: false,
96211
self: false,
212+
serviceWorker: false,
97213
ServiceWorker: false,
98-
ServiceWorkerContainer: false,
99214
ServiceWorkerGlobalScope: false,
100-
ServiceWorkerMessageEvent: false,
101215
ServiceWorkerRegistration: false,
102216
setInterval: false,
103217
setTimeout: false,
104218
skipWaiting: false,
219+
StorageBucket: false,
220+
StorageBucketManager: false,
221+
StorageManager: false,
222+
structuredClone: false,
105223
SubtleCrypto: false,
224+
SyncEvent: false,
225+
SyncManager: false,
226+
TaskController: false,
227+
TaskPriorityChangeEvent: false,
228+
TaskSignal: false,
106229
TextDecoder: false,
107230
TextDecoderStream: false,
108231
TextEncoder: false,
109232
TextEncoderStream: false,
233+
TextMetrics: false,
110234
TransformStream: false,
111235
TransformStreamDefaultController: false,
236+
TrustedHTML: false,
237+
TrustedScript: false,
238+
TrustedScriptURL: false,
239+
TrustedTypePolicy: false,
240+
TrustedTypePolicyFactory: false,
241+
trustedTypes: false,
112242
URL: false,
243+
URLPattern: false,
113244
URLSearchParams: false,
245+
UserActivation: false,
114246
WebAssembly: false,
247+
WebGL2RenderingContext: false,
248+
WebGLActiveInfo: false,
249+
WebGLBuffer: false,
250+
WebGLContextEvent: false,
251+
WebGLFramebuffer: false,
252+
WebGLObject: false,
253+
WebGLProgram: false,
254+
WebGLQuery: false,
255+
WebGLRenderbuffer: false,
256+
WebGLRenderingContext: false,
257+
WebGLSampler: false,
258+
WebGLShader: false,
259+
WebGLShaderPrecisionFormat: false,
260+
WebGLSync: false,
261+
WebGLTexture: false,
262+
WebGLTransformFeedback: false,
263+
WebGLUniformLocation: false,
264+
WebGLVertexArrayObject: false,
115265
WebSocket: false,
266+
WebSocketError: false,
267+
WebSocketStream: false,
268+
WebTransport: false,
269+
WebTransportBidirectionalStream: false,
270+
WebTransportDatagramDuplexStream: false,
271+
WebTransportError: false,
272+
WGSLLanguageFeatures: false,
116273
WindowClient: false,
117-
Worker: false,
118274
WorkerGlobalScope: false,
275+
WorkerLocation: false,
276+
WorkerNavigator: false,
119277
WritableStream: false,
120278
WritableStreamDefaultController: false,
121279
WritableStreamDefaultWriter: false,
122-
XMLHttpRequest: false,
123280
};

0 commit comments

Comments
 (0)