mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 15:14:33 +00:00
fix: Expose ErrorEvent globally (#5222)
This commit is contained in:
parent
32aeec9630
commit
d16c7394cb
4 changed files with 73 additions and 31 deletions
|
@ -11,6 +11,7 @@ import * as promiseTypes from "./web/promise.ts";
|
|||
import * as customEvent from "./web/custom_event.ts";
|
||||
import * as domException from "./web/dom_exception.ts";
|
||||
import * as domFile from "./web/dom_file.ts";
|
||||
import * as errorEvent from "./web/error_event.ts";
|
||||
import * as event from "./web/event.ts";
|
||||
import * as eventTarget from "./web/event_target.ts";
|
||||
import * as formData from "./web/form_data.ts";
|
||||
|
@ -227,6 +228,7 @@ export const windowOrWorkerGlobalScopeProperties = {
|
|||
File: nonEnumerable(domFile.DomFileImpl),
|
||||
CustomEvent: nonEnumerable(customEvent.CustomEventImpl),
|
||||
DOMException: nonEnumerable(domException.DOMExceptionImpl),
|
||||
ErrorEvent: nonEnumerable(errorEvent.ErrorEventImpl),
|
||||
Event: nonEnumerable(event.EventImpl),
|
||||
EventTarget: nonEnumerable(eventTarget.EventTargetImpl),
|
||||
URL: nonEnumerable(url.URLImpl),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue