[prev in list] [next in list] [prev in thread] [next in thread] 

List:       htmlunit-develop
Subject:    [HtmlUnit] SVN: [8710] trunk/htmlunit/src
From:       rbri () users ! sourceforge ! net
Date:       2013-10-28 12:21:46
Message-ID: E1ValpP-0006mz-0n () sfs-ml-4 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 8710
          http://sourceforge.net/p/htmlunit/code/8710
Author:   rbri
Date:     2013-10-28 12:21:42 +0000 (Mon, 28 Oct 2013)
Log Message:
-----------
add FF24 expectations

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLEmbedElement.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlFileInput2Test.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/ElementTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/KeyboardEventTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Location2Test.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Window2Test.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/XPathEvaluatorTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSPrimitiveValueTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSValueTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLCollectionTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFrameElement2Test.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLHtmlElementTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/svg/SVGAngleTest.java
  trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgMatrixTest.java

Added Paths:
-----------
    trunk/htmlunit/src/test/resources/libraries/MochiKit/1.4.1/test-Style.FF24.expected.txt


Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLEmbedElement.java
 ===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLEmbedElement.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLEmbedElement.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -14,8 +14,13 @@
  */
 package com.gargoylesoftware.htmlunit.javascript.host.html;
 
+import static com.gargoylesoftware.htmlunit.javascript.configuration.BrowserName.FF;
+
 import com.gargoylesoftware.htmlunit.html.HtmlEmbed;
 import com.gargoylesoftware.htmlunit.javascript.configuration.JsxClass;
+import com.gargoylesoftware.htmlunit.javascript.configuration.JsxGetter;
+import com.gargoylesoftware.htmlunit.javascript.configuration.JsxSetter;
+import com.gargoylesoftware.htmlunit.javascript.configuration.WebBrowser;
 
 /**
  * A JavaScript object for {@link HtmlEmbed}.
@@ -28,6 +33,60 @@
 public class HTMLEmbedElement extends HTMLElement {
 
     /**
+     * Returns the value of the "align" property.
+     * @return the value of the "align" property
+     */
+    @JsxGetter(@WebBrowser(value = FF, minVersion = 17))
+    public String getAlign() {
+        return getAlign(true);
+    }
+
+    /**
+     * Sets the value of the "align" property.
+     * @param align the value of the "align" property
+     */
+    @JsxSetter(@WebBrowser(value = FF, minVersion = 17))
+    public void setAlign(final String align) {
+        setAlign(align, false);
+    }
+
+    /**
+     * Returns the value of the "height" property.
+     * @return the value of the "height" property
+     */
+    @JsxGetter(propertyName = "height")
+    public String getHeightString() {
+        return getDomNodeOrDie().getAttribute("height");
+    }
+
+    /**
+     * Sets the value of the "height" property.
+     * @param height the value of the "height" property
+     */
+    @JsxSetter(propertyName = "height")
+    public void setHeightString(final String height) {
+        getDomNodeOrDie().setAttribute("height", height);
+    }
+
+    /**
+     * Returns the value of the "width" property.
+     * @return the value of the "width" property
+     */
+    @JsxGetter(propertyName = "width")
+    public String getWidthString() {
+        return getDomNodeOrDie().getAttribute("width");
+    }
+
+    /**
+     * Sets the value of the "width" property.
+     * @param width the value of the "width" property
+     */
+    @JsxSetter(propertyName = "width")
+    public void setWidthString(final String width) {
+        getDomNodeOrDie().setAttribute("width", width);
+    }
+
+    /**
      * {@inheritDoc}
      */
     @Override

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlFileInput2Test.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlFileInput2Test.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlFileInput2Test.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -33,6 +33,7 @@
 import org.apache.commons.fileupload.FileUploadBase;
 import org.apache.commons.fileupload.disk.DiskFileItemFactory;
 import org.apache.commons.fileupload.servlet.ServletFileUpload;
