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

rbri
Revision: 13744
          http://sourceforge.net/p/htmlunit/code/13744
Author:   rbri
Date:     2017-03-15 20:04:35 +0000 (Wed, 15 Mar 2017)
Log Message:
-----------
tests succeed

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/DefaultPageCreator.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLDocumentTest.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgJavaScriptTest.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/DefaultPageCreator.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/DefaultPageCreator.java 2017-03-15 20:03:28 UTC (rev 13743)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/DefaultPageCreator.java 2017-03-15 20:04:35 UTC (rev 13744)
@@ -110,7 +110,7 @@
             case "text/html":
             case "image/svg+xml":
                 return PageType.HTML;
-                
+
             case "text/javascript":
             case "application/x-javascript":
             case "application/javascript":

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLDocumentTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLDocumentTest.java 2017-03-15 20:03:28 UTC (rev 13743)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLDocumentTest.java 2017-03-15 20:04:35 UTC (rev 13744)
@@ -1015,7 +1015,7 @@
     @Test
     @Alerts(DEFAULT = "[object HTMLDocument]",
             IE = "[object Document]")
-    @NotYetImplemented
+    @NotYetImplemented(IE)
     public void html() throws Exception {
         final String svg
             = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgJavaScriptTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgJavaScriptTest.java 2017-03-15 20:03:28 UTC (rev 13743)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgJavaScriptTest.java 2017-03-15 20:04:35 UTC (rev 13744)
@@ -50,7 +50,7 @@
             + "</svg>";
 
         final WebDriver driver = loadPage2(html, URL_FIRST, "image/svg+xml", TextUtil.DEFAULT_CHARSET);
-        WebElement rect = driver.findElement(By.id("rect"));
+        final WebElement rect = driver.findElement(By.id("rect"));
 
         assertEquals("blue", rect.getAttribute("fill"));
         rect.click();


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