js/src/tests/js1_5/Regress/regress-428366.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:db31b6cf96e1
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * Any copyright is dedicated to the Public Domain.
4 * http://creativecommons.org/licenses/publicdomain/
5 * Contributor: Blake Kaplan
6 */
7
8 //-----------------------------------------------------------------------------
9 var BUGNUMBER = 428366;
10 var summary = 'Do not assert deleting eval 16 times';
11 var actual = '';
12 var expect = '';
13
14 printBugNumber(BUGNUMBER);
15 printStatus (summary);
16
17 this.__proto__.x = eval;
18 for (i = 0; i < 16; ++i) delete eval;
19 (function w() { x = 1; })();
20
21 reportCompare(expect, actual, summary);

mercurial