Commit 0381e3b0 authored by Eric Faust's avatar Eric Faust
Browse files

Bug 1126105 - Remove wrap() builtin and mark wrapWithProto() as...

Bug 1126105 - Remove wrap() builtin and mark wrapWithProto() as non-fuzzing-safe to avoid impossible overrecursion in tests. (r=Waldo)
parent 3537d0f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
// Binary: cache/js-dbg-64-b84d0be52070-linux
// Flags:
//
var x = wrap.call(x, Function);
var x = new Proxy(Function, {});
if (x.__proto__ = x) {
    print(x);
}
+0 −5
Original line number Diff line number Diff line
// Binary: cache/js-dbg-64-f5e128da7b5f-linux
// Flags:
//
x = Proxy.createFunction((function () {}), Uint16Array, wrap)
try { new(wrap(x)) } catch(exc1) {}
+1 −1
Original line number Diff line number Diff line
// Binary: cache/js-dbg-32-7b8898c9b54c-linux
// Flags:
//
wrap(this)
new Proxy(this,{})
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ var _var_ = o;
}
for(var i1=0; i1<6; i1++) {
f4(f3);
f4 = wrap(f7);
f4 = new Proxy(f7, {});
}
f4(f0);

+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ var o9 = Function.prototype;
var o13 = Array;
function f5(o) {
o.watch('p3', function() {});
ox1 = wrap(o);
ox1 = new Proxy(o, {});
}
f5(o9);
f5(o13);
Loading