blob: 9e600162a4d522658f8d734388a292d03c6949c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Object.defineProperty(this, "fuzzutils", {
value: {
evaluate: function() {},
}
});
var g = newGlobal({
newCompartment: true
});
g.parent = this;
g.eval("(" + function() {
var dbg = Debugger(parent);
dbg.onEnterFrame = function(frame) {
frame.onStep = function() {}
}
} + ")()");
fuzzutils.evaluate();
oomTest(new Function(), {expectExceptionOnFailure: false});
|