blob: 66aa81d8dc8d9543e0b07e6bad7eda550dfcbdee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
if (!('oomTest' in this))
quit();
evalcx(`
eval('\
var appendToActual = function(s) {};\
gczeal = function() {};\
gcslice = function() {};\
selectforgc = function() {};\
if (!("verifyprebarriers" in this)) {\
verifyprebarriers = function() {};\
}\
');
oomTest(() => eval('Array(..."")'));
if ('Intl' in this)
Intl.NumberFormat.prototype.format(0);
`, newGlobal());
|