diff --git a/data/worker.mjs b/data/worker.mjs index b05c394..57fb318 100644 --- a/data/worker.mjs +++ b/data/worker.mjs @@ -5,7 +5,6 @@ export default { AbortController: false, AbortSignal: false, addEventListener: false, - applicationCache: false, atob: false, AudioData: false, AudioDecoder: false, @@ -149,14 +148,10 @@ export default { 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, @@ -166,12 +161,10 @@ export default { PerformanceEntry: false, PerformanceMark: false, PerformanceMeasure: false, - PerformanceNavigation: false, PerformanceObserver: false, PerformanceObserverEntryList: false, PerformanceResourceTiming: false, PerformanceServerTiming: false, - PerformanceTiming: false, PeriodicSyncManager: false, Permissions: false, PermissionStatus: false, diff --git a/globals.json b/globals.json index 19335cc..9351183 100644 --- a/globals.json +++ b/globals.json @@ -1440,7 +1440,6 @@ "AbortController": false, "AbortSignal": false, "addEventListener": false, - "applicationCache": false, "atob": false, "AudioData": false, "AudioDecoder": false, @@ -1584,14 +1583,10 @@ "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, @@ -1601,12 +1596,10 @@ "PerformanceEntry": false, "PerformanceMark": false, "PerformanceMeasure": false, - "PerformanceNavigation": false, "PerformanceObserver": false, "PerformanceObserverEntryList": false, "PerformanceResourceTiming": false, "PerformanceServerTiming": false, - "PerformanceTiming": false, "PeriodicSyncManager": false, "Permissions": false, "PermissionStatus": false, diff --git a/scripts/get-browser-globals.mjs b/scripts/get-browser-globals.mjs index 742fab5..d9ca47e 100644 --- a/scripts/get-browser-globals.mjs +++ b/scripts/get-browser-globals.mjs @@ -214,17 +214,7 @@ async function getWebWorkerGlobals() { const properties = await runInWebWorker(getGlobalThisProperties); return createGlobals( - [ - ...properties, - // Existing data, need confirm - 'applicationCache', - 'onclose', - 'onconnect', - 'onoffline', - 'ononline', - 'PerformanceNavigation', - 'PerformanceTiming', - ], + properties, { shouldExclude: name => name.startsWith('__'), isWritable: name => name.startsWith('on'),