Quantcast

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

rbri
Revision: 14132
          http://sourceforge.net/p/htmlunit/code/14132
Author:   rbri
Date:     2017-04-17 09:30:06 +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/host/dom/DocumentTypeTest.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 09:20:53 UTC (rev 14131)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java 2017-04-17 09:30:06 UTC (rev 14132)
@@ -151,7 +151,7 @@
     DIALOGWINDOW_REFERER,
 
     /** DOCTYPE has undefined value for 'prefix'. */
-    @BrowserFeature(@WebBrowser(CHROME))
+    @BrowserFeature({@WebBrowser(CHROME), @WebBrowser(value = FF, minVersion = 52)})
     DOCTYPE_PREFIX_UNDEFINED,
 
     /** IE removes all child text nodes, but FF preserves the first. */

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DocumentTypeTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DocumentTypeTest.java 2017-04-17 09:20:53 UTC (rev 14131)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DocumentTypeTest.java 2017-04-17 09:30:06 UTC (rev 14132)
@@ -39,9 +39,12 @@
     @Alerts(CHROME = {"[object DocumentType]", "true", "html,10,null,undefined,undefined,undefined",
                         "html,-//W3C//DTD XHTML 1.0 Strict//EN,http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd,"
                         + "undefined,undefined,undefined"},
-            FF = {"[object DocumentType]", "true", "html,10,null,null,null,null",
+            FF45 = {"[object DocumentType]", "true", "html,10,null,null,null,null",
                         "html,-//W3C//DTD XHTML 1.0 Strict//EN,http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd,"
                             + "undefined,undefined,undefined"},
+            FF52 = {"[object DocumentType]", "true", "html,10,null,undefined,undefined,undefined",
+                        "html,-//W3C//DTD XHTML 1.0 Strict//EN,http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd,"
+                            + "undefined,undefined,undefined"},
             IE = {"[object DocumentType]", "true", "html,10,null,null,null,null",
                         "html,-//W3C//DTD XHTML 1.0 Strict//EN,http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd,"
                         + "null,null,null"})
@@ -78,8 +81,10 @@
     @Test
     @Alerts(DEFAULT = {"[object DocumentType]", "greeting,10,null,undefined,undefined,undefined",
                     "greeting,MyIdentifier,hello.dtd,undefined,undefined,undefined"},
-            FF = {"[object DocumentType]", "greeting,10,null,null,null,null",
+            FF45 = {"[object DocumentType]", "greeting,10,null,null,null,null",
                     "greeting,MyIdentifier,hello.dtd,undefined,undefined,undefined"},
+            FF52 = {"[object DocumentType]", "greeting,10,null,undefined,undefined,undefined",
+                    "greeting,MyIdentifier,hello.dtd,undefined,undefined,undefined"},
             IE = {"[object DocumentType]", "greeting,10,null,null,null,null",
                     "greeting,MyIdentifier,hello.dtd,null,null,null"})
     public void doctype_xml() throws Exception {


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