diff options
Diffstat (limited to 'js/globals.ts')
-rw-r--r-- | js/globals.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/globals.ts b/js/globals.ts index e45aee9e2..9e7d20bcc 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -21,6 +21,7 @@ import * as timers from "./timers"; import * as url from "./url"; import * as urlSearchParams from "./url_search_params"; import * as workers from "./workers"; +import * as performanceUtil from "./performance"; // These imports are not exposed and therefore are fine to just import the // symbols required. @@ -93,4 +94,6 @@ export type TextEncoder = textEncoding.TextEncoder; window.TextDecoder = textEncoding.TextDecoder; export type TextDecoder = textEncoding.TextDecoder; +window.performance = new performanceUtil.Performance(); + window.workerMain = workers.workerMain; |