+import org.apache.commons.lang3.StringUtils;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.openqa.selenium.By;
@@ -234,17 +235,24 @@
         driver.findElement(By.name("myInput")).sendKeys(path);
         driver.findElement(By.id("mySubmit")).click();
 
+        String pageSource = driver.getPageSource();
+        // hack for selenium
+        int count = 0;
+        while (count < 100 && StringUtils.isEmpty(pageSource)) {
+            pageSource = driver.getPageSource();
+            count++;
+        }
+
         if (getBrowserVersion().isIE() && BrowserVersion.INTERNET_EXPLORER_10 != \
getBrowserVersion()) {  final Pattern pattern = Pattern
                 .compile("Content-Disposition: form-data; name=\"myInput\";"
                         + " filename=\".*test-classes[\\\\/]realm\\.properties\"");
-            final Matcher matcher = pattern.matcher(driver.getPageSource());
+            final Matcher matcher = pattern.matcher(pageSource);
             assertTrue(matcher.find());
             return;
         }
-
         // all other browsers
-        assertTrue(driver.getPageSource()
+        assertTrue(pageSource
                 .contains("Content-Disposition: form-data; name=\"myInput\"; \
filename=\"realm.properties\""));  }
 

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine2Test.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -173,6 +173,9 @@
     @Test
     @Alerts(FF = { "[object Window]", "[object Window]", "true",
                 "[object HTMLDocument]", "[object HTMLDocument]", "true", "function" \
}, +            FF24 = { "[object Window]", "[object Window]", "true",
+                    "function HTMLDocument() {\n    [native code]\n}",
+                    "function HTMLDocument() {\n    [native code]\n}", "true", \
                "function" },
             IE = { "undefined", "exception", "undefined", "exception", "function" },
             IE10 = { "[object Window]", "[object Window]", "true",
                 "[object Document]", "exception", "function" })

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/ElementTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/ElementTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/ElementTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -769,6 +769,12 @@
      */
     @Test
     @Alerts(DEFAULT = { "prototype found", "" },
+            FF24 = {    "prototype found",
+                    \
"ELEMENT_NODEATTRIBUTE_NODETEXT_NODECDATA_SECTION_NODEENTITY_REFERENCE_" +            \
+ "NODEENTITY_NODEPROCESSING_INSTRUCTION_NODECOMMENT_NODEDOCUMENT_NODEDOCUMENT_" +    \
+ "TYPE_NODEDOCUMENT_FRAGMENT_NODENOTATION_NODEDOCUMENT_POSITION_DISCONNECTEDDOCUMENT_"
 +                    + \
"POSITION_PRECEDINGDOCUMENT_POSITION_FOLLOWINGDOCUMENT_POSITION_" +                   \
+ "CONTAINSDOCUMENT_POSITION_CONTAINED_BYDOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" \
},  IE8 = "exception occured")
     public void enumeratedProperties() throws Exception {
         final String html

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/KeyboardEventTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/KeyboardEventTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/KeyboardEventTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -148,7 +148,21 @@
                     "keydown:13,0,13",
                     "keypress:13,0,13",
                     "keyup:13,0,13" },
