Regression test for bug 304376, restore String constructor

This commit is contained in:
bob%bclary.com 2005-10-25 10:00:31 +00:00
parent c7cdb9da47
commit bbeaf64202

View File

@ -44,6 +44,8 @@ printBugNumber (bug);
printStatus (summary);
expect = 'String';
var saveString = String;
String = Array;
@ -52,4 +54,6 @@ actual = (new String()).constructor.name;
// see if we can crash...
"".join();
String = saveString;
reportCompare(expect, actual, summary);