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

rbri--- via HtmlUnit-develop <[email protected]>
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID <[email protected]>
Revision: 15362
          http://sourceforge.net/p/htmlunit/code/15362
Author:   rbri
Date:     2018-06-20 06:12:12 +0000 (Wed, 20 Jun 2018)
Log Message:
-----------
more ff60 expectations

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlPasswordInputTest.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java	2018-06-20 06:02:23 UTC (rev 15361)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java	2018-06-20 06:12:12 UTC (rev 15362)
@@ -963,8 +963,8 @@
     @BrowserFeature({CHROME, FF52})
     JS_INNER_TEXT_VALUE_NULL,
 
-    /** Chrome ignores negative selection starts. */
-    @BrowserFeature(CHROME)
+    /** Ignore negative selection starts. */
+    @BrowserFeature({CHROME, FF60})
     JS_INPUT_IGNORE_NEGATIVE_SELECTION_START,
 
     /** Chrome/FF returns null for selectionStart/selectionEnd. */

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlPasswordInputTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlPasswordInputTest.java	2018-06-20 06:02:23 UTC (rev 15361)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlPasswordInputTest.java	2018-06-20 06:12:12 UTC (rev 15362)
@@ -22,6 +22,7 @@
 import org.junit.runner.RunWith;
 import org.openqa.selenium.By;
 import org.openqa.selenium.InvalidElementStateException;
+import org.openqa.selenium.Keys;
 import org.openqa.selenium.WebDriver;
 import org.openqa.selenium.WebElement;
 import org.openqa.selenium.htmlunit.HtmlUnitDriver;
@@ -67,13 +68,13 @@
         final WebElement p = driver.findElement(By.id("p"));
         p.sendKeys("abc");
         assertEquals("abc", p.getAttribute("value"));
-        p.sendKeys("\b");
+        p.sendKeys(Keys.BACK_SPACE);
         assertEquals("ab", p.getAttribute("value"));
-        p.sendKeys("\b");
+        p.sendKeys(Keys.BACK_SPACE);
         assertEquals("a", p.getAttribute("value"));
-        p.sendKeys("\b");
+        p.sendKeys(Keys.BACK_SPACE);
         assertEquals("", p.getAttribute("value"));
-        p.sendKeys("\b");
+        p.sendKeys(Keys.BACK_SPACE);
         assertEquals("", p.getAttribute("value"));
     }
 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.