From 144fc6f87400e44d158dd181ca7e6c1548e9d2fe Mon Sep 17 00:00:00 2001 From: "bclary%bclary.com" Date: Tue, 18 Aug 2009 08:09:36 +0000 Subject: [PATCH] bug 353078 - JavaScript Test - modify test to only fail in the event of a crash. git-svn-id: svn://10.0.0.236/trunk@258137 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/tests/js1_6/Regress/regress-353078.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/mozilla/js/tests/js1_6/Regress/regress-353078.js b/mozilla/js/tests/js1_6/Regress/regress-353078.js index 2fbe01b2ffe..c6b7b9849d1 100755 --- a/mozilla/js/tests/js1_6/Regress/regress-353078.js +++ b/mozilla/js/tests/js1_6/Regress/regress-353078.js @@ -52,14 +52,12 @@ function test() printBugNumber(BUGNUMBER); printStatus (summary); - expect = 'TypeError: can\'t convert global to string'; try { this.toString = function() { return {}; }; p = [11].map('foo'.split); } catch(ex) { - actual = ex + ''; } reportCompare(expect, actual, summary);