Skip to content

Commit e0f2986

Browse files
committed
don't add URL and URLSearchParams to WorkerGlobalScope
1 parent fa25364 commit e0f2986

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

baselines/webworker.generated.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,8 +1429,6 @@ interface WorkerGlobalScope extends EventTarget, WorkerUtils, WindowConsole, Glo
14291429
onerror: (this: WorkerGlobalScope, ev: ErrorEvent) => any;
14301430
readonly performance: Performance;
14311431
readonly self: WorkerGlobalScope;
1432-
URL: typeof URL;
1433-
URLSearchParams: typeof URLSearchParams;
14341432
msWriteProfilerMark(profilerMarkName: string): void;
14351433
createImageBitmap(image: ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise<ImageBitmap>;
14361434
createImageBitmap(image: ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;

inputfiles/addedTypes.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -225,27 +225,13 @@
225225
"name": "URL",
226226
"type": "typeof URL"
227227
},
228-
{
229-
"kind": "property",
230-
"interface": "WorkerGlobalScope",
231-
"exposeGlobally": false,
232-
"name": "URL",
233-
"type": "typeof URL"
234-
},
235228
{
236229
"kind": "property",
237230
"interface": "Window",
238231
"exposeGlobally": false,
239232
"name": "URLSearchParams",
240233
"type": "typeof URLSearchParams"
241234
},
242-
{
243-
"kind": "property",
244-
"interface": "WorkerGlobalScope",
245-
"exposeGlobally": false,
246-
"name": "URLSearchParams",
247-
"type": "typeof URLSearchParams"
248-
},
249235
{
250236
"kind": "property",
251237
"interface": "Window",

0 commit comments

Comments
 (0)