mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
proxy Node.prototype.ownerDocument
This commit is contained in:
parent
e20f1ac89f
commit
c349e11490
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
|
},
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue