| Index: test/mjsunit/regress/regress-1036894.js
|
| diff --git a/test/mjsunit/regress/regress-1036894.js b/test/mjsunit/regress/regress-1036894.js
|
| index d89ceda11c0a291ca8a56f0cb0ab8e54e5d28af9..03ed8f9d61087f9fd5fdfb39fd9f037f88349c2b 100644
|
| --- a/test/mjsunit/regress/regress-1036894.js
|
| +++ b/test/mjsunit/regress/regress-1036894.js
|
| @@ -25,14 +25,14 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -xeval = function(s) { eval(s); }
|
| -xeval("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }");
|
| +assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }");
|
|
|
| -foo = function() { eval("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }"); }
|
| +function foo() {
|
| + assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }");
|
| +}
|
| foo();
|
|
|
| -xeval = function(s) { eval(s); }
|
| -eval("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }");
|
| +assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }");
|
|
|
| xeval = function(s) { eval(s); }
|
| xeval('$=function(){L: {break L;break L;}};');
|
|
|