Quantcast

[HtmlUnit] SVN: [13776] 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: [13776] trunk/htmlunit/src

asashour-2
Revision: 13776
          http://sourceforge.net/p/htmlunit/code/13776
Author:   asashour
Date:     2017-03-16 07:32:30 +0000 (Thu, 16 Mar 2017)
Log Message:
-----------
Deprecate HtmlKeygen

Modified Paths:
--------------
    trunk/htmlunit/src/changes/changes.xml
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlKeygen.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlKeyGenTest.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgCursorTest.java

Modified: trunk/htmlunit/src/changes/changes.xml
===================================================================
--- trunk/htmlunit/src/changes/changes.xml 2017-03-16 07:26:58 UTC (rev 13775)
+++ trunk/htmlunit/src/changes/changes.xml 2017-03-16 07:32:30 UTC (rev 13776)
@@ -8,6 +8,9 @@
 
     <body>
         <release version="2.26" date="???" description="Bugfixes">
+            <action type="fix" dev="asashour">
+                Deprecate HtmlKeygen.
+            </action>
             <action type="fix" dev="rbri">
                 JavaScript: WebSocket onError processing was missing.
             </action>
@@ -17,7 +20,7 @@
             <action type="fix" dev="rbri" issue="1858" due-to="Joerg Werner">
                 Correct file type detection for files with css suffix.
             </action>
-            <action type="add" >
+            <action type="add" dev="rbri">
                 JavaScript: simple impl for MediaSource.isTypeSupported added (returns always false).
             </action>
             <action type="add" dev="asashour">

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlKeygen.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlKeygen.java 2017-03-16 07:26:58 UTC (rev 13775)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlKeygen.java 2017-03-16 07:32:30 UTC (rev 13776)
@@ -26,7 +26,9 @@
  *
  * @author Ronald Brill
  * @author Ahmed Ashour
+ * @deprecated as of 2.26, it is not supported by real browsers anymore
  */
+@Deprecated
 public class HtmlKeygen extends HtmlElement {
 
     /** The HTML tag represented by this element. */

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java 2017-03-16 07:26:58 UTC (rev 13775)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/general/HostTypeOfTest.java 2017-03-16 07:32:30 UTC (rev 13776)
@@ -1152,13 +1152,10 @@
     }
 
     /**
-     * Test {@link com.gargoylesoftware.htmlunit.javascript.host.html.HTMLKeygenElement}.
-     *
      * @throws Exception if an error occurs
      */
     @Test
-    @Alerts(DEFAULT = "undefined",
-            CHROME = "function")
+    @Alerts("undefined")
     public void htmlKeygenElement() throws Exception {
         test("HTMLKeygenElement");
     }

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlKeyGenTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlKeyGenTest.java 2017-03-16 07:26:58 UTC (rev 13775)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlKeyGenTest.java 2017-03-16 07:32:30 UTC (rev 13776)
@@ -33,7 +33,7 @@
      * @throws Exception if the test fails
      */
     @Test
-    @Alerts(DEFAULT = {"", "inline-block", "inline-block"},
+    @Alerts(DEFAULT = {"", "inline", "inline"},
             FF = {"block", "inline", "inline-block"},
             IE = {"inline", "inline", "inline"})
     public void defaultStyle() throws Exception {

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgCursorTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgCursorTest.java 2017-03-16 07:26:58 UTC (rev 13775)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgCursorTest.java 2017-03-16 07:32:30 UTC (rev 13776)
@@ -14,8 +14,6 @@
  */
 package com.gargoylesoftware.htmlunit.svg;
 
-import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.CHROME;
-
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.openqa.selenium.WebDriver;
@@ -23,7 +21,6 @@
 
 import com.gargoylesoftware.htmlunit.BrowserRunner;
 import com.gargoylesoftware.htmlunit.BrowserRunner.Alerts;
-import com.gargoylesoftware.htmlunit.BrowserRunner.NotYetImplemented;
 import com.gargoylesoftware.htmlunit.WebDriverTestCase;
 import com.gargoylesoftware.htmlunit.html.HtmlPage;
 import com.gargoylesoftware.htmlunit.html.HtmlPageTest;
@@ -42,7 +39,6 @@
      */
     @Test
     @Alerts("[object SVGElement]")
-    @NotYetImplemented(CHROME)
     public void simpleScriptable() throws Exception {
         final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_
             + "<html><head>\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...