regression test

git-svn-id: svn://10.0.0.236/trunk@252631 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nboyd%atg.com 2008-06-27 12:23:20 +00:00
parent 7e08e566c5
commit 92f698a208

View File

@ -0,0 +1,22 @@
/**
*
*/
package org.mozilla.javascript.tests;
import junit.framework.TestCase;
import org.mozilla.javascript.*;
/**
* See https://bugzilla.mozilla.org/show_bug.cgi?id=412433
* @author Norris Boyd
*/
public class Bug412433Test extends TestCase {
public void testMaleformedJavascript2()
{
Context context = Context.enter();
ScriptableObject scope = context.initStandardObjects();
context.evaluateString(scope, "\"\".split(/[/?,/&]/)", "", 0, null);
Context.exit();
}
}