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

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

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

asashour-2
Revision: 13798
          http://sourceforge.net/p/htmlunit/code/13798
Author:   asashour
Date:     2017-03-16 10:04:21 +0000 (Thu, 16 Mar 2017)
Log Message:
-----------
FF 38 is removed

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/configuration/WebBrowser.java
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration.java
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DocumentType.java
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLAnchorElement.java
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/performance/PerformanceMeasure.java
    trunk/htmlunit/src/site/xdoc/gettingStarted.xml

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/configuration/WebBrowser.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/configuration/WebBrowser.java 2017-03-16 09:52:38 UTC (rev 13797)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/configuration/WebBrowser.java 2017-03-16 10:04:21 UTC (rev 13798)
@@ -20,7 +20,7 @@
 import java.lang.annotation.Target;
 
 /**
- * An annotation to specify a range of browser, e.g. Firefox from version 38 to version 45.
+ * An annotation to specify a range of browser, e.g. Firefox from version 45 to version 52.
  *
  * @author Ahmed Ashour
  */

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration.java 2017-03-16 09:52:38 UTC (rev 13797)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration.java 2017-03-16 10:04:21 UTC (rev 13798)
@@ -1923,7 +1923,7 @@
      * Gets the {@code page} style attribute.
      * @return the style attribute
      */
-    @JsxGetter({@WebBrowser(CHROME), @WebBrowser(value = FF, maxVersion = 38)})
+    @JsxGetter(@WebBrowser(CHROME))
     public String getPage() {
         return getStyleAttribute(PAGE);
     }
@@ -1932,7 +1932,7 @@
      * Sets the {@code page} style attribute.
      * @param page the new attribute
      */
-    @JsxSetter({@WebBrowser(CHROME), @WebBrowser(value = FF, maxVersion = 38)})
+    @JsxSetter(@WebBrowser(CHROME))
     public void setPage(final String page) {
         setStyleAttribute(PAGE.getAttributeName(), page);
     }
@@ -2193,7 +2193,7 @@
      * Gets the {@code size} style attribute.
      * @return the style attribute
      */
-    @JsxGetter({@WebBrowser(CHROME), @WebBrowser(value = FF, maxVersion = 38)})
+    @JsxGetter(@WebBrowser(CHROME))
     public String getSize() {
         return getStyleAttribute(SIZE);
     }
@@ -2202,7 +2202,7 @@
      * Sets the {@code size} style attribute.
      * @param size the new attribute
      */
-    @JsxSetter({@WebBrowser(CHROME), @WebBrowser(value = FF, maxVersion = 38)})
+    @JsxSetter(@WebBrowser(CHROME))
     public void setSize(final String size) {
         setStyleAttribute(SIZE.getAttributeName(), size);
     }
@@ -2374,7 +2374,7 @@
      * Gets the {@code widows} style attribute.
      * @return the style attribute
      */
-    @JsxGetter({@WebBrowser(CHROME), @WebBrowser(IE), @WebBrowser(value = FF, maxVersion = 38)})
+    @JsxGetter({@WebBrowser(CHROME), @WebBrowser(IE)})
     public String getWidows() {
         return getStyleAttribute(WIDOWS);
     }
@@ -2383,7 +2383,7 @@
      * Sets the {@code widows} style attribute.
      * @param widows the new attribute
      */
-    @JsxSetter({@WebBrowser(CHROME), @WebBrowser(IE), @WebBrowser(value = FF, maxVersion = 38)})
+    @JsxSetter({@WebBrowser(CHROME), @WebBrowser(IE)})
     public void setWidows(final String widows) {
         if (getBrowserVersion().hasFeature(CSS_BACKGROUND_INITIAL)) {
             try {
@@ -2402,7 +2402,7 @@
      * Gets the {@code orphans} style attribute.
      * @return the style attribute
      */
-    @JsxGetter({@WebBrowser(CHROME), @WebBrowser(IE), @WebBrowser(value = FF, maxVersion = 38)})
+    @JsxGetter({@WebBrowser(CHROME), @WebBrowser(IE)})
     public String getOrphans() {
         return getStyleAttribute(ORPHANS);
     }
@@ -2411,7 +2411,7 @@
      * Sets the {@code orphans} style attribute.
      * @param orphans the new attribute
      */
-    @JsxSetter({@WebBrowser(CHROME), @WebBrowser(IE), @WebBrowser(value = FF, maxVersion = 38)})
+    @JsxSetter({@WebBrowser(CHROME), @WebBrowser(IE)})
     public void setOrphans(final String orphans) {
         if (getBrowserVersion().hasFeature(CSS_BACKGROUND_INITIAL)) {
             try {

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DocumentType.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DocumentType.java 2017-03-16 09:52:38 UTC (rev 13797)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DocumentType.java 2017-03-16 10:04:21 UTC (rev 13798)
@@ -90,7 +90,7 @@
      * Returns the internal subset.
      * @return the internal subset
      */
-    @JsxGetter({@WebBrowser(value = FF, maxVersion = 38), @WebBrowser(IE)})
+    @JsxGetter(@WebBrowser(IE))
     public String getInternalSubset() {
         final String subset = ((DomDocumentType) getDomNodeOrDie()).getInternalSubset();
         if (StringUtils.isNotEmpty(subset)) {

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLAnchorElement.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLAnchorElement.java 2017-03-16 09:52:38 UTC (rev 13797)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLAnchorElement.java 2017-03-16 10:04:21 UTC (rev 13798)
@@ -44,7 +44,6 @@
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxGetter;
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxSetter;
 import com.gargoylesoftware.htmlunit.javascript.configuration.WebBrowser;
-import com.gargoylesoftware.htmlunit.javascript.host.URLSearchParams;
 import com.gargoylesoftware.htmlunit.javascript.host.dom.DOMTokenList;
 import com.gargoylesoftware.htmlunit.util.UrlUtils;
 
@@ -752,24 +751,6 @@
     }
 
     /**
-     * Returns the {@code searchParams} attribute.
-     * @return the {@code searchParams} attribute
-     */
-    @JsxGetter(@WebBrowser(value = FF, maxVersion = 38))
-    public String getSearchParams() {
-        throw Context.throwAsScriptRuntimeEx(new UnsupportedOperationException());
-    }
-
-    /**
-     * Sets the {@code searchParams} attribute.
-     * @param searchParams {@code searchParams} attribute
-     */
-    @JsxSetter(@WebBrowser(FF))
-    public void setSearchParams(final URLSearchParams searchParams) {
-        throw Context.throwAsScriptRuntimeEx(new UnsupportedOperationException());
-    }
-
-    /**
      * Returns the {@code protocolLong} attribute.
      * @return the {@code protocolLong} attribute
      */

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/performance/PerformanceMeasure.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/performance/PerformanceMeasure.java 2017-03-16 09:52:38 UTC (rev 13797)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/performance/PerformanceMeasure.java 2017-03-16 10:04:21 UTC (rev 13798)
@@ -17,7 +17,6 @@
 import static com.gargoylesoftware.htmlunit.javascript.configuration.BrowserName.CHROME;
 import static com.gargoylesoftware.htmlunit.javascript.configuration.BrowserName.EDGE;
 import static com.gargoylesoftware.htmlunit.javascript.configuration.BrowserName.FF;
-import static com.gargoylesoftware.htmlunit.javascript.configuration.BrowserName.IE;
 
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxClass;
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxConstructor;
@@ -28,8 +27,7 @@
  *
  * @author Ahmed Ashour
  */
-@JsxClass(browsers = {@WebBrowser(CHROME), @WebBrowser(value = FF, minVersion = 38),
-            @WebBrowser(IE), @WebBrowser(EDGE)})
+@JsxClass
 public class PerformanceMeasure extends PerformanceEntry {
 
     /**

Modified: trunk/htmlunit/src/site/xdoc/gettingStarted.xml
===================================================================
--- trunk/htmlunit/src/site/xdoc/gettingStarted.xml 2017-03-16 09:52:38 UTC (rev 13797)
+++ trunk/htmlunit/src/site/xdoc/gettingStarted.xml 2017-03-16 10:04:21 UTC (rev 13798)
@@ -54,7 +54,7 @@
             <source><![CDATA[
 @Test
 public void homePage_Firefox() throws Exception {
-    try (final WebClient webClient = new WebClient(BrowserVersion.FIREFOX_38)) {
+    try (final WebClient webClient = new WebClient(BrowserVersion.FIREFOX_52)) {
         final HtmlPage page = webClient.getPage("http://htmlunit.sourceforge.net");
         Assert.assertEquals("HtmlUnit - Welcome to HtmlUnit", page.getTitleText());
     }
@@ -122,7 +122,7 @@
             <source><![CDATA[
 @Test
 public void homePage_proxy() throws Exception {
-    try (final WebClient webClient = new WebClient(BrowserVersion.FIREFOX_38, "myproxyserver", myProxyPort)) {
+    try (final WebClient webClient = new WebClient(BrowserVersion.FIREFOX_52, "myproxyserver", myProxyPort)) {
 
         //set proxy username and password
         final DefaultCredentialsProvider credentialsProvider = (DefaultCredentialsProvider) webClient.getCredentialsProvider();


------------------------------------------------------------------------------
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