proxy Node.prototype.ownerDocument

This commit is contained in:
velzie 2024-08-09 19:57:00 -04:00
parent e20f1ac89f
commit c349e11490
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F

View file

@ -174,4 +174,10 @@ export default function (client: ScramjetClient, self: typeof window) {
return ctx.set(value); return ctx.set(value);
}, },
}); });
client.Trap("Node.prototype.ownerDocument", {
get() {
return client.documentProxy;
},
});
} }