bug-1894025.js (340B)
1 gczeal(0); 2 3 var ex; 4 function makeExtensibleStrFrom() { 5 strstrstr; 6 } 7 a = makeExtensibleStrFrom; 8 b = newDependentString(a, 0, 50, { tenured: false }) 9 var exc; 10 try { 11 c = newDependentString(b, 0, { tenured: true }) 12 } catch (e) { 13 exc = e; 14 } 15 assertEq(Boolean(exc), true, "b and c required to be in different heaps but are the same");