Skip to content

Commit

Permalink
Add script to get worker globals (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored Feb 20, 2024
1 parent 5e64c36 commit 7f3b089
Show file tree
Hide file tree
Showing 5 changed files with 476 additions and 18 deletions.
197 changes: 193 additions & 4 deletions data/worker.mjs
Original file line number Diff line number Diff line change
@@ -1,30 +1,115 @@
// This file is autogenerated by scripts
// Do NOT modify this file manually

export default {
AbortController: false,
AbortSignal: false,
addEventListener: false,
applicationCache: false,
atob: false,
AudioData: false,
AudioDecoder: false,
AudioEncoder: false,
BackgroundFetchManager: false,
BackgroundFetchRecord: false,
BackgroundFetchRegistration: false,
Blob: false,
BroadcastChannel: false,
btoa: false,
ByteLengthQueuingStrategy: false,
Cache: false,
caches: false,
CacheStorage: false,
cancelAnimationFrame: false,
CanvasGradient: false,
CanvasPattern: false,
clearInterval: false,
clearTimeout: false,
close: true,
close: false,
CloseEvent: false,
CompressionStream: false,
console: false,
CountQueuingStrategy: false,
createImageBitmap: false,
CropTarget: false,
crossOriginIsolated: false,
crypto: false,
Crypto: false,
CryptoKey: false,
CSSSkewX: false,
CSSSkewY: false,
CustomEvent: false,
DecompressionStream: false,
DedicatedWorkerGlobalScope: false,
dispatchEvent: false,
DOMException: false,
DOMMatrix: false,
DOMMatrixReadOnly: false,
DOMPoint: false,
DOMPointReadOnly: false,
DOMQuad: false,
DOMRect: false,
DOMRectReadOnly: false,
DOMStringList: false,
EncodedAudioChunk: false,
EncodedVideoChunk: false,
ErrorEvent: false,
Event: false,
EventSource: false,
EventTarget: false,
fetch: false,
File: false,
FileList: false,
FileReader: false,
FileReaderSync: false,
FileSystemDirectoryHandle: false,
FileSystemFileHandle: false,
FileSystemHandle: false,
FileSystemSyncAccessHandle: false,
FileSystemWritableFileStream: false,
FontFace: false,
fonts: false,
FormData: false,
GPU: false,
GPUAdapter: false,
GPUAdapterInfo: false,
GPUBindGroup: false,
GPUBindGroupLayout: false,
GPUBuffer: false,
GPUBufferUsage: false,
GPUCanvasContext: false,
GPUColorWrite: false,
GPUCommandBuffer: false,
GPUCommandEncoder: false,
GPUCompilationInfo: false,
GPUCompilationMessage: false,
GPUComputePassEncoder: false,
GPUComputePipeline: false,
GPUDevice: false,
GPUDeviceLostInfo: false,
GPUError: false,
GPUExternalTexture: false,
GPUInternalError: false,
GPUMapMode: false,
GPUOutOfMemoryError: false,
GPUPipelineError: false,
GPUPipelineLayout: false,
GPUQuerySet: false,
GPUQueue: false,
GPURenderBundle: false,
GPURenderBundleEncoder: false,
GPURenderPassEncoder: false,
GPURenderPipeline: false,
GPUSampler: false,
GPUShaderModule: false,
GPUShaderStage: false,
GPUSupportedFeatures: false,
GPUSupportedLimits: false,
GPUTexture: false,
GPUTextureUsage: false,
GPUTextureView: false,
GPUUncapturedErrorEvent: false,
GPUValidationError: false,
Headers: false,
IDBCursor: false,
IDBCursorWithValue: false,
Expand All @@ -37,25 +122,45 @@ export default {
IDBRequest: false,
IDBTransaction: false,
IDBVersionChangeEvent: false,
IdleDetector: false,
ImageBitmap: false,
ImageBitmapRenderingContext: false,
ImageData: false,
importScripts: true,
ImageDecoder: false,
ImageTrack: false,
ImageTrackList: false,
importScripts: false,
indexedDB: false,
isSecureContext: false,
location: false,
Lock: false,
LockManager: false,
MediaCapabilities: false,
MediaSource: false,
MediaSourceHandle: false,
MessageChannel: false,
MessageEvent: false,
MessagePort: false,
name: false,
NavigationPreloadManager: false,
navigator: false,
NavigatorUAData: false,
NetworkInformation: false,
Notification: false,
OffscreenCanvas: false,
OffscreenCanvasRenderingContext2D: false,
onclose: true,
onconnect: true,
onerror: true,
onlanguagechange: true,
onmessage: true,
onmessageerror: true,
onoffline: true,
ononline: true,
onrejectionhandled: true,
onunhandledrejection: true,
origin: false,
Path2D: false,
performance: false,
Performance: false,
PerformanceEntry: false,
Expand All @@ -65,8 +170,18 @@ export default {
PerformanceObserver: false,
PerformanceObserverEntryList: false,
PerformanceResourceTiming: false,
PerformanceServerTiming: false,
PerformanceTiming: false,
postMessage: true,
PeriodicSyncManager: false,
Permissions: false,
PermissionStatus: false,
PERSISTENT: false,
postMessage: false,
ProgressEvent: false,
PromiseRejectionEvent: false,
PushManager: false,
PushSubscription: false,
PushSubscriptionOptions: false,
queueMicrotask: false,
ReadableByteStreamController: false,
ReadableStream: false,
Expand All @@ -76,27 +191,101 @@ export default {
ReadableStreamDefaultReader: false,
removeEventListener: false,
reportError: false,
ReportingObserver: false,
Request: false,
requestAnimationFrame: false,
Response: false,
self: true,
RTCEncodedAudioFrame: false,
RTCEncodedVideoFrame: false,
scheduler: false,
Scheduler: false,
SecurityPolicyViolationEvent: false,
self: false,
Serial: false,
SerialPort: false,
ServiceWorkerRegistration: false,
setInterval: false,
setTimeout: false,
SourceBuffer: false,
SourceBufferList: false,
StorageManager: false,
structuredClone: false,
SubtleCrypto: false,
SyncManager: false,
TaskController: false,
TaskPriorityChangeEvent: false,
TaskSignal: false,
TEMPORARY: false,
TextDecoder: false,
TextDecoderStream: false,
TextEncoder: false,
TextEncoderStream: false,
TextMetrics: false,
TransformStream: false,
TransformStreamDefaultController: false,
TrustedHTML: false,
TrustedScript: false,
TrustedScriptURL: false,
TrustedTypePolicy: false,
TrustedTypePolicyFactory: false,
trustedTypes: false,
URL: false,
URLPattern: false,
URLSearchParams: false,
USB: false,
USBAlternateInterface: false,
USBConfiguration: false,
USBConnectionEvent: false,
USBDevice: false,
USBEndpoint: false,
USBInterface: false,
USBInTransferResult: false,
USBIsochronousInTransferPacket: false,
USBIsochronousInTransferResult: false,
USBIsochronousOutTransferPacket: false,
USBIsochronousOutTransferResult: false,
USBOutTransferResult: false,
UserActivation: false,
VideoColorSpace: false,
VideoDecoder: false,
VideoEncoder: false,
VideoFrame: false,
WebAssembly: false,
WebGL2RenderingContext: false,
WebGLActiveInfo: false,
WebGLBuffer: false,
WebGLContextEvent: false,
WebGLFramebuffer: false,
WebGLProgram: false,
WebGLQuery: false,
WebGLRenderbuffer: false,
WebGLRenderingContext: false,
WebGLSampler: false,
WebGLShader: false,
WebGLShaderPrecisionFormat: false,
WebGLSync: false,
WebGLTexture: false,
WebGLTransformFeedback: false,
WebGLUniformLocation: false,
WebGLVertexArrayObject: false,
webkitRequestFileSystem: false,
webkitRequestFileSystemSync: false,
webkitResolveLocalFileSystemSyncURL: false,
webkitResolveLocalFileSystemURL: false,
WebSocket: false,
WebTransport: false,
WebTransportBidirectionalStream: false,
WebTransportDatagramDuplexStream: false,
WebTransportError: false,
WGSLLanguageFeatures: false,
Worker: false,
WorkerGlobalScope: false,
WorkerLocation: false,
WorkerNavigator: false,
WritableStream: false,
WritableStreamDefaultController: false,
WritableStreamDefaultWriter: false,
XMLHttpRequest: false,
XMLHttpRequestEventTarget: false,
XMLHttpRequestUpload: false,
};
Loading

0 comments on commit 7f3b089

Please sign in to comment.