mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
fix dummy serviceworker methods
This commit is contained in:
parent
1a98345d9e
commit
dad6cf1371
3 changed files with 23 additions and 4 deletions
|
@ -175,6 +175,8 @@ export default function (client: ScramjetClient, self: typeof window) {
|
|||
},
|
||||
});
|
||||
|
||||
// an automated approach to cleaning the documentProxy from dom functions
|
||||
// it will trigger an illegal invocation if you pass the proxy to c++ code, we gotta hotswap it out with the real one
|
||||
for (const target of [
|
||||
self.Node.prototype,
|
||||
self.MutationObserver.prototype,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue