From: <rb...@us...> - 2018-06-19 06:21:13
|
Revision: 15360 http://sourceforge.net/p/htmlunit/code/15360 Author: rbri Date: 2018-06-19 06:21:08 +0000 (Tue, 19 Jun 2018) Log Message: ----------- ff60 support (wip) Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/Selection.java trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLTextAreaElement.java trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlTextArea2Test.java Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/Selection.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/Selection.java 2018-06-19 06:10:51 UTC (rev 15359) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/Selection.java 2018-06-19 06:21:08 UTC (rev 15360) @@ -17,6 +17,7 @@ import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.CHROME; import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.EDGE; import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF; +import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF60; import java.util.ArrayList; import java.util.List; @@ -147,7 +148,7 @@ * Returns the type of selection (IE only). * @return the type of selection */ - @JsxGetter(CHROME) + @JsxGetter({CHROME, FF60}) public String getType() { return type_; } Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLTextAreaElement.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLTextAreaElement.java 2018-06-19 06:10:51 UTC (rev 15359) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLTextAreaElement.java 2018-06-19 06:21:08 UTC (rev 15360) @@ -24,6 +24,7 @@ import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.CHROME; import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.EDGE; import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF; +import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.FF60; import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.IE; import com.gargoylesoftware.htmlunit.html.HtmlTextArea; @@ -374,7 +375,7 @@ * Returns the labels associated with the element. * @return the labels associated with the element */ - @JsxGetter(CHROME) + @JsxGetter({CHROME, FF60}) public AbstractList getLabels() { if (labels_ == null) { labels_ = new LabelsHelper(getDomNodeOrDie()); Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlTextArea2Test.java =================================================================== --- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlTextArea2Test.java 2018-06-19 06:10:51 UTC (rev 15359) +++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlTextArea2Test.java 2018-06-19 06:21:08 UTC (rev 15360) @@ -23,9 +23,10 @@ import com.gargoylesoftware.htmlunit.BrowserRunner; import com.gargoylesoftware.htmlunit.BrowserRunner.Alerts; import com.gargoylesoftware.htmlunit.WebDriverTestCase; +import com.gargoylesoftware.htmlunit.javascript.host.html.HTMLTextAreaElement; /** - * Tests for {@link HtmlTextInput}. + * Tests for {@link HTMLTextAreaElement}. * * @author Ronald Brill * @author Ahmed Ashour |