Quantcast

[HtmlUnit] SVN: [14128] trunk/htmlunit/src

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[HtmlUnit] SVN: [14128] trunk/htmlunit/src

rbri
Revision: 14128
          http://sourceforge.net/p/htmlunit/code/14128
Author:   rbri
Date:     2017-04-17 08:15:55 +0000 (Mon, 17 Apr 2017)
Log Message:
-----------
FF52

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java 2017-04-17 07:57:50 UTC (rev 14127)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java 2017-04-17 08:15:55 UTC (rev 14128)
@@ -876,7 +876,7 @@
     JS_FORM_USABLE_AS_FUNCTION,
 
     /** Indicates that function is defined even before its declaration, inside a block. */
-    @BrowserFeature({@WebBrowser(CHROME), @WebBrowser(IE)})
+    @BrowserFeature({@WebBrowser(CHROME), @WebBrowser(value = FF, minVersion = 52), @WebBrowser(IE)})
     JS_FUNCTION_DECLARED_FORWARD_IN_BLOCK,
 
     /** Indicates if the method toSource exists on the native objects. */

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java 2017-04-17 07:57:50 UTC (rev 14127)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java 2017-04-17 08:15:55 UTC (rev 14128)
@@ -15,6 +15,7 @@
 package com.gargoylesoftware.htmlunit.javascript;
 
 import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.CHROME;
+import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.FF52;
 import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.IE;
 import static org.junit.Assert.fail;
 
@@ -130,7 +131,7 @@
      */
     @Test
     @Alerts(DEFAULT = {"in goo", "in hoo", "in foo"},
-            FF = {"in goo", "in hoo", "foo error"})
+            FF45 = {"in goo", "in hoo", "foo error"})
     public void functionDeclaredForwardInBlock() throws Exception {
         final String html = "<html><head></head><body>\n"
             + "<script>\n"
@@ -158,8 +159,9 @@
     @Test
     @Alerts(DEFAULT = {"function foo() {}", "function foo() {}"},
             CHROME = {"undefined", "function foo() {}"},
-            FF = {"undefined", "foo error"})
-    @NotYetImplemented({IE, CHROME})
+            FF52 = {"undefined", "function foo() {}"},
+            FF45 = {"undefined", "foo error"})
+    @NotYetImplemented({IE, CHROME, FF52})
     public void variableNotDefined() throws Exception {
         final String html = "<html><head></head><body>\n"
             + "<script>\n"


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop
Loading...