Skip to content

Commit eae0452

Browse files
committed
feat: save code
1 parent 09b17a5 commit eae0452

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/App.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ const LogViewer = defineAsyncComponent(
8888
Date,
8989
requestAnimationFrame: window.requestAnimationFrame.bind(window),
9090
cancelAnimationFrame: window.cancelAnimationFrame.bind(window),
91+
XMLHttpRequest,
92+
ResizeObserver,
9193
"performance": window.performance,
9294
ElementPrototype: Element.prototype,
9395
HTMLElementPrototype: HTMLElement.prototype,
@@ -98,6 +100,11 @@ const LogViewer = defineAsyncComponent(
98100
WebGLRenderingContext,
99101
WebGL2RenderingContext,
100102
navigator,
103+
Image: window.Image,
104+
OffscreenCanvas: window.OffscreenCanvas,
105+
Node: window.Node,
106+
EventTarget: window.EventTarget,
107+
HTMLCanvasElement: window.HTMLCanvasElement,
101108
screen,
102109
"dispatchEvent" : EventTarget.prototype.dispatchEvent,
103110
"addEventListener" : EventTarget.prototype.addEventListener,

0 commit comments

Comments
 (0)