зеркало из https://github.com/mozilla/gecko-dev.git
Fix error where testcase did not test conversion of the object to a string. Note this does not accurately test the true problem of evaluating the object in the js shell
This commit is contained in:
Родитель
9275211cad
Коммит
357d8a2d85
|
@ -47,8 +47,8 @@ printStatus (summary);
|
|||
expect = 'TypeError:51';
|
||||
try
|
||||
{
|
||||
var obj = {toString: function() {return new Object();}}
|
||||
obj();
|
||||
var obj = {toString: function() {return new Object();}};
|
||||
var result = String(obj);
|
||||
actual = 'no error';
|
||||
}
|
||||
catch(e)
|
||||
|
|
Загрузка…
Ссылка в новой задаче