[nscl] Switch all the Chromium usages of patchWindow() to the new Worlds API.
This commit is contained in:
parent
beb6289b7c
commit
278cd62e06
|
@ -357,6 +357,7 @@
|
||||||
*/
|
*/
|
||||||
ns.policy.set(key, perms);
|
ns.policy.set(key, perms);
|
||||||
await ns.savePolicy();
|
await ns.savePolicy();
|
||||||
|
await RequestGuard.DNRPolicy?.update();
|
||||||
}
|
}
|
||||||
return {enable: key};
|
return {enable: key};
|
||||||
},
|
},
|
||||||
|
|
|
@ -131,7 +131,8 @@
|
||||||
"/nscl/main/Worlds.js",
|
"/nscl/main/Worlds.js",
|
||||||
"/nscl/main/Worlds.main.js",
|
"/nscl/main/Worlds.main.js",
|
||||||
"/nscl/main/patchWorkers.main.js",
|
"/nscl/main/patchWorkers.main.js",
|
||||||
"/nscl/main/WebGLHook.main.js"
|
"/nscl/main/WebGLHook.main.js",
|
||||||
|
"/nscl/main/prefetchCSSResources.main.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
2
src/nscl
2
src/nscl
|
@ -1 +1 @@
|
||||||
Subproject commit 3c26c7286ea82809718a280660683db02575d92d
|
Subproject commit 6cd3f61ef3b3fcaa40c83358ab9c8025e063c4f9
|
Loading…
Reference in New Issue