mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 17:19:38 +02:00
This commit is contained in:
parent
6dd5c832a2
commit
5de5074f1c
@ -226,7 +226,10 @@ const contentObserver = {
|
|||||||
win.document.title.slice(0, 100)
|
win.document.title.slice(0, 100)
|
||||||
].join(' | ');
|
].join(' | ');
|
||||||
|
|
||||||
|
// https://github.com/gorhill/uMatrix/issues/325
|
||||||
|
// "Pass sameZoneAs to sandbox constructor to make GCs cheaper"
|
||||||
sandbox = Cu.Sandbox([win], {
|
sandbox = Cu.Sandbox([win], {
|
||||||
|
sameZoneAs: win.top,
|
||||||
sandboxName: sandboxId + '[' + sandboxName + ']',
|
sandboxName: sandboxId + '[' + sandboxName + ']',
|
||||||
sandboxPrototype: win,
|
sandboxPrototype: win,
|
||||||
wantComponents: false,
|
wantComponents: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user