blob: 5a006a918c1b71564aaa7d8d018c75b9c5410117 [file] [log] [blame]
This test ensure that global-to-global re-entry works correctly and does not clobber anything. This passes if it does not crash.
if (this.testRunner)
try {
// The important part of the test is the global reentry from the document.write passed implicitly to eval
// the rest is just to ensure the test crahes reliably (errr... or something) if something goes wrong with
// the reentry.
__defineSetter__("implicitCall", eval);
var a;
a.b = (implicitCall = 'document.write("<script>var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p;</"+"script>");');
a = a.b;
throw "";
} catch(e) {