blob: 6d87cc46679c1e1f26a7ec33f1f194bf4fd17289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
let src = `
function f0() {
return f0;
}
const v10 = f0.bind();
v10.sameZoneAs = f0;
const v37 = this.newGlobal(v10);
try {
v37.moduleEvaluate();
} catch(e48) {
this.grayRoot();
const v59 = new FinalizationRegistry(FinalizationRegistry);
v59.register(e48, v59, e48);
v59.register(f0, v59, e48);
}
this.nukeAllCCWs();
`;
gczeal(0);
let global = newGlobal();
global.eval(src);
global = undefined;
gc();
|