From a89c84852aa2a3d562a05d125cde46eb932c3764 Mon Sep 17 00:00:00 2001 From: Der_Googler <54764558+DerGoogler@users.noreply.github.com> Date: Fri, 21 Jun 2024 22:08:19 +0200 Subject: [PATCH] Fix `DOMParser` and `XMLSerializer` --- Website/src/native/IsolatedEval/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Website/src/native/IsolatedEval/index.ts b/Website/src/native/IsolatedEval/index.ts index a88be6fa..862d0301 100644 --- a/Website/src/native/IsolatedEval/index.ts +++ b/Website/src/native/IsolatedEval/index.ts @@ -107,7 +107,9 @@ class IsolatedEval { this._prototypeWhitelist.set(EventTarget, new Set()); this._prototypeWhitelist.set(NamedNodeMap, new Set()); this._prototypeWhitelist.set(IsoDOMParser, new Set()); + this._prototypeWhitelist.set(DOMParser, new Set()); this._prototypeWhitelist.set(IsoXMLSerializer, new Set()); + this._prototypeWhitelist.set(XMLSerializer, new Set()); this._prototypeWhitelist.set(SuFile, new Set()); this._prototypeWhitelist.set(ShellClass, new Set()); this._prototypeWhitelist.set(View, new Set());