Regression test for bug 304376, restore String constructor

git-svn-id: svn://10.0.0.236/trunk@182961 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bob%bclary.com
2005-10-25 10:00:31 +00:00
parent 07163a0d6c
commit 479f7e6c60

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);