From: <asa...@us...> - 2012-11-19 13:24:28
|
Revision: 7739 http://sourceforge.net/p/htmlunit/code/7739 Author: asashour Date: 2012-11-19 13:24:25 +0000 (Mon, 19 Nov 2012) Log Message: ----------- JavaScript: function name referenced before its declaration should throw an exception (FF). Modified Paths: -------------- trunk/htmlunit/src/changes/changes.xml trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java Modified: trunk/htmlunit/src/changes/changes.xml =================================================================== --- trunk/htmlunit/src/changes/changes.xml 2012-11-19 09:22:49 UTC (rev 7738) +++ trunk/htmlunit/src/changes/changes.xml 2012-11-19 13:24:25 UTC (rev 7739) @@ -8,6 +8,9 @@ <body> <release version="2.12" date="???" description="Bugfixes"> + <action type="fix" dev="asashour"> + JavaScript: function name referenced before its declaration should throw an exception (FF). + </action> <action type="fix" dev="asashour" issue="1253"> JavaScript: prevent infinite loop during adding a DomNode to itself. </action> Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java 2012-11-19 09:22:49 UTC (rev 7738) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java 2012-11-19 13:24:25 UTC (rev 7739) @@ -150,7 +150,7 @@ @Test @Alerts(FF = { "undefined", "foo error" }, IE = {"function foo() {}", "function foo() {}" }) - @NotYetImplemented + @NotYetImplemented(IE) public void variableNotDefined() throws Exception { final String html = "<html><head></head><body>\n" + "<script>\n" |