-            IE = { "keydown:65,undefined,undefined",
+            FF24 = { "keydown:16,0,16",
+                    "keydown:65,0,65",
+                    "keypress:0,65,65",
+                    "keyup:65,0,65",
+                    "keyup:16,0,16",
+                    "keydown:65,0,65",
+                    "keypress:0,97,97",
+                    "keyup:65,0,65",
+                    "keydown:190,0,190",
+                    "keypress:0,46,46",
+                    "keyup:190,0,190",
+                    "keydown:13,0,13",
+                    "keypress:13,0,13",
+                    "keyup:13,0,13" },
+           IE = { "keydown:65,undefined,undefined",
                     "keypress:65,undefined,undefined",
                     "keyup:65,undefined,undefined",
                     "keydown:65,undefined,undefined",

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Location2Test.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Location2Test.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Location2Test.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -446,6 +446,8 @@
      * @throws Exception if the test fails
      */
     @Test
+    @Alerts(DEFAULT = {"", "foo3.html", "foo2.html" },
+            FF24 = {"", "foo2.html" })
     public void onlick_set_location() throws Exception {
         final String html =
             "<html><head></head>\n"
@@ -454,11 +456,10 @@
             + "</body></html>";
 
         getMockWebConnection().setDefaultResponse("");
-        final WebDriver driver = loadPageWithAlerts2(html);
+        final WebDriver driver = loadPage2(html);
         driver.findElement(By.tagName("a")).click();
 
-        final String[] expectedRequests = {"", "foo3.html", "foo2.html"};
-        assertEquals(expectedRequests, \
getMockWebConnection().getRequestedUrls(getDefaultUrl())); +        \
assertEquals(getExpectedAlerts(), \
getMockWebConnection().getRequestedUrls(getDefaultUrl()));  
         assertEquals(new URL(getDefaultUrl(), "foo2.html").toString(), \
driver.getCurrentUrl());  }

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Window2Test.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Window2Test.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/Window2Test.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -253,6 +253,7 @@
      */
     @Test
     @Alerts(DEFAULT = { "[object Node]", "[object Element]" },
+            FF24 = { "function Node() {\n    [native code]\n}", "function Element() \
{\n    [native code]\n}" },  IE8 = { "undefined", "undefined" })
     public void windowProperties() throws Exception {
         final String html = "<html><head><title>foo</title><script>\n"
@@ -560,6 +561,8 @@
     @Test
     @Alerts(FF = { "[object Window]", "[object Window] (true)", "exception", "null \
(true)", "null (false)",  "null (false)", "null (false)", "null (false)" },
+            FF24 = { "[object Window]", "[object Window] (true)", "1234 (true)", \
"null (true)", "undefined (true)", +                    "[object Window] (true)", \
                "[object Window] (true)", "[object Window] (true)" },
             IE = { "[object]", "[object] (true)", "1234 (true)", "null (true)", \
"undefined (true)", "[object] (true)",  "[object] (true)", "[object] (true)" },
             IE10 = { "[object Window]", "[object Window] (true)", "exception", "null \
(true)", "undefined (true)", @@ -646,6 +649,7 @@
      */
     @Test
     @Alerts(DEFAULT = { "605", "1256", "705", "1256" },
+            FF24 = { "657", "1264", "641", "1248" },
             IE10 = { "705", "1256", "688", "1239" })
     public void changeHeightsAndWidths() throws Exception {
         final String html
@@ -676,6 +680,7 @@
      */
     @Test
     @Alerts(FF = { "0,0", "100,200", "110,230", "0,0", "0,95", "0,0", "0,1210" },
+            FF24 = { "0,0", "100,200", "110,230", "0,0", "0,95", "0,0", "0,1206" },
             IE = { "0,0", "100,200", "110,230", "0,0", "no scrollByLines()", "0,0", \
"no scrollByPages()" })  public void scrolling1() throws Exception {
         scrolling(true);
@@ -781,6 +786,7 @@
      */
     @Test
     @Alerts(FF = { "0", "82", "23" },
+            FF24 = { "8", "91", "0" },
             IE = { "undefined", "undefined", "undefined" })
     public void mozInnerScreenX() throws Exception {
         final String html

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/XPathEvaluatorTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/XPathEvaluatorTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/XPathEvaluatorTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -65,7 +65,7 @@
      * @throws Exception if the test fails
      */
     @Test
-    @Alerts(DEFAULT = "Immortality", IE = { })
+    @Alerts(DEFAULT = { }, FF17 = "Immortality")
     public void namespacesWithNodeInArray() throws Exception {
         final String html = "<html><head><title>foo</title><script>\n"
             + "  var xml = "
@@ -96,7 +96,7 @@
      * @throws Exception if the test fails
      */
     @Test
-    @Alerts(DEFAULT = "Immortality", IE = { })
+    @Alerts(DEFAULT = { }, FF17 = "Immortality")
     public void namespacesWithCustomNSResolver() throws Exception {
         final String html = "<html><head><title>foo</title><script>\n"
             + "     function nsResolver(prefix) {"

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSPrimitiveValueTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSPrimitiveValueTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSPrimitiveValueTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -38,6 +38,8 @@
      */
     @Test
     @Alerts(FF = { "[object CSSPrimitiveValue]", \
"012345678910111213141516171819202122232425" }, +            FF24 = { "function \
CSSPrimitiveValue() {\n    [native code]\n}", +                    \
"012345678910111213141516171819202122232425" },  IE = { "exception" })
     public void test() throws Exception {
         final String html = "<html><head><title>First</title>\n"

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSValueTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSValueTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSValueTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -35,6 +35,7 @@
      */
     @Test
     @Alerts(FF = { "[object CSSValue]", "0123" },
+            FF24 = { "function CSSValue() {\n    [native code]\n}", "0123" },
             IE = { "exception" })
     public void test() throws Exception {
         final String html = "<html><head><title>First</title>\n"

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/css/ComputedCSSStyleDeclarationTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -15,6 +15,7 @@
 package com.gargoylesoftware.htmlunit.javascript.host.css;
 
 import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.FF;
+import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.FF24;
 import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.IE;
 import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.IE10;
 import static com.gargoylesoftware.htmlunit.BrowserRunner.Browser.IE8;
@@ -170,7 +171,7 @@
      * @throws Exception if the test fails
      */
     @Test
-    @Browsers(IE)
+    @Browsers({ IE, FF24 })
     @Alerts(IE = { "0", "number" },
             IE10 = { "auto", "string" })
     public void zIndex() throws Exception {
@@ -1027,6 +1028,7 @@
      */
     @Test
     @Alerts(FF = { "1256px", "auto" },
+            FF24 = { "1248px", "auto" },
             IE = { "auto", "auto" },
             IE10 = { "1240px", "auto" })
     public void computedWidthOfHiddenElements() throws Exception {

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLCollectionTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLCollectionTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLCollectionTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -105,6 +105,8 @@
      */
     @Test
     @Alerts(FF = { "string 0", "string item", "string iterator", "string length", \
"string namedItem" }, +            FF24 = { "string 0", "string item", "string \
iterator", "string length", +                        "string myForm", "string \
namedItem" },  IE = { "string length", "string myForm" },
             IE10 = { "string item", "string length", "string myForm", "string \
namedItem" })  @NotYetImplemented(FF17)
@@ -133,9 +135,11 @@
      */
     @Test
     @Alerts(FF = { "string 0", "string 1", "string 2", "string 3", "string 4", \
                "string 5",
-                "string item", "string length", "string namedItem" },
-            FF17 = { "string 0", "string 1", "string 2", "string 3", "string 4", \
                "string 5",
                 "string item", "string iterator", "string length", "string \
namedItem" }, +            FF24 = { "string 0", "string 1", "string 2", "string 3", \
"string 4", "string 5", +                "string action", "string first_submit", \
"string id1", "string input_disabled", +                "string item", "string \
iterator", "string length", "string namedItem", "string second_submit", +             \
                "string val1", "string val2" },
             IE = { "string 1", "string action", "string first_submit", "string \
length",  "string second_submit", "string val1", "string val2" },
             IE10 = { "string 1", "string action", "string first_submit", "string \
item",

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFrameElement2Test.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFrameElement2Test.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFrameElement2Test.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -134,6 +134,7 @@
      */
     @Test
     @Alerts(DEFAULT = { "function handler() {\n}", "null" },
+            FF24 = { "function handler() {}", "null" },
             IE10 = { "function handler() {}", "null" })
     public void testOnloadNull() throws Exception {
         final String html =

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLHtmlElementTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLHtmlElementTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/html/HTMLHtmlElementTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -63,6 +63,7 @@
      */
     @Test
     @Alerts(DEFAULT = { "[object HTMLHtmlElement]", "[object HTMLHtmlElement]" },
+            FF24 = { "[object HTMLHtmlElement]", "function HTMLHtmlElement() {\n    \
[native code]\n}" },  IE8 = { "[object]", "exception" })
     public void HTMLHtmlElement_toString() throws Exception {
         final String html = "<html id='myId'><head><title>foo</title><script>\n"

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/svg/SVGAngleTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/svg/SVGAngleTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/svg/SVGAngleTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -36,6 +36,7 @@
      */
     @Test
     @Alerts(DEFAULT = { "[object SVGAngle]", "0", "1", "2", "3", "4" },
+            FF24 = { "function SVGAngle() {\n    [native code]\n}", "0", "1", "2", \
"3", "4" },  IE8 = "undefined")
     public void simpleScriptable() throws Exception {
         final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgMatrixTest.java
 ===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgMatrixTest.java	2013-10-28 \
                11:13:30 UTC (rev 8709)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/svg/SvgMatrixTest.java	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -37,6 +37,7 @@
      */
     @Test
     @Alerts(DEFAULT = "[object SVGMatrix]",
+            FF24 = "function SVGMatrix() {\n    [native code]\n}",
             IE = "undefined")
     public void simpleScriptable() throws Exception {
         final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_

Added: trunk/htmlunit/src/test/resources/libraries/MochiKit/1.4.1/test-Style.FF24.expected.txt
 ===================================================================
--- trunk/htmlunit/src/test/resources/libraries/MochiKit/1.4.1/test-Style.FF24.expected.txt	 \
                (rev 0)
+++ trunk/htmlunit/src/test/resources/libraries/MochiKit/1.4.1/test-Style.FF24.expected.txt	2013-10-28 \
12:21:42 UTC (rev 8710) @@ -0,0 +1,61 @@
+Passed: 59
+Failed: 6
+ok - initial x position
+ok - initial y position
+ok - x position with offsetParent border
+ok - y position with offsetParent border
+ok - updated x position
+ok - updated y position
+ok - updated x position (using relativeTo parameter)
+ok - updated y position (using relativeTo parameter)
+ok - passthrough x position
+ok - passthrough y position
+ok - passthrough x position (using relativeTo parameter)
+ok - passthrough y position (using relativeTo parameter)
+ok - invalid element should return an undefined position
+ok - updated only x position
+ok - not updated y position
+ok - test getStyle selector case
+ok - test getStyle camel case
+ok - test computed getStyle selector case
+ok - test computed getStyle camel case
+ok - test getStyle opacity
+ok - test getOpacity
+ok - test setOpacity
+ok - test setOpacity
+ok - test setOpacity
+ok - getStyle of float
+ok - getStyle of cssFloat
+ok - getStyle of styleFloat
+ok - getStyle of float when unset
+ok - setStyle of CSS float
+ok - setStyle of CSS cssFloat
+ok - setStyle of CSS styleFloat
+ok - getElementDimensions w ok
+ok - getElementDimensions h ok
+ok - getElementDimensions content w ok
+ok - getElementDimensions content h ok
+ok - setElementDimensions w ok
+ok - setElementDimensions h ok
+ok - setElementDimensions only w ok
+ok - setElementDimensions h not updated ok
+ok - getElementDimensions w ok when display none
+ok - getElementDimensions h ok when display none
+ok - getElementDimensions w ok when CSS display none
+ok - getElementDimensions h ok when CSS display none
+ok - getElementDimensions modified element display
+ok - test getViewportDimensions w
+ok - test getViewportDimensions h
+ok - test getViewportPosition x
+ok - test getViewportPosition y
+ok - default left table cell content w ok
+ok - default middle table cell content w ok
+ok - default right table cell content w ok
+ok - collapsed left table cell content w ok
+ok - collapsed middle table cell content w ok
+ok - collapsed right table cell content w ok
+ok - make clipping on overflow-x
+ok - make clipping on overflow-y
+ok - undo clipping on overflow-x
+ok - undo clipping on overflow-y
+ok - test suite finished!
\ No newline at end of file


Property changes on: \
trunk/htmlunit/src/test/resources/libraries/MochiKit/1.4.1/test-Style.FF24.expected.txt
 ___